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