Tile - YLock - Get Lock Cylinder Id – Ylands
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Get Lock Cylinder Id(Entity) == File:YlandsT...") |
No edit summary |
||
Line 16: | Line 16: | ||
'''number''' | '''number''' | ||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === |
Revision as of 12:16, 12 November 2021
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.