go-teeworlds-protocol/network7/network7.go

31 lines
531 B
Go
Raw Normal View History

2024-06-19 04:57:32 +00:00
package network7
const (
MaxClients = 64
2024-06-20 03:08:52 +00:00
MsgCtrlKeepAlive = 0x00
MsgCtrlConnect = 0x01
MsgCtrlAccept = 0x02
MsgCtrlToken = 0x05
MsgCtrlClose = 0x04
2024-06-19 04:57:32 +00:00
2024-06-20 03:08:52 +00:00
MsgSysInfo = 1
MsgSysMapChange = 2
MsgSysConReady = 5
MsgSysSnapSingle = 8
MsgSysReady = 18
MsgSysEnterGame = 19
2024-06-19 04:57:32 +00:00
2024-06-20 03:08:52 +00:00
MsgGameSvMotd = 1
MsgGameSvChat = 3
MsgGameReadyToEnter = 8
MsgGameSvClientInfo = 18
MsgGameClStartInfo = 27
TypeControl MsgType = 1
TypeNet MsgType = 2
TypeConnless MsgType = 3
2024-06-19 04:57:32 +00:00
)
2024-06-20 03:08:52 +00:00
type MsgType int