EdgeMultiplay.Player Class Reference

Wrapper class for the player info received from the server More...

Public Attributes

string playerId
 Unique ID assigned to player once the connection is established with the server, assigned on RegisterEvent More...
 
string playerName
 Player Name sat in the CreateRoom or JoinRoom Request. More...
 
int playerIndex
 the player order in the room, ex. the first player to join a room has playerIndex of 0 More...
 
int playerAvatar = 0
 the player Avatar will be selected from EdgeManager SpawnPrefabs Array by index (ex. if playerAvatar=3 then the player will take the Avatar from EdgeManager.SpawnPrefabs[3] More...
 

Properties

Dictionary< string, string > playerTagsDict [get]
 Dictionary<string,string> custom data associated with the player More...