GameManager

Functions

static NetworkedPlayer EdgeMultiplay.EdgeManager.GetPlayer (string playerId)
 Get Player using the player id More...
 
static NetworkedPlayer EdgeMultiplay.EdgeManager.GetPlayer (int playerIndex)
 Get Player using the player index in the room More...
 
static void EdgeMultiplay.EdgeManager.JoinOrCreateRoom (string playerName, int playerAvatar, int maxPlayersPerRoom, Dictionary< string, string > playerTags=null)
 Sends Join Or Create Room request to the server, the server will try to match a player with any available room if the server didn't find an available room, the server will create a room for the player More...
 
static void EdgeMultiplay.EdgeManager.GetRooms ()
 Sends a request to the server to get a full list of rooms on the servers More...
 
static void EdgeMultiplay.EdgeManager.GetAvailableRooms ()
 Sends a request to the server to get a full list of rooms on the servers More...
 
static void EdgeMultiplay.EdgeManager.CreateRoom (string playerName, int playerAvatar, int maxPlayersPerRoom, Dictionary< string, string > playerTags=null)
 Sends a request to the server to create a room More...
 
static void EdgeMultiplay.EdgeManager.JoinRoom (string roomId, string playerName, int playerAvatar, Dictionary< string, string > playerTags=null)
 Sends a request to the server to join a room More...
 
static void EdgeMultiplay.EdgeManager.SendUDPMessage (GamePlayEvent gameplayEvent)
 Sends a UDP Message from local player to other room members, can be used only after the game starts (OnGameStart()) More...
 
static void EdgeMultiplay.EdgeManager.Disconnect ()
 Kill the connection to your EdgeMultiplay server More...
 
static void EdgeMultiplay.EdgeManager.ExitRoom ()
 Exit the current room you are in. More...
 
void EdgeMultiplay.EdgeManager.SendGamePlayEvent (GamePlayEvent gamePlayEvent)
 Not Recommended Send GamePlayEvent from your GameManager You can always send GamePlayEvent from your PlayerManager where most of your player logic should reside. More...