Type:IWorldElement: Difference between revisions

From Resonite Wiki
m 989onan moved page Types:IWorldElement to Type:IWorldElement: Misspelled title: type not types
Fixed links.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
{{Stub}}
IWorldElement is a reference to anything that may exist in a world. this can be a value field, component, user, reference, or anything contained in a world.


(TODO: Is this correct?)
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.


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 [[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#Reference IDs / "Ref Hacking"|Things to Avoid]]


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

Latest revision as of 12:32, 22 May 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