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

◆ MoveToStartElement()

bool System.Xml.Schema.ActiveAxis.MoveToStartElement ( string localname,
string URN )
inlineinherited

Definition at line 36 of file ActiveAxis.cs.

37 {
38 if (!_isActive)
39 {
40 return false;
41 }
43 bool result = false;
44 for (int i = 0; i < _axisStack.Count; i++)
45 {
46 AxisStack axisStack = (AxisStack)_axisStack[i];
47 if (axisStack.Subtree.IsSelfAxis)
48 {
49 if (axisStack.Subtree.IsDss || CurrentDepth == 0)
50 {
51 result = true;
52 }
53 }
54 else if (CurrentDepth != 0 && axisStack.MoveToChild(localname, URN, _currentDepth))
55 {
56 result = true;
57 }
58 }
59 return result;
60 }
readonly ArrayList _axisStack
Definition ActiveAxis.cs:13

References System.Xml.Schema.ActiveAxis._axisStack, System.Xml.Schema.ActiveAxis._currentDepth, System.Xml.Schema.ActiveAxis._isActive, System.Collections.ArrayList.Count, System.Xml.Schema.ActiveAxis.CurrentDepth, and System.Xml.Dictionary.