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

◆ GetList()

object[] System.Xml.XmlBufferReader.GetList ( int offset,
int count )
inline

Definition at line 1125 of file XmlBufferReader.cs.

1126 {
1127 int offset2 = Offset;
1128 Offset = offset;
1129 try
1130 {
1131 object[] array = new object[count];
1132 for (int i = 0; i < count; i++)
1133 {
1134 XmlBinaryNodeType nodeType = GetNodeType();
1135 SkipNodeType();
1136 ReadValue(nodeType, _listValue);
1138 }
1139 return array;
1140 }
1141 finally
1142 {
1143 Offset = offset2;
1144 }
1145 }
XmlBinaryNodeType GetNodeType()
void ReadValue(XmlBinaryNodeType nodeType, ValueHandle value)

References System.Xml.XmlBufferReader._listValue, System.array, System.count, System.Xml.Dictionary, System.Xml.XmlBufferReader.GetNodeType(), System.offset, System.Xml.XmlBufferReader.Offset, System.Xml.XmlBufferReader.ReadValue(), System.Xml.XmlBufferReader.SkipNodeType(), and System.Xml.ValueHandle.ToObject().

Referenced by System.Xml.ValueHandle.ToList().