Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Diagnostics.Switch Class Referenceabstract

Protected Member Functions

 Switch (string displayName, string? description)
 
 Switch (string displayName, string? description, string defaultSwitchValue)
 
virtual void OnSwitchSettingChanged ()
 
virtual void OnValueChanged ()
 

Package Functions

virtual ? string[] GetSupportedAttributes ()
 
void Refresh ()
 

Static Package Functions

static void RefreshAll ()
 

Properties

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
 

Detailed Description

Definition at line 8 of file Switch.cs.


The documentation for this class was generated from the following file: