Tile - YUiCustom - Get Widget – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Stub}}" to "{{Wiki|stub}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<!--- | |||
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) == | |||
[[File:YlandsTile-666.png]] | |||
<pre>getWidget(player: YCharacter, widgetId: number): YUiWidget;</pre> | |||
=== Parameters === | |||
==== player ==== | |||
Target player | |||
==== widgetId ==== | |||
Target widget ID | |||
=== Returns === | |||
'''YUiWidget''' | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Returns selected '''widget''' from target custom UI. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 14:35, 24 November 2023
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.