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

◆ operator StringHandle()

static System.Reflection.Metadata.StringHandle.operator StringHandle ( Handle handle)
inlineexplicitstatic

Definition at line 133 of file StringHandle.cs.

134 {
135 if ((handle.VType & -132) != 120)
136 {
137 Throw.InvalidCast();
138 }
139 return new StringHandle((uint)(((handle.VType & 0x80) << 24) | ((handle.VType & 3) << 29) | handle.Offset));
140 }

References System.Reflection.Metadata.StringHandle.StringHandle(), System.handle, and System.Reflection.Throw.InvalidCast().