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

◆ IsBetween()

bool System.TimeOnly.IsBetween ( TimeOnly start,
TimeOnly end )
inline

Definition at line 112 of file TimeOnly.cs.

113 {
114 long ticks = start._ticks;
115 long ticks2 = end._ticks;
116 if (ticks > ticks2)
117 {
118 if (ticks > _ticks)
119 {
120 return ticks2 > _ticks;
121 }
122 return true;
123 }
124 if (ticks <= _ticks)
125 {
126 return ticks2 > _ticks;
127 }
128 return false;
129 }
readonly long _ticks
Definition TimeOnly.cs:9

References System.TimeOnly._ticks, and System.start.