Component:UserOnlineStatusSync: Difference between revisions

From Resonite Wiki
add info
formatting & reword
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages></languages>
<translate>
<!--T:1-->
{{Infobox Component
{{Infobox Component
|Image=UserOnlineStatusSyncComponent.png
|Image=UserOnlineStatusSyncComponent.png
|Name=User Online Status Sync
|Name=UserOnlineStatusSync
}}
}}
The '''UserOnlineStatusSync''' component only works if in the dash world. It informs of what user online status the user has.


<!--T:2-->
The '''UserOnlineStatusSync''' component only works in [[userspace]]. It provides the [[online status]] that your account currently has.
 
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
Line 14: Line 11:
}}
}}


<!--T:3-->
== Usage ==
== Usage ==
Attach to a slot that will be part of an item in dash space (like a facet) and bring it into the dash space in order for it to start working.


<!--T:4-->
Attach to a slot that will be in [[userspace]] (like a [[facet]]) and bring it into userspace in order for it to begin working.
 
== Examples ==
== Examples ==
{{stub}}


<!--T:5-->
The OnlineStatus and OnlineStatusV2 facet in [[Resonite Essentials]] use UserOnlineStatusSync for setting the status and keeping the status synced:
 
* <code>resrec:///G-Resonite/R-49769871-ecfc-4d4d-a13c-0c72d4cd4ed6</code>
* <code>resrec:///G-Resonite/R-c605cdd7-305a-4446-87ca-3d537d9c2176</code>
 
== See Also ==
== See Also ==
* [[Facets]]
* [[Facets]]
</translate>
 
[[Category:Components{{#translation:}}|User Online Status Sync]]
[[Category:Components{{#translation:}}|User Online Status Sync]]
[[Category:Components:Cloud:Indicators{{#translation:}}|User Online Status Sync]]
[[Category:Components:Cloud:Indicators{{#translation:}}|User Online Status Sync]]

Latest revision as of 19:37, 14 April 2025

Component image 
UserOnlineStatusSync component as seen in the Scene Inspector


The UserOnlineStatusSync component only works in userspace. It provides the online status that your account currently has.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
OnlineStatus OnlineStatus The online status of the local user.

Usage

Attach to a slot that will be in userspace (like a facet) and bring it into userspace in order for it to begin working.

Examples

The OnlineStatus and OnlineStatusV2 facet in Resonite Essentials use UserOnlineStatusSync for setting the status and keeping the status synced:

  • resrec:///G-Resonite/R-49769871-ecfc-4d4d-a13c-0c72d4cd4ed6
  • resrec:///G-Resonite/R-c605cdd7-305a-4446-87ca-3d537d9c2176

See Also