◆ CreateRoom()

static void EdgeMultiplay.EdgeManager.CreateRoom ( string  playerName,
int  playerAvatar,
int  maxPlayersPerRoom,
Dictionary< string, string >  playerTags = null 
)
static

Sends a request to the server to create a room

use public override void OnRoomCreated to get the server response

Parameters
playerNameplayer name to be assigned to player
playerAvatar(integer value) Avatar Index from EdgeManager Spawn Prefabs
maxPlayersPerRoomThe maximum players allowed in the room
playerTagsDictionary<string,string> custom data associated with the player