Tile - YLock - Get Lock Cylinder Id – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 33: | Line 33: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 15:27, 24 November 2023
Get Lock Cylinder Id(Entity)
static getCylinderId(target: YEntity): number;
Parameters
target
Target entity (lock or key)
Returns
number
Availability
Description
Returns current Cylinder ID of the target entity.
Notes
- Supported entities: doors, chests, padlocks, keys.
- Cyllinder ID pairs locks and keys.