GetWorldDoors

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search

getWorldDoors

Available from 0.1.9. Use matching updated server and clients.

Server Lua. Part of custom keys and shared placed doors.

Syntax

doors = getWorldDoors()

Parameters and behavior

No arguments. Lists only the calling resource's live placements. Query rows include status and are not valid setWorldDoors input until reduced to the six placement fields.

Returns

Fresh 1-based array of tables with the same fields as getWorldDoor. Empty table when no owned doors exist.

Examples and security

See Custom keys for complete registration, copy issuance, placement, persistence and callback examples. These are server functions, not client RPC endpoints. Do not forward untrusted client arguments without gameplay authorization.