Type:IWorldElement: Difference between revisions

From Resonite Wiki
add interface type link
completed list of IWorldElement types, mentioned RefID and types not under root
Line 1: Line 1:
{{Stub}}
{{Stub}}
IWorldElement is an [[Interface Type]] reference to anything that may exist in a world.


See: [[Component]] [[Slot]] [[Type:User]] [[Type:IField`1]] [[Type:IValue`1]] for all IWorldElements
IWorldElement is an [[Interface Type]] for anything that may exist in a world. Some elements like [[Type:User|Users]] and [[Type:IStream|Streams]] are not part of the [[Root]] hierarchy.
(TODO: Is this correct?)


The only exception to this type is references above root, which can only be accessed through commonly unsupported/frowned upon methods such as Reference Hacking Aka RefHacking. Types that don't fall under IWorldElement can be dangerous to mess with if you don't know what they do. If you're not the host, you can even get security kicked, booting you from the world due to the game thinking you are trying to tamper with the session's permissions.
It allows you to reference:
 
* [[Component|Components]]
* [[Slot|Slots]]
* [[Type:User|Users]]
* [[Type:ISyncElement|Sync Elements]] (includes [[Type:IValue`1|Values]]/[[Type:IField`1|Fields]])
* [[Type:SyncObject|Sync Objects]]
* [[Type:IStream|Streams]]
* [[Type:World|The World]]
 
Each networked instance is assigned a unique [[Type:RefID|RefID]] which is the basis for [[Things to Avoid#Reference IDs / "Ref Hacking"|Ref Hacking]].
 
 
The only exception to this type is references above root {{Clarify}}, which can only be accessed through commonly unsupported/frowned upon methods such as Reference Hacking Aka RefHacking. Types that don't fall under IWorldElement can be dangerous to mess with if you don't know what they do. If you're not the host, you can even get security kicked, booting you from the world due to the game thinking you are trying to tamper with the session's permissions.


See also: [[Things to Avoid]]
See also: [[Things to Avoid]]
[[Category:Type]]
[[Category:Type]]

Revision as of 18:24, 9 March 2024

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


IWorldElement is an Interface Type for anything that may exist in a world. Some elements like Users and Streams are not part of the Root hierarchy.

It allows you to reference:

Each networked instance is assigned a unique RefID which is the basis for Ref Hacking.


The only exception to this type is references above root [Clarification needed], which can only be accessed through commonly unsupported/frowned upon methods such as Reference Hacking Aka RefHacking. Types that don't fall under IWorldElement can be dangerous to mess with if you don't know what they do. If you're not the host, you can even get security kicked, booting you from the world due to the game thinking you are trying to tamper with the session's permissions.

See also: Things to Avoid