Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IdIterator.cs
Go to the documentation of this file.
3
5
7public struct IdIterator
8{
10
11 private string[] _idrefs;
12
13 private int _idx;
14
16
17 public void Create(XPathNavigator context, string value)
18 {
21 _idx = -1;
22 }
23
24 public bool MoveNext()
25 {
26 do
27 {
28 _idx++;
29 if (_idx >= _idrefs.Length)
30 {
31 return false;
32 }
33 }
35 return true;
36 }
37}
static string[] SplitString(string value)
static XPathNavigator SyncToNavigator(XPathNavigator navigatorThis, XPathNavigator navigatorThat)
void Create(XPathNavigator context, string value)
Definition IdIterator.cs:17