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

◆ ToInt()

static int Terraria.Utils.ToInt ( this bool value)
inlinestatic

Definition at line 1425 of file Utils.cs.

1426 {
1427 if (!value)
1428 {
1429 return 0;
1430 }
1431 return 1;
1432 }

References System.value.

Referenced by Terraria.GameContent.UI.States.UIBestiaryTest.BuildPage().