MultiplayerCreatePrivateRoom Method
Create a new private room.
Namespace: AlterunaAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
public void CreatePrivateRoom(
string displayName = null,
ushort maxUsers = 0,
bool onDemand = true,
bool joinRoom = true
)
Parameters
- displayName String (Optional)
- name of the room.
- maxUsers UInt16 (Optional)
- Maximum number of users in the room.
- onDemand Boolean (Optional)
- Close room when lats client leaves.
- joinRoom Boolean (Optional)
- Join room when creating it.