Documentation ¶
Index ¶
- Constants
- Variables
- type GameClient
- type GameServer
- type TheaterManager
- func (tM *TheaterManager) CGAM(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) CONN(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) ECHO(event GameSpy.SocketUDPEvent)
- func (tM *TheaterManager) ECNL(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) EGAM(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) EGRS(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) GDAT(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) GLST(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) LLST(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) LogCommand(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) LogCommandUDP(event *GameSpy.CommandFESL)
- func (tM *TheaterManager) New(name string, port string, db *sql.DB, redis *redis.Client, iDB *core.InfluxDB, ...)
- func (tM *TheaterManager) PENT(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) PLVT(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) UBRA(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) UGAM(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) UPLA(event GameSpy.EventClientFESLCommand)
- func (tM *TheaterManager) USER(event GameSpy.EventClientFESLCommand)
Constants ¶
const COUNTER_GID_KEY = "counters:GID"
Variables ¶
var Shard string
Functions ¶
This section is empty.
Types ¶
type GameClient ¶
type GameClient struct {
// contains filtered or unexported fields
}
GameClient Represents a game client connected to theater
type GameServer ¶
type GameServer struct {
// contains filtered or unexported fields
}
GameServer Represents a game server and it's data
type TheaterManager ¶
type TheaterManager struct {
// contains filtered or unexported fields
}
TheaterManager Handles incoming and outgoing theater communication
func (*TheaterManager) CGAM ¶
func (tM *TheaterManager) CGAM(event GameSpy.EventClientFESLCommand)
CGAM - SERVER called to create a game
func (*TheaterManager) CONN ¶
func (tM *TheaterManager) CONN(event GameSpy.EventClientFESLCommand)
CONN - SHARED (???) called on connection
func (*TheaterManager) ECHO ¶
func (tM *TheaterManager) ECHO(event GameSpy.SocketUDPEvent)
ECHO - SHARED called like some heartbeat
func (*TheaterManager) ECNL ¶
func (tM *TheaterManager) ECNL(event GameSpy.EventClientFESLCommand)
ECNL - CLIENT calls when they want to leave
func (*TheaterManager) EGAM ¶
func (tM *TheaterManager) EGAM(event GameSpy.EventClientFESLCommand)
EGAM - CLIENT called when a client wants to join a gameserver
func (*TheaterManager) EGRS ¶
func (tM *TheaterManager) EGRS(event GameSpy.EventClientFESLCommand)
EGRS - SERVER sent up, tell us if client is 'allowed' to join
func (*TheaterManager) GDAT ¶
func (tM *TheaterManager) GDAT(event GameSpy.EventClientFESLCommand)
GDAT - CLIENT called to get data about the server
func (*TheaterManager) GLST ¶
func (tM *TheaterManager) GLST(event GameSpy.EventClientFESLCommand)
GLST - CLIENT called to get a list of game servers? Irrelevant for heroes.
func (*TheaterManager) LLST ¶
func (tM *TheaterManager) LLST(event GameSpy.EventClientFESLCommand)
LLST - CLIENT (???) unknown, potentially bookmarks
func (*TheaterManager) LogCommand ¶
func (tM *TheaterManager) LogCommand(event GameSpy.EventClientFESLCommand)
LogCommand log data to a debug file for further analysis
func (*TheaterManager) LogCommandUDP ¶
func (tM *TheaterManager) LogCommandUDP(event *GameSpy.CommandFESL)
LogCommandUDP log data to a debug file for further analysis
func (*TheaterManager) New ¶
func (tM *TheaterManager) New(name string, port string, db *sql.DB, redis *redis.Client, iDB *core.InfluxDB, localMode bool)
New creates and starts a new TheaterManager
func (*TheaterManager) PENT ¶
func (tM *TheaterManager) PENT(event GameSpy.EventClientFESLCommand)
PENT - SERVER sent up when a player joins (entitle player?)
func (*TheaterManager) PLVT ¶
func (tM *TheaterManager) PLVT(event GameSpy.EventClientFESLCommand)
PENT - SERVER sent up when a player joins (entitle player?)
func (*TheaterManager) UBRA ¶
func (tM *TheaterManager) UBRA(event GameSpy.EventClientFESLCommand)
UBRA - SERVER Called to update server data
func (*TheaterManager) UGAM ¶
func (tM *TheaterManager) UGAM(event GameSpy.EventClientFESLCommand)
UGAM - SERVER Called to udpate serverquery ifo
func (*TheaterManager) UPLA ¶
func (tM *TheaterManager) UPLA(event GameSpy.EventClientFESLCommand)
UPLA - SERVER presumably "update player"? valid response reqiured
func (*TheaterManager) USER ¶
func (tM *TheaterManager) USER(event GameSpy.EventClientFESLCommand)
USER - SHARED Called to get user data about client? No idea