(3 intermediate revisions by one other user not shown)
Line 1:
Line 1:
{{Infobox Component
{{Legacy}}{{Infobox Component
|Image=WorldDetailComponent.png
|Image=WorldDetailComponent.png
|Name=World Detail
|Name=World Detail
Line 7:
Line 7:
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|UpdatingUser|{{RootFieldType|UserRef}}|TypeAdv0=true| The user managing updates for this component.
|UpdatingUser|{{RootFieldType|UserRef}}|TypeAdv0=true| The user managing updates for this component.
|WorldOrSessionId|String| The world or session ID to get info on.
|WorldOrSessionId|String| The world or session ID to get info on.
|_visited|Bool| Whether <code>UpdatingUser</code> has visited this world.
|_visited|Bool| Whether <code>UpdatingUser</code> has visited this world.
Line 14:
Line 14:
|Expanded|Bool| Whether the world item UI has been hovered over in the dash.
|Expanded|Bool| Whether the world item UI has been hovered over in the dash.
|CompactDetailExpanded|Bool| Whether the extra detail has been expanded.
|CompactDetailExpanded|Bool| Whether the extra detail has been expanded.
|CompactDetailCategory|'''[[#DetailCategory|DetailCategory]]'''|TypeAdv7=true| The detail to show in the compact view.
|CompactDetailCategory|'''[[#DetailCategory|LegacyWorldDetail.DetailCategory]]'''|TypeAdv7=true| The detail to show in the compact view.
|ModalCompactSize|Float2| The size of the world item when not hovered over.
|ModalCompactSize|Float2| The size of the world item when not hovered over.
|ModalExpandedSize|Float2| The size of the world item when hovered over.
|ModalExpandedSize|Float2| The size of the world item when hovered over.
Line 21:
Line 21:
|_thumbnailGraphic|'''[[Component:RawGraphic|RawGraphic]]'''|TypeAdv12=true| The UIX graphic showing the thumbnail.
|_thumbnailGraphic|'''[[Component:RawGraphic|RawGraphic]]'''|TypeAdv12=true| The UIX graphic showing the thumbnail.
|_thumbnailTexture|'''[[Component:StaticTexture2D|StaticTexture2D]]'''|TypeAdv13=true| The texture for the world thumbnail.
|_thumbnailTexture|'''[[Component:StaticTexture2D|StaticTexture2D]]'''|TypeAdv13=true| The texture for the world thumbnail.
|_detailImageRoot|Slot| The root slot of the detail image graphic.
|_detailImageRoot|Slot| The root slot of the detail image graphic.
|_compactRoot|Slot| The root of the graphic when it is not clicked into.
|_compactRoot|Slot| The root of the graphic when it is not clicked into.
|_compactHeaderRoot|Slot| the root of the text graphic of the world item before clicking into it.
|_compactHeaderRoot|Slot| the root of the text graphic of the world item before clicking into it.
Line 57:
Line 57:
|_compactDetailExpandButton|'''[[Component:Button|Button]]'''|TypeAdv48=true| The button Component that is used to expand the details in the compact view.
|_compactDetailExpandButton|'''[[Component:Button|Button]]'''|TypeAdv48=true| The button Component that is used to expand the details in the compact view.
|_newSessionItemRoot|Slot| The slot for the graphic for making a new session button.
|_newSessionItemRoot|Slot| The slot for the graphic for making a new session button.
}}
== Sync Delegates ==
{{Table ComponentTriggers
|ToggleExpanded:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the toggle expanded button is touched.
|OnOpen:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the open button is touched.
|OnCycleLeft:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the cycle left button is touched.
|OnCycleRight:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the cycle right button is touched.
|OnSessionSelected:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|true| Called when the session select button is touched.
|OnCancel:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the cancel button is touched.
|OnGetWorldOrb:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the get world orb button is touched.
|OnCopyWorldURL:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the copy world url button is touched.
|OnCopyRecordURL:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the copy record url button is touched.
|OnStartCustomSession:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the start custom session button is touched.
|OnModifyMetadata:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the modify meta data button is touched.
|CustomWorldStart:[[Type:Action`1|Action`1]]<[[Component:NewWorldDialog|NewWorldDialog]]>|[[Type:Action`1|Action`1]]<[[Component:NewWorldDialog|NewWorldDialog]]>|true| Called when the start custom session button is touched.
|OnGetSessionOrb:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the get session orb button is touched.
|OnCopySessionURL:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the copy session url button is touched.
|OnAdminAddTag:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:TextField|TextField]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:TextField|TextField]]>|true| Called when the add tag button by admins is touched.
|OnFeature:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the feature world button is touched.
|OnRemoveSubmission:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the remove submission button is touched.
[[Category:Components:Radiant UI:World Browsing:Legacy{{#translation:}}|Legacy World Detail]]
[[Category:Components With Nested Enums{{#translation:}}|World Detail]]
[[Category:Components With Nested Enums{{#translation:}}|Legacy World Detail]]
Latest revision as of 20:13, 7 April 2025
This article describes a feature marked as legacy—this usually means there's a newer, better alternative. Legacy features might not be removed but they will not be updated, and the team will not provide any support for them.