Tile - YUiCustom - Get Widget – Ylands

From Bohemia Interactive Community
Revision as of 14:35, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get Widget(Custom UI, Widget ID)

YlandsTile-1185.png

getWidget(widgetId: number): YUiWidget;

Parameters

widgetId

Target widget ID

Returns

YUiWidget

Availability

Client

Description

Returns selected widget from target custom UI.

Get Widget(Custom UI, Player, Widget ID)

YlandsTile-666.png

getWidget(player: YCharacter, widgetId: number): YUiWidget;

Parameters

player

Target player

widgetId

Target widget ID

Returns

YUiWidget

Availability

Server

Description

Returns selected widget from target custom UI.