GetWorldDoorPrefabs

From Wiki G1R-MP G1 Remake Multiplayer
Revision as of 13:28, 20 October 2026 by QCherry (talk | contribs) (Release 0.1.9 / BUILD264 / Protocol42: availability and download setup; preserve experimental limits)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getWorldDoorPrefabs

Available from 0.1.9. Use matching updated server and clients.

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

Syntax

prefabs = getWorldDoorPrefabs()

Parameters and behavior

No arguments. Lists the approved interactive door aliases supported by this running server, not raw model paths or every type of interaction.

Returns

Fresh 1-based array of prefab IDs. See World door prefab catalog.

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.