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

◆ Match() [1/2]

bool System.__DTString.Match ( char ch)
inlinepackage

Definition at line 264 of file __DTString.cs.

265 {
266 if (++Index >= Length)
267 {
268 return false;
269 }
270 if (Value[Index] == ch)
271 {
272 m_current = ch;
273 return true;
274 }
275 Index--;
276 return false;
277 }
ReadOnlySpan< char > Value
Definition __DTString.cs:8

References System.ch, System.__DTString.Length, System.__DTString.m_current, and System.__DTString.Value.