Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlSchemaEnumerator.cs
Go to the documentation of this file.
4
6
8{
9 private readonly XmlSchemas _list;
10
11 private int _idx;
12
13 private readonly int _end;
14
16
18
20 {
21 _list = list;
22 _idx = -1;
23 _end = list.Count - 1;
24 }
25
26 public void Dispose()
27 {
28 }
29
30 public bool MoveNext()
31 {
32 if (_idx >= _end)
33 {
34 return false;
35 }
36 _idx++;
37 return true;
38 }
39
41 {
42 _idx = -1;
43 }
44}