Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lobby.queue.changeRoles socket action #10

Open
pattyjogal opened this issue Jul 3, 2020 · 0 comments
Open

lobby.queue.changeRoles socket action #10

pattyjogal opened this issue Jul 3, 2020 · 0 comments
Labels
feature New feature or request medium priority An issue that should be taken care of soon, but in no particular order

Comments

@pattyjogal
Copy link
Contributor

A socket message handler to handle the user selecting a new role/new roles for themself in the queue.

Input format:

{
  roles: ['agent1', 'agent2', .... ]
  playerId: "xxxxxxxx",
  lobbyId: "xxxxxxxx"
}

Output format:

{
  lobbyId: "xxxxxxxx",
  queue: { agentName: [{ player }, ... ], ... },
  player: { name: "xxxxxxxx", id: "xxxxxxxx" }
}
@pattyjogal pattyjogal added feature New feature or request medium priority An issue that should be taken care of soon, but in no particular order labels Jul 3, 2020
@pattyjogal pattyjogal changed the title lobby.changeRole socket action lobby.queue.changeRoles socket action Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request medium priority An issue that should be taken care of soon, but in no particular order
Projects
None yet
Development

No branches or pull requests

1 participant