Rebornbuddy
|
Json settings class that allows easy instantiation. More...
Public Member Functions | |
JsonSettings () | |
JsonSettings (string settingsFilePath) | |
Public Member Functions inherited from ff14bot.Helpers.JsonSettings | |
void | Save () |
void | SaveAs (string file) |
Properties | |
static T | Instance [get, set] |
Properties inherited from ff14bot.Helpers.JsonSettings | |
virtual Version | _revision [get] |
Override this field when you change the default values for a setting and use the UpdateDefaultValueAttribute attribute to updatethem. | |
static string | AssemblyPath [get] |
static string | SettingsPath [get] |
static string | ItemWeightsDirectory [get] |
Version | Version [get, set] |
string | FilePath [get, set] |
static string | CharacterSettingsDirectory [get] |
Additional Inherited Members | |
Static Public Member Functions inherited from ff14bot.Helpers.JsonSettings | |
static string | GetSettingsFilePath (params string[] subPathParts) |
Protected Member Functions inherited from ff14bot.Helpers.JsonSettings | |
JsonSettings (string path) | |
void | LoadFrom (string file) |
void | OnPropertyChanged ([CallerMemberName] string? propertyName=null) |
bool | SetField< T > (ref T field, T value, [CallerMemberName] string? propertyName=null) |
Call this function when updating an internal property to automatically raise the PropertyChanged event handler. | |
Events inherited from ff14bot.Helpers.JsonSettings | |
EventHandler? | Reloaded |
PropertyChangedEventHandler? | PropertyChanged |
Json settings class that allows easy instantiation.
T |
T | : | JsonSettings<T> | |
T | : | new() |
ff14bot.Helpers.JsonSettings< T >.JsonSettings | ( | ) |
ff14bot.Helpers.JsonSettings< T >.JsonSettings | ( | string | settingsFilePath | ) |
|
staticgetset |