Skip to content

Adding or removing player to or from a none static room needs more functionallity #4

@Assambra

Description

@Assambra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions