mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Add a new field
This commit is contained in:
@@ -10,6 +10,8 @@ public class ServerPrefsData : BaseDatabaseDataHelper
|
||||
[SugarColumn(IsJson = true)]
|
||||
public Dictionary<int, ServerPrefsInfo> ServerPrefsDict { get; set; } = [];
|
||||
|
||||
public double Version { get; set; } = 2.4;
|
||||
|
||||
public void SetData(int prefsId, string b64Data)
|
||||
{
|
||||
ServerPrefsDict[prefsId] = new ServerPrefsInfo()
|
||||
|
||||
Reference in New Issue
Block a user