Oliver-Akins / Phantom-Ink-Online

The online prototype for Resonym's game titled Phantom Ink.
http://phantominkgame.com/
6 stars 2 forks source link

JoinTeam WS Event #11

Closed Oliver-Akins closed 3 years ago

Oliver-Akins commented 3 years ago

Description:

This event is triggered by the client when the user attempts to join a team from the lobby.

Request Payload:

Property Type Description
team int The team to join. Accepted values are: 1, and 2, any other value will throw an error.
role String The role the player is assuming. This can be "writer" or "guesser", any other value will throw an error.

Response Payload: (JoinTeam)

Property Type Description
Oliver-Akins commented 3 years ago

This has been cancelled as it's been changed to the UpdatePlayer event. (which means it's already implemented)