Documentation ¶
Overview ¶
Package players server. Keeps track of login players.
Index ¶
Constants ¶
View Source
const ( ACTMess = 1 ACTInvite = 2 ACTInvAccept = 3 ACTInvDecline = 4 ACTInvRetract = 5 ACTMove = 6 ACTQuit = 7 ACTWatch = 8 ACTWatchStop = 9 ACTList = 10 ACTSave = 11 JTMess = 1 JTInvite = 2 JTMove = 3 JTBenchMove = 4 JTList = 5 JTCloseCon = 6 JTClearInvites = 7 )
Variables ¶
This section is empty.
Functions ¶
func NewPlayerErr ¶
Types ¶
type CloseCon ¶
type CloseCon struct { Reason string // contains filtered or unexported fields }
CloseCon close connection signal to netWrite.
type GameState ¶
type GameState struct {
// contains filtered or unexported fields
}
GameState keeps track of the current game.
type JsonData ¶
type JsonData struct { JsonType int Data interface{} }
JsonData a json wrapper for export of interface values via json.
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
Player it is the player information used to exchange between the logon server and the players server.
Click to show internal directories.
Click to hide internal directories.