Rebornbuddy
|
Main settings class for rebornbuddy. Inherit this if you want to make your own settings class. More...
Public Member Functions | |
void | Save () |
void | SaveAs (string file) |
Static Public Member Functions | |
static string | GetSettingsFilePath (params string[] subPathParts) |
Protected Member Functions | |
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. |
Properties | |
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] |
Events | |
EventHandler? | Reloaded |
PropertyChangedEventHandler? | PropertyChanged |
Main settings class for rebornbuddy. Inherit this if you want to make your own settings class.
|
protected |
|
static |
|
protected |
|
protected |
void ff14bot.Helpers.JsonSettings.Save | ( | ) |
void ff14bot.Helpers.JsonSettings.SaveAs | ( | string | file | ) |
|
protected |
Call this function when updating an internal property to automatically raise the PropertyChanged event handler.
T |
field | |
value | |
propertyName |
|
getprotected |
Override this field when you change the default values for a setting and use the UpdateDefaultValueAttribute attribute to updatethem.
|
staticget |
|
staticget |
|
getset |
|
staticget |
|
staticget |
|
getset |
PropertyChangedEventHandler? ff14bot.Helpers.JsonSettings.PropertyChanged |
EventHandler? ff14bot.Helpers.JsonSettings.Reloaded |