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

◆ Depth

override int System.Xml.Linq.XNodeReader.Depth
get

Definition at line 65 of file XNodeReader.cs.

66 {
67 get
68 {
69 if (!IsInteractive)
70 {
71 return 0;
72 }
73 if (_source is XObject o)
74 {
75 return GetDepth(o);
76 }
77 if (_parent is XObject o2)
78 {
79 return GetDepth(o2) + 1;
80 }
81 return 0;
82 }
83 }
static int GetDepth(XObject o)