hubSelectorController
classscriptedClass
extends SelectorController › inkLogicController › inkILogicController › IScriptable › ISerializable
Properties 7
| Name | Type | Flags |
|---|---|---|
hubElementsData | array<MenuData> | scriptedprivate |
leftArrowWidget | inkWidgetRef | scriptedpublic |
menuLabelHolder | inkHorizontalPanelRef | scriptedpublic |
previousIndex | Int32 | scriptedprivate |
previouslySelectedMenuLabel | wref<HubMenuLabelController> | scriptedprivate |
rightArrowWidget | inkWidgetRef | scriptedpublic |
selectedMenuLabel | wref<HubMenuLabelController> | scriptedpublic |
Methods 12
public final func AddMenuTab(data: script_ref<MenuData>)scripted
protected final func CycleInRange(index: Int32, range: Int32) -> Int32scripted
private final func DetermineIndex(controller: ref<HubMenuLabelController>) -> Int32scripted
private final func FindLabel(label: script_ref<String>) -> ref<HubMenuLabelController>scripted
protected final func GetNearestWidgetsData(index: Int32) -> array<MenuData>scripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnLeft(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnMenuLabelClick(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnRight(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnUpdateValue(value: String, index: Int32, changeDirection: inkSelectorChangeDirection) -> Boolscripted
public final func RegisterToMenuTabCallback(eventName: CName, object: ref<IScriptable>, functionName: CName)scripted
public final func RemoveOldTabs()scripted