Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Extends base UIHubEventRelay with logic related to the AGUIElementsCollection component.
Protected Member Functions | |
virtual void | OnSelected (AGUIElement selectedElement) |
Shares content selection event to the hub. More... | |
override void | Start () |
Registers selected events. More... | |
override void | Reload () |
Reloads current settings with re-applying. More... | |
virtual void | OnHoverEnd (AGUIElement obj) |
virtual void | OnHover (AGUIElement obj) |
virtual void | OnHoverBegin (AGUIElement obj) |
virtual void | OnPointerDown (AGUIElement obj) |
virtual void | OnPointerUp (AGUIElement obj) |
virtual void | OnContextMenu (AGUIElement obj) |
virtual void | OnSizeChanged (AGUIElement obj) |
virtual void | OnMoved (AGUIElement obj) |
void | ShareEvent (string eventCode, params object[] args) |
Sends a simple event to the hub More... | |
virtual void | Awake () |
virtual void | OnHubPreChange () |
Occurs before hub property changed with new value. More... | |
virtual void | OnHubPostChange () |
Occurs after hub property had been changed. More... | |
Properties | |
AGUIElementsCollection | collection [get] |
Connected collection AGUIElement. | |
bool | onSelected [get, set] |
Enables\Disables AGUIElementsCollection.ItemSelected event to share. | |
bool | onHover [get, set] |
Enables\Disables AGUIElement.HoverStarted, AGUIElement.Hovered and AGUIElement.HoverEnded events to share. | |
bool | onPointer [get, set] |
Enables\Disables AGUIElement.PointerDown and AGUIElement.PointerUp events to share. | |
bool | onContextMenu [get, set] |
Enables\Disables AGUIElement.ContextMenuCalled event to share. | |
bool | onDrag [get, set] |
Enables\Disables AGUIElement.DragStarted, AGUIElement.Draged and AGUIElement.DragEnded events to share. | |
bool | onSizeChanged [get, set] |
Enables\Disables AGUIElement.SizeChanged event to share. | |
bool | onMoved [get, set] |
Enables\Disables AGUIElement.Moved event to share. | |
AGUIElement | element [get] |
Element connected to the agent. | |
virtual VirtualUIHub | hub [get, set] |
Reference to parental hub. | |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Occurs before hub property changed with new value.
hub value could be null
.
Reimplemented in Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.
|
protectedvirtual |
Shares content selection event to the hub.
selectedElement | Selected content. |
Shares selected AGUIElement as first argument.
Reimplemented in Doloro.InvetorySystem.UI.VirtualHub.ItemSelectionEventRelay, and Doloro.InvetorySystem.UI.VirtualHub.StorageSelectionEventRelay.
|
protectedvirtual |
Reloads current settings with re-applying.
Reimplemented from Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay.
|
protectedinherited |
Sends a simple event to the hub
eventCode | Code of the event to share. |
args | Data to share. |
|
protectedvirtual |
Registers selected events.
Reimplemented from Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay.