Skip to content

Commit 4c858b9

Browse files
Update Settings.cs
1 parent 4cacf4b commit 4c858b9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/HyperMC/Data/Settings.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11

22
using System;
33
using System.IO;
4+
using System.Text.Json;
5+
using System.Text.Json.Serialization;
46

57
namespace HyperMcSettings
68
{
79
public class manager
810
{
11+
912
string path = $"{Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)}\\.hypermc\\settings";
1013

1114
public void createSettingsFolder(string SettingType)
@@ -32,7 +35,16 @@ void writeSettingFile()
3235
File.Create($"{path}\\{settingFolder}\\{settingName}.json");
3336
}
3437
}
38+
39+
void writeSetting()
40+
{
41+
42+
}
43+
44+
3545
checkIfExists();
46+
writeSettingFile();
47+
3648

3749

3850

0 commit comments

Comments
 (0)