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

◆ BoundaryCheck()

bool System.Data.AutoIncrementInt64.BoundaryCheck ( BigInteger value)
inlineprivate

Definition at line 87 of file AutoIncrementInt64.cs.

88 {
89 if (_step >= 0 || !(value <= _current))
90 {
91 if (0 < _step)
92 {
93 return _current <= value;
94 }
95 return false;
96 }
97 return true;
98 }

References System.Data.AutoIncrementInt64._current, System.Data.AutoIncrementInt64._step, and System.value.

Referenced by System.Data.AutoIncrementInt64.SetCurrentAndIncrement().