theater

package
v0.0.0-...-b9423a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2018 License: AGPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const COUNTER_GID_KEY = "counters:GID"

Variables

View Source
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

CGAM - SERVER called to create a game

func (*TheaterManager) CONN

CONN - SHARED (???) called on connection

func (*TheaterManager) ECHO

func (tM *TheaterManager) ECHO(event GameSpy.SocketUDPEvent)

ECHO - SHARED called like some heartbeat

func (*TheaterManager) ECNL

ECNL - CLIENT calls when they want to leave

func (*TheaterManager) EGAM

EGAM - CLIENT called when a client wants to join a gameserver

func (*TheaterManager) EGRS

EGRS - SERVER sent up, tell us if client is 'allowed' to join

func (*TheaterManager) GDAT

GDAT - CLIENT called to get data about the server

func (*TheaterManager) GLST

GLST - CLIENT called to get a list of game servers? Irrelevant for heroes.

func (*TheaterManager) LLST

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

PENT - SERVER sent up when a player joins (entitle player?)

func (*TheaterManager) PLVT

PENT - SERVER sent up when a player joins (entitle player?)

func (*TheaterManager) UBRA

UBRA - SERVER Called to update server data

func (*TheaterManager) UGAM

UGAM - SERVER Called to udpate serverquery ifo

func (*TheaterManager) UPLA

UPLA - SERVER presumably "update player"? valid response reqiured

func (*TheaterManager) USER

USER - SHARED Called to get user data about client? No idea

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL