type ChatMsgType uint8
const (
- RawMsg ChatMsgType = iota // raw
- NormalMsg // normal
- AnnounceMsg // announce
- SysMsg // sys
+ RawMsg ChatMsgType = iota // raw
+ NormalMsg // normal
+ AnnounceMsg // announce
+ SysMsg // sys
maxMsg
)
type PlayerListUpdateType uint8
const (
- InitPlayers PlayerListUpdateType = iota // init
- AddPlayers // add
- RemovePlayers // remove
+ InitPlayers PlayerListUpdateType = iota // init
+ AddPlayers // add
+ RemovePlayers // remove
)
//go:generate stringer -linecomment -type PlayerListUpdateType