Component:LegacyWorldThumbnailItem: Difference between revisions

From Resonite Wiki
m Alizard moved page Component:WorldThumbnailItem to Component:LegacyWorldThumbnailItem: Obsoleted component's name changed
add info
Line 1: Line 1:
{{Infobox Component
{{Infobox Component
|Image=WorldThumbnailItemComponent.png
|Image=WorldThumbnailItemComponent.png
|Name=World Thumbnail Item
|Name=Legacy World Thumbnail Item
}}
}}
{{stub}}
The '''LegacyWorldThumbnailItem''' component is used to show worlds in the list of the legacy world facet.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|UpdatingUser|{{RootFieldType|UserRef}}|TypeAdv0=true|
|UpdatingUser|{{RootFieldType|UserRef}}|TypeAdv0=true| The user managing updating this component's functionality.
|WorldOrSessionId|String|
|WorldOrSessionId|String| The world or session ID this component is providing information on.
|_visited|Bool|
|_visited|Bool| Whether the World has been visited by <code>UpdatingUser</code>.
|_totalActiveUsers|Int|
|_totalActiveUsers|Int| The total focused and active users in the world.
|_totalContacts|Int|
|_totalContacts|Int| The total amount of users on the world that are contacts of <code>UpdatingUser</code>.
|PressAction|{{RootFieldType|SyncDelegate`1|[[Type:WorldItemAction|WorldItemAction]]}}|TypeAdv5=true|
|PressAction|{{RootFieldType|SyncDelegate`1|[[Type:WorldItemAction|WorldItemAction]]}}|TypeAdv5=true| The action to preform when clicking on this item.
|_thumbnailGraphic|'''[[Component:RawGraphic|RawGraphic]]'''|TypeAdv6=true|
|_thumbnailGraphic|'''[[Component:RawGraphic|RawGraphic]]'''|TypeAdv6=true| The component handling the Thumbnail graphic.
|_thumbnailTexture|'''[[Component:StaticTexture2D|StaticTexture2D]]'''|TypeAdv7=true|
|_thumbnailTexture|'''[[Component:StaticTexture2D|StaticTexture2D]]'''|TypeAdv7=true| The component handling the Thumbnail texture.
|_nameRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv8=true|
|_nameRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv8=true| The component that is the graphic rectangle handler for the world name.
|_detailRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv9=true|
|_detailRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv9=true| The component that is the graphic rectangle handler for the world details.
|_visitedRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv10=true|
|_visitedRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv10=true| The component that is the graphic rectangle handler for the world visited status.
|_counterRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv11=true|
|_counterRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv11=true| The component that is the graphic rectangle handler for the world active users and contacts amount.
|_iconsRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv12=true|
|_iconsRoot|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv12=true| The component that is the graphic rectangle handler for the world icons.
|_closeButton|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv13=true|
|_closeButton|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv13=true| The component that is the graphic rectangle handler for the world close button.
|_nameText|'''[[Component:Text|Text]]'''|TypeAdv14=true|
|_nameText|'''[[Component:Text|Text]]'''|TypeAdv14=true| The text showing the world name.
|_detailText|'''[[Component:Text|Text]]'''|TypeAdv15=true|
|_detailText|'''[[Component:Text|Text]]'''|TypeAdv15=true| The text showing the world details.
|_counterText|'''[[Component:Text|Text]]'''|TypeAdv16=true|
|_counterText|'''[[Component:Text|Text]]'''|TypeAdv16=true| The text showing the world active user/contacts.
|_borderOverlay|'''[[Component:Image|Image]]'''|TypeAdv17=true|
|_borderOverlay|'''[[Component:Image|Image]]'''|TypeAdv17=true| The image UIX component handling the border graphic
|_borderColor|ColorX|
|_borderColor|ColorX| The color the border should be.
}}
}}


== Behavior ==
== Usage ==
Don't use.


== Examples ==
== Examples ==
Used in the old legacy world browser.


== See Also ==
== See Also ==
Line 36: Line 38:
[[Category:Components:Radiant UI:World Browsing{{#translation:}}|World Thumbnail Item]]
[[Category:Components:Radiant UI:World Browsing{{#translation:}}|World Thumbnail Item]]
[[Category:Components{{#translation:}}|World Thumbnail Item]]
[[Category:Components{{#translation:}}|World Thumbnail Item]]
[[Category:ComponentStubs]]

Revision as of 18:05, 22 January 2025

Component image 
Legacy World Thumbnail Item component as seen in the Scene Inspector

The LegacyWorldThumbnailItem component is used to show worlds in the list of the legacy world facet.

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.
UpdatingUser direct UserRef The user managing updating this component's functionality.
WorldOrSessionId String The world or session ID this component is providing information on.
_visited Bool Whether the World has been visited by UpdatingUser.
_totalActiveUsers Int The total focused and active users in the world.
_totalContacts Int The total amount of users on the world that are contacts of UpdatingUser.
PressAction delegate of identity WorldItemAction The action to preform when clicking on this item.
_thumbnailGraphic RawGraphic The component handling the Thumbnail graphic.
_thumbnailTexture StaticTexture2D The component handling the Thumbnail texture.
_nameRoot RectTransform The component that is the graphic rectangle handler for the world name.
_detailRoot RectTransform The component that is the graphic rectangle handler for the world details.
_visitedRoot RectTransform The component that is the graphic rectangle handler for the world visited status.
_counterRoot RectTransform The component that is the graphic rectangle handler for the world active users and contacts amount.
_iconsRoot RectTransform The component that is the graphic rectangle handler for the world icons.
_closeButton RectTransform The component that is the graphic rectangle handler for the world close button.
_nameText Text The text showing the world name.
_detailText Text The text showing the world details.
_counterText Text The text showing the world active user/contacts.
_borderOverlay Image The image UIX component handling the border graphic
_borderColor ColorX The color the border should be.

Usage

Don't use.

Examples

Used in the old legacy world browser.

See Also