Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
UniqueId
override
string
MS.Internal.Xml.Cache.XPathDocumentNavigator.UniqueId
get
package
Definition at line
115
of file
XPathDocumentNavigator.cs
.
116
{
117
get
118
{
119
char
[]
array
=
new
char
[16];
120
int
length
= 0;
121
array
[
length
++] =
XPathNavigator
.
NodeTypeLetter
[(int)
_pageCurrent
[
_idxCurrent
].
NodeType
];
122
int
num;
123
if
(
_idxParent
!= 0)
124
{
125
num = (
_pageParent
[0].
PageInfo
.
PageNumber
- 1 << 16) | (
_idxParent
- 1);
126
do
127
{
128
array
[
length
++] =
XPathNavigator
.
UniqueIdTbl
[num & 0x1F];
129
num >>= 5;
130
}
131
while
(num != 0);
132
array
[
length
++] =
'0'
;
133
}
134
num = (
_pageCurrent
[0].
PageInfo
.
PageNumber
- 1 << 16) | (
_idxCurrent
- 1);
135
do
136
{
137
array
[
length
++] =
XPathNavigator
.
UniqueIdTbl
[num & 0x1F];
138
num >>= 5;
139
}
140
while
(num != 0);
141
return
new
string
(array, 0, length);
142
}
143
}
MS.Internal.Xml.Cache.XPathDocumentNavigator.NodeType
override XPathNodeType NodeType
Definition
XPathDocumentNavigator.cs:67
MS.Internal.Xml.Cache.XPathDocumentNavigator._idxCurrent
int _idxCurrent
Definition
XPathDocumentNavigator.cs:14
MS.Internal.Xml.Cache.XPathDocumentNavigator._pageParent
XPathNode[] _pageParent
Definition
XPathDocumentNavigator.cs:12
MS.Internal.Xml.Cache.XPathDocumentNavigator._pageCurrent
XPathNode[] _pageCurrent
Definition
XPathDocumentNavigator.cs:10
MS.Internal.Xml.Cache.XPathDocumentNavigator._idxParent
int _idxParent
Definition
XPathDocumentNavigator.cs:16
MS.Internal.Xml.Cache.XPathNodePageInfo.PageNumber
int PageNumber
Definition
XPathNodePageInfo.cs:13
System.Xml.XPath.XPathNavigator.NodeTypeLetter
static readonly char[] NodeTypeLetter
Definition
XPathNavigator.cs:92
System.Xml.XPath.XPathNavigator.UniqueIdTbl
static readonly char[] UniqueIdTbl
Definition
XPathNavigator.cs:94
System.Xml.XPath.XPathNavigator
Definition
XPathNavigator.cs:15
string
System.ExceptionArgument.length
@ length
System.ExceptionArgument.array
@ array
MS.Internal.Xml.Cache.XPathNode.PageInfo
XPathNodePageInfo PageInfo
Definition
XPathNode.cs:51
MS
Internal
Xml
Cache
XPathDocumentNavigator
Generated by
1.10.0