getCategory
getCategory: (MapElementConfig) -> numberThe definition's category (its opcode 19), -1 when it has none.
client:getMapElementConfig(…)| Method | Returns | Description |
|---|---|---|
getCategory() | number | The definition's category (its opcode 19), -1 when it has none. |
| Method | Returns | Description |
|---|---|---|
Client.getMapElementConfig | MapElementConfig | Map element definition id (the client loads them all once, at the cache load). Raises for an id past the definitions, before the load, an… |
getCategorygetCategory: (MapElementConfig) -> numberThe definition's category (its opcode 19), -1 when it has none.