Room type description.
optional isPersistent:Null<Bool>
If enabled, rooms of this type are considered persistent and the data in _RoomType.persistent
array will be stored into the room block and loaded on room creation.
Note that if you're using persistent rooms of the same type on more than one slave server thread (or on different slave servers altogether), you have to make sure that no room instances with the same ID are created on different slave server threads. If it happens, the room block will already be locked and room creation will fail.
optional persistent:Null<Array<String>>
Room instance fields that are persistent. They will be stored in the room block and loaded on room creation.
Room instance fields that are public to the clients and will be automatically replicated on Room.updated()
and Room.replicate()
calls.