gossip v1.1.1 Gossip.Socket.Games View Source

“games” flag functions

Link to this section Summary

Functions

Process a “games/connect” event from the server

Process a “games/disconnect” event from the server

Process a “games/status” event from the server

Generate a “games/status” event

Generate a “games/status” event for a specific game request

Link to this section Functions

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

Process a “games/connect” event from the server

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

Process a “games/disconnect” event from the server

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

Process a “games/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 Games module where it’s waiting for the response.

Generate a “games/status” event

Link to this function status(state, remote_ref, game_name) View Source

Generate a “games/status” event for a specific game request

remote_ref is being tracked in the Games process