Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Type:RefID: Difference between revisions

From Resonite Wiki
Yosh (talk | contribs)
m add types
Yosh (talk | contribs)
m cat
Line 4: Line 4:


[[Category:Type]]
[[Category:Type]]
[[Category:Value Types]]
[[Category:Value types]]

Revision as of 17:31, 18 April 2025

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.