test
This commit is contained in:
parent
f97467e05f
commit
f60f0b6c59
72
packet.go
72
packet.go
@ -6,42 +6,42 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
AdminPacketAdminJoin = iota
|
AdminPacketAdminJoin = 0
|
||||||
AdminPacketAdminQuit
|
AdminPacketAdminQuit = 1
|
||||||
AdminPacketAdminUpdateFrequency
|
AdminPacketAdminUpdateFrequency = 2
|
||||||
AdminPacketAdminPoll
|
AdminPacketAdminPoll = 3
|
||||||
AdminPacketAdminChat
|
AdminPacketAdminChat = 4
|
||||||
AdminPacketAdminRCon
|
AdminPacketAdminRCon = 5
|
||||||
AdminPacketAdminGamescript
|
AdminPacketAdminGamescript = 6
|
||||||
AdminPacketAdminPing
|
AdminPacketAdminPing = 7
|
||||||
AdminPacketServerFull = 100
|
AdminPacketServerFull = 100
|
||||||
AdminPacketServerBanned
|
AdminPacketServerBanned = 101
|
||||||
AdminPacketServerError
|
AdminPacketServerError = 102
|
||||||
AdminPacketServerProtocol
|
AdminPacketServerProtocol = 103
|
||||||
AdminPacketServerWelcome
|
AdminPacketServerWelcome = 104
|
||||||
AdminPacketServerNewgame
|
AdminPacketServerNewgame = 105
|
||||||
AdminPacketServerShutdown
|
AdminPacketServerShutdown = 106
|
||||||
AdminPacketServerDate
|
AdminPacketServerDate = 107
|
||||||
AdminPacketServerClientJoin
|
AdminPacketServerClientJoin = 108
|
||||||
AdminPacketServerClientInfo
|
AdminPacketServerClientInfo = 109
|
||||||
AdminPacketServerClientUpdate
|
AdminPacketServerClientUpdate = 110
|
||||||
AdminPacketServerClientQuit
|
AdminPacketServerClientQuit = 111
|
||||||
AdminPacketServerClientError
|
AdminPacketServerClientError = 112
|
||||||
AdminPacketServerCompanyNew
|
AdminPacketServerCompanyNew = 113
|
||||||
AdminPacketServerCompanyInfo
|
AdminPacketServerCompanyInfo = 114
|
||||||
AdminPacketServerCompanyUpdate
|
AdminPacketServerCompanyUpdate = 115
|
||||||
AdminPacketServerCompanyRemove
|
AdminPacketServerCompanyRemove = 116
|
||||||
AdminPacketServerCompanyEconomy
|
AdminPacketServerCompanyEconomy = 117
|
||||||
AdminPacketServerCompanyStats
|
AdminPacketServerCompanyStats = 118
|
||||||
AdminPacketServerChat
|
AdminPacketServerChat = 119
|
||||||
AdminPacketServerRCon
|
AdminPacketServerRCon = 120
|
||||||
AdminPacketServerConsole
|
AdminPacketServerConsole = 121
|
||||||
AdminPacketServerCmdNames
|
AdminPacketServerCmdNames = 122
|
||||||
AdminPacketServerCmdLogging
|
AdminPacketServerCmdLogging = 123
|
||||||
AdminPacketServerGamescript
|
AdminPacketServerGamescript = 124
|
||||||
AdminPacketServerRConEnd
|
AdminPacketServerRConEnd = 125
|
||||||
AdminPacketServerPong
|
AdminPacketServerPong = 126
|
||||||
InvalidAdminPacket = 0xFF
|
InvalidAdminPacket = 255
|
||||||
)
|
)
|
||||||
|
|
||||||
type Packet struct {
|
type Packet struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user