You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a player to a room that is not static need a check if it is the first player if yes it is the master player.
Removing a player from a non static room need a check if it is the master if yes getPlayers from room use the first on from the list and make it to the master player than remove it.
Also need a check if it is the master and is the last player in the room it needs to close the room instance -> Remove player from roomPlayerList and remove the room from the globalRoomManager and send command STOP_SERVER.
The text was updated successfully, but these errors were encountered:
Assambra
changed the title
Adding or removing player to non static rooms needs more functionallity
Adding or removing player to or from a none static room needs more functionallity
Apr 13, 2024
Adding a player to a room that is not static need a check if it is the first player if yes it is the master player.
Removing a player from a non static room need a check if it is the master if yes getPlayers from room use the first on from the list and make it to the master player than remove it.
Also need a check if it is the master and is the last player in the room it needs to close the room instance -> Remove player from roomPlayerList and remove the room from the globalRoomManager and send command STOP_SERVER.
The text was updated successfully, but these errors were encountered: