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

◆ FromStart()

static Index System.Index.FromStart ( int value)
inlinestatic

Definition at line 51 of file Index.cs.

52 {
53 if (value < 0)
54 {
55 ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException();
56 }
57 return new Index(value);
58 }
Index(int value, bool fromEnd=false)
Definition Index.cs:29

References System.Index.Index(), System.ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException(), and System.value.

Referenced by System.Index.operator Index().