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

◆ MoveToFirstChild()

bool System.Xml.DataPointer.MoveToFirstChild ( )
inlinepackage

Definition at line 429 of file DataPointer.cs.

430 {
431 RealFoliate();
432 if (_node == null)
433 {
434 return false;
435 }
436 if (_column != null)
437 {
438 if (_fOnValue)
439 {
440 return false;
441 }
442 _fOnValue = true;
443 return true;
444 }
445 if (!IsFoliated(_node))
446 {
448 if (dataColumn != null)
449 {
451 return true;
452 }
453 }
454 XmlNode xmlNode = _doc.SafeFirstChild(_node);
455 if (xmlNode != null)
456 {
458 return true;
459 }
460 return false;
461 }
void MoveTo(DataPointer pointer)
static bool IsFoliated(XmlNode node)
XmlDataDocument _doc
Definition DataPointer.cs:8
DataColumn NextColumn(DataRow row, DataColumn col, bool fAttribute, bool fNulls)
XmlNode SafeFirstChild(XmlNode n)
bool IsTextOnly(DataColumn c)

References System.Xml.DataPointer._column, System.Xml.DataPointer._doc, System.Xml.DataPointer._fOnValue, System.Xml.DataPointer._node, System.Xml.Dictionary, System.Xml.DataPointer.IsFoliated(), System.Xml.XmlDataDocument.IsTextOnly(), System.Xml.DataPointer.MoveTo(), System.Xml.DataPointer.NextColumn(), System.Xml.DataPointer.RealFoliate(), System.Xml.DataPointer.Row, and System.Xml.XmlDataDocument.SafeFirstChild().