gossip v1.0.0 Gossip.Socket.Players View Source

“players” flag functions

Link to this section Summary

Functions

Process a “players/sign-in” event from the server

Process a “players/sign-out” event from the server

Process a “players/status” event from the server

Generate a “players/sign-in” event

Generate a “players/sign-out” event

Generate a “players/status” event

Link to this section Functions

Link to this function process_sign_in(state, map) View Source

Process a “players/sign-in” event from the server

Link to this function process_sign_out(state, map) View Source

Process a “players/sign-out” event from the server

Link to this function process_status(state, event) View Source

Process a “players/status” event from the server

If no payload is found, this was requested from a single game update and should have a ref, pass along to the Players module where it’s waiting for the response.

Link to this function sign_in(state, player_name) View Source

Generate a “players/sign-in” event

Link to this function sign_out(state, player_name) View Source

Generate a “players/sign-out” event

Generate a “players/status” event