|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| BooleanSwitch (string displayName, string? description) | |
| BooleanSwitch (string displayName, string? description, string defaultSwitchValue) | |
Protected Member Functions | |
| override void | OnValueChanged () |
| virtual void | OnSwitchSettingChanged () |
Package Functions | |
| virtual ? string[] | GetSupportedAttributes () |
| void | Refresh () |
Static Package Functions | |
| static void | RefreshAll () |
Properties | |
| bool | Enabled [get, set] |
| object | InitializedLock [get] |
| string | DisplayName [get] |
| string | Description [get] |
| StringDictionary | Attributes [get] |
| int | SwitchSetting [get, set] |
| string | Value [get, set] |
Private Member Functions | |
| void | Initialize () |
| bool | InitializeWithStatus () |
Static Private Member Functions | |
| static void | _pruneCachedSwitches () |
Private Attributes | |
| readonly string | _description |
| readonly string | _displayName |
| int | _switchSetting |
| volatile bool | _initialized |
| bool | _initializing |
| volatile string | _switchValueString = string.Empty |
| readonly string | _defaultValue |
| object | _initializedLock |
| StringDictionary | _attributes |
Static Private Attributes | |
| static readonly List< WeakReference< Switch > > | s_switches = new List<WeakReference<Switch>>() |
| static int | s_LastCollectionCount |
Definition at line 4 of file BooleanSwitch.cs.