From f60f0b6c59e6d45f30e2cf9dfd2a47307d30a0f9 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 14 Jun 2020 23:39:30 +0200 Subject: [PATCH] test --- packet.go | 72 +++++++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/packet.go b/packet.go index 9392dc9..658e1d8 100644 --- a/packet.go +++ b/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 {