Type:IWorldElement: Difference between revisions

From Resonite Wiki
m oh it should also have reference type yay
m chore: category caps
 
Line 14: Line 14:


[[Category:Type]]
[[Category:Type]]
[[Category:Reference Types]]
[[Category:Reference types]]

Latest revision as of 03:46, 10 June 2025

The IWorldElement type is an interface type that represents any object of a reference type that may exist in a world.

Every object that can be referenced can be casted to and from IWorldElement, making the type a universal interface to everything in a world.

Objects that are IWorldElements include, but are not limited to:

Every IWorldElement has a unique reference ID associated with it. Only one IWorldElement in a world may have any given reference ID, including elements that exist outside of the Root hierarchy.