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

◆ GetCachedSwitchValue() [4/4]

static bool System.LocalAppContextSwitches.GetCachedSwitchValue ( string switchName,
ref int cachedSwitchValue )
inlinestaticpackage

Definition at line 19 of file LocalAppContextSwitches.cs.

20 {
21 if (cachedSwitchValue < 0)
22 {
23 return false;
24 }
25 if (cachedSwitchValue > 0)
26 {
27 return true;
28 }
29 return GetCachedSwitchValueInternal(switchName, ref cachedSwitchValue);
30 }
static bool GetCachedSwitchValueInternal(string switchName, ref int cachedSwitchValue)

References System.LocalAppContextSwitches.GetCachedSwitchValueInternal().