Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
StringHandle (XmlBufferReader bufferReader) | |
void | SetValue (int offset, int length) |
void | SetConstantValue (StringHandleConstStringType constStringType) |
void | SetValue (int offset, int length, bool escaped) |
void | SetValue (int key) |
void | SetValue (StringHandle value) |
void | ToPrefixHandle (PrefixHandle prefix) |
string | GetString (XmlNameTable nameTable) |
string | GetString () |
byte[] | GetString (out int offset, out int length) |
bool | TryGetDictionaryString ([NotNullWhen(true)] out XmlDictionaryString value) |
override string | ToString () |
bool | Equals ([NotNullWhen(true)] StringHandle other) |
int | CompareTo (StringHandle that) |
override bool | Equals ([NotNullWhen(true)] object obj) |
override int | GetHashCode () |
bool | Equals (T? other) |
Static Public Member Functions | |
static bool | operator== (StringHandle s1, XmlDictionaryString xmlString2) |
static bool | operator!= (StringHandle s1, XmlDictionaryString xmlString2) |
static bool | operator== (StringHandle s1, string s2) |
static bool | operator!= (StringHandle s1, string s2) |
static bool | operator== (StringHandle s1, StringHandle s2) |
static bool | operator!= (StringHandle s1, StringHandle s2) |
Properties | |
bool | IsEmpty [get] |
bool | IsXmlns [get] |
Private Types | |
enum | StringHandleType { Dictionary , UTF8 , EscapedUTF8 , ConstString } |
Private Member Functions | |
bool | Equals2 (int key2, XmlBufferReader bufferReader2) |
bool | Equals2 (XmlDictionaryString xmlString2) |
bool | Equals2 (string s2) |
bool | Equals2 (int offset2, int length2, XmlBufferReader bufferReader2) |
Private Attributes | |
readonly XmlBufferReader | _bufferReader |
StringHandleType | _type |
int | _key |
int | _offset |
int | _length |
Static Private Attributes | |
static readonly string[] | s_constStrings = new string[3] { "type", "root", "item" } |
Definition at line 5 of file StringHandle.cs.