Type:RefID: Difference between revisions

From Resonite Wiki
Created page with "RefID is a wrapper type around a ulong value which represents a pointer to a world element. It uses it's last 2 bytes 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."
 
More refid info
Line 2: Line 2:


It uses it's last 2 bytes 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.
It uses it's last 2 bytes 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.
It is primarily an internal engine type and is not meant to be used directly.

Revision as of 19:47, 15 January 2024

RefID is a wrapper type around a ulong value which represents a pointer to a world element.

It uses it's last 2 bytes 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.

It is primarily an internal engine type and is not meant to be used directly.