Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SwitchSetting

int System.Diagnostics.Switch.SwitchSetting
getsetprotectedinherited

Definition at line 72 of file Switch.cs.

73 {
74 get
75 {
77 {
79 }
80 return _switchSetting;
81 }
82 set
83 {
84 bool flag = false;
86 {
87 _initialized = true;
88 if (_switchSetting != value)
89 {
91 flag = true;
92 }
93 }
94 if (flag)
95 {
97 }
98 }
99 }
virtual void OnSwitchSettingChanged()
Definition Switch.cs:193
volatile bool _initialized
Definition Switch.cs:16

Referenced by System.Diagnostics.Switch.OnValueChanged().