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

◆ Enabled

bool System.Diagnostics.BooleanSwitch.Enabled
getset

Definition at line 6 of file BooleanSwitch.cs.

7 {
8 get
9 {
10 if (base.SwitchSetting != 0)
11 {
12 return true;
13 }
14 return false;
15 }
16 set
17 {
18 base.SwitchSetting = (value ? 1 : 0);
19 }
20 }