Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ContentIterator.cs
Go to the documentation of this file.
3
5
7public struct ContentIterator
8{
10
11 private bool _needFirst;
12
14
15 public void Create(XPathNavigator context)
16 {
18 _needFirst = true;
19 }
20
21 public bool MoveNext()
22 {
23 if (_needFirst)
24 {
26 return !_needFirst;
27 }
28 return _navCurrent.MoveToNext();
29 }
30}
static XPathNavigator SyncToNavigator(XPathNavigator navigatorThis, XPathNavigator navigatorThat)
void Create(XPathNavigator context)