feat: Add SQLite database support with MySQL compatibility

This commit is contained in:
Eduardo Leonardo Rosa da Silva
2025-10-20 12:55:20 -03:00
parent 10a4691429
commit 76bcb5bb85
10 changed files with 503 additions and 176 deletions

View File

@@ -91,6 +91,12 @@ namespace WeaponPaints
[JsonPropertyName("DatabaseName")]
public string DatabaseName { get; set; } = "";
[JsonPropertyName("DatabaseType")]
public string DatabaseType { get; set; } = "mysql";
[JsonPropertyName("DatabasePath")]
public string DatabasePath { get; set; } = "weaponpaints.db";
[JsonPropertyName("CmdRefreshCooldownSeconds")]
public int CmdRefreshCooldownSeconds { get; set; } = 3;