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

◆ PromoteNonValueChildren()

void System.Xml.XmlDataDocument.PromoteNonValueChildren ( XmlNode parent)
inlineprivate

Definition at line 1843 of file XmlDataDocument.cs.

1844 {
1845 XmlNode prevSibling = parent;
1846 XmlNode xmlNode = parent.FirstChild;
1847 bool flag = true;
1848 XmlNode xmlNode2 = null;
1849 while (xmlNode != null)
1850 {
1851 xmlNode2 = xmlNode.NextSibling;
1852 if (!flag || !IsTextLikeNode(xmlNode))
1853 {
1854 flag = false;
1855 xmlNode2 = xmlNode.NextSibling;
1858 }
1859 xmlNode = xmlNode2;
1860 }
1861 }
static bool IsTextLikeNode(XmlNode n)
void PromoteChild(XmlNode child, XmlNode prevSibling)

References System.Xml.Dictionary, System.Xml.XmlNode.FirstChild, System.Xml.XmlDataDocument.IsTextLikeNode(), and System.Xml.XmlDataDocument.PromoteChild().

Referenced by System.Xml.XmlDataDocument.OnColumnValueChanged().