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

◆ GetContentChild() [1/2]

static bool MS.Internal.Xml.Cache.XPathNodeHelper.GetContentChild ( ref XPathNode[] pageNode,
ref int idxNode )
inlinestatic

Definition at line 59 of file XPathNodeHelper.cs.

60 {
61 XPathNode[] pageNode2 = pageNode;
62 int idxNode2 = idxNode;
63 if (pageNode2[idxNode2].HasContentChild)
64 {
65 GetChild(ref pageNode2, ref idxNode2);
66 while (pageNode2[idxNode2].NodeType == XPathNodeType.Attribute)
67 {
68 idxNode2 = pageNode2[idxNode2].GetSibling(out pageNode2);
69 }
70 pageNode = pageNode2;
71 idxNode = idxNode2;
72 return true;
73 }
74 return false;
75 }
static void GetChild(ref XPathNode[] pageNode, ref int idxNode)

References MS.Internal.Xml.Cache.XPathNodeHelper.GetChild().

Referenced by MS.Internal.Xml.Cache.XPathDocumentNavigator.MoveToChild(), and MS.Internal.Xml.Cache.XPathDocumentNavigator.MoveToFirstChild().