diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-04 16:18:47 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-04 17:29:43 +0800 |
| commit | d112090fde200c545a70ec5dc33fe91cca0f26ec (patch) | |
| tree | 9adf5fea35a3e1bccb40d94638fdf63f45baedd5 /Minecraft.Client/Settings.h | |
| parent | 8ecfc525471720012f36a0016d88a4f0f4cfaa1d (diff) | |
feat: headless server
Diffstat (limited to 'Minecraft.Client/Settings.h')
| -rw-r--r-- | Minecraft.Client/Settings.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.Client/Settings.h b/Minecraft.Client/Settings.h index b6a2c018..4a3c130b 100644 --- a/Minecraft.Client/Settings.h +++ b/Minecraft.Client/Settings.h @@ -7,8 +7,8 @@ class Settings // public static Logger logger = Logger.getLogger("Minecraft"); // private Properties properties = new Properties(); private: - unordered_map<wstring,wstring> properties; // 4J - TODO was Properties type, will need to implement something we can serialise/deserialise too - //File *file; + unordered_map<wstring,wstring> properties; + wstring filePath; public: Settings(File *file); @@ -18,4 +18,4 @@ public: int getInt(const wstring& key, int defaultValue); bool getBoolean(const wstring& key, bool defaultValue); void setBooleanAndSave(const wstring& key, bool value); -}; +};
\ No newline at end of file |
