Tile - YUiCustom - Get Widget – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | ||
--> | --> | ||
== Get Widget(Custom UI, Widget ID) == | |||
[[File:YlandsTile-1185.png]] | |||
<pre>getWidget(widgetId: number): YUiWidget;</pre> | |||
=== Parameters === | |||
==== widgetId ==== | |||
Target widget ID | |||
=== Returns === | |||
'''YUiWidget''' | |||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]] | |||
=== Description === | |||
Returns selected '''widget''' from target custom UI. | |||
== Get Widget(Custom UI, Player, Widget ID) == | == Get Widget(Custom UI, Player, Widget ID) == | ||
Line 10: | Line 33: | ||
==== player ==== | ==== player ==== | ||
Target player | |||
==== widgetId ==== | ==== widgetId ==== | ||
Target widget ID | |||
=== Returns === | === Returns === | ||
'''YUiWidget''' | '''YUiWidget''' | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Returns selected '''widget''' from target custom UI. | |||
Revision as of 11:16, 12 November 2021
Get Widget(Custom UI, Widget ID)
getWidget(widgetId: number): YUiWidget;
Parameters
widgetId
Target widget ID
Returns
YUiWidget
Availability
Description
Returns selected widget from target custom UI.
Get Widget(Custom UI, Player, Widget ID)
getWidget(player: YCharacter, widgetId: number): YUiWidget;
Parameters
player
Target player
widgetId
Target widget ID
Returns
YUiWidget
Availability
Description
Returns selected widget from target custom UI.