gossip v1.0.0 Gossip.Client.Core behaviour View Source

Callbacks for the “channels” flag

This is the only required module.

Link to this section Summary

Callbacks

Get the channels you want to subscribe to on start

A new message was received from Gossip on a channel

Get the current names of connected players

Get the game’s User Agent

Link to this section Callbacks

Get the channels you want to subscribe to on start

Link to this callback message_broadcast(arg0) View Source
message_broadcast(Gossip.message()) :: :ok

A new message was received from Gossip on a channel

Get the current names of connected players

Used in the heartbeat

Get the game’s User Agent.

This should return the game name with a version number.