Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
UniqueId
virtual
string
System.Xml.XPath.XPathNavigator.UniqueId
get
package
inherited
Definition at line
595
of file
XPathNavigator.cs
.
596
{
597
get
598
{
599
XPathNavigator
xPathNavigator
=
Clone
();
600
StringBuilder
stringBuilder
=
new
StringBuilder
();
601
stringBuilder
.Append(
NodeTypeLetter
[(
int
)
NodeType
]);
602
while
(
true
)
603
{
604
uint num =
xPathNavigator
.IndexInParent;
605
if
(!
xPathNavigator
.MoveToParent())
606
{
607
break
;
608
}
609
if
(num <= 31)
610
{
611
stringBuilder
.Append(
UniqueIdTbl
[num]);
612
continue
;
613
}
614
stringBuilder
.Append(
'0'
);
615
do
616
{
617
stringBuilder
.Append(
UniqueIdTbl
[num & 0
x1F
]);
618
num >>= 5;
619
}
620
while
(num != 0);
621
stringBuilder
.Append(
'0'
);
622
}
623
return
stringBuilder
.ToString();
624
}
625
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Text.StringBuilder
Definition
StringBuilder.cs:14
System.Xml.XPath.XPathNavigator.NodeTypeLetter
static readonly char[] NodeTypeLetter
Definition
XPathNavigator.cs:92
System.Xml.XPath.XPathNavigator.NodeType
XPathNodeType NodeType
Definition
XPathNavigator.cs:388
System.Xml.XPath.XPathNavigator.UniqueIdTbl
static readonly char[] UniqueIdTbl
Definition
XPathNavigator.cs:94
System.Xml.XPath.XPathNavigator.Clone
object ICloneable. Clone()
Definition
XPathNavigator.cs:705
System
Xml
Xsl
Runtime
RtfTreeNavigator
Generated by
1.10.0