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

◆ operator EntityHandle()

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

Definition at line 39 of file EntityHandle.cs.

40 {
41 if (handle.IsHeapHandle)
42 {
43 Throw.InvalidCast();
44 }
45 return new EntityHandle(handle.EntityHandleValue);
46 }

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