LunaTTvBot / LunaBot

0 stars 1 forks source link

SettingsManager #58

Closed iPaat closed 8 years ago

iPaat commented 8 years ago

Created a SettingsManager where u could get settings from and save settings to.

Use:

SettingsManager.GetSettings<TYPE>();

to get your settings from type TYPE. With:

SettingsManager.SetSettings(yourSettings);

you're able to save them back.

Settings will now be saved in "AppData/Local/iBot/".

closes #53

P.S.: For development u maybe need to enter your data. This can be made by starting the debugmode once. After that go to:

C:\Users\YOUR_USER\AppData\Local\iBot\

And edit ConnectionSettings.

iPaat commented 8 years ago

I'll do that asap.