LogoPixi’VN
indexNamespacesRegisteredRoomsFunctions

Function: add()

> add(...rooms): void

Defined in: src/registries/RegisteredRooms.ts:20

Save a room in the registered rooms, and their location and map if they are not already registered. If the room already exists, it will be overwritten.

Parameters

rooms

...(RoomInterface | RoomInterface[])[]

The room to save.

Returns

void

On this page