cleanup |
m add types |
||
Line 3: | Line 3: | ||
RefIDs use their final byte to represent the allocation id of a user who allocated the world element, and the remaining bytes are used to represent which world element it's pointing to. | RefIDs use their final byte to represent the allocation id of a user who allocated the world element, and the remaining bytes are used to represent which world element it's pointing to. | ||
[[Category:Type]] | |||
[[Category:Value Types]] | [[Category:Value Types]] |
Latest revision as of 02:36, 10 December 2024
The RefID type is a wrapper around a ulong value which represents a pointer to a world element. Every IWorldElement stores a unique RefID as its ReferenceID
field. It is primarily an internal engine type and is not meant to be used directly.
RefIDs use their final byte to represent the allocation id of a user who allocated the world element, and the remaining bytes are used to represent which world element it's pointing to.