summaryrefslogtreecommitdiff
path: root/tocltcmds.go
diff options
context:
space:
mode:
authoranon5 <anon5clam@protonmail.com>2021-06-22 19:42:34 +0000
committeranon5 <anon5clam@protonmail.com>2021-06-22 19:42:34 +0000
commit88b1090d63a20ec368f3518298727a073e6a4112 (patch)
treeb267490231a7e4681ae0b3a7f5342da6526c4336 /tocltcmds.go
parentf967a747e4ae01fba3a6c3fd693d0e753faf3ae4 (diff)
s/ToSrvModChan(.*)/ToSrv\1ModChan/g
Diffstat (limited to 'tocltcmds.go')
-rw-r--r--tocltcmds.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/tocltcmds.go b/tocltcmds.go
index 5fbe18b..9f8fbd4 100644
--- a/tocltcmds.go
+++ b/tocltcmds.go
@@ -196,10 +196,10 @@ type ToCltChatMsg struct {
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
)
@@ -650,9 +650,9 @@ type ToCltUpdatePlayerList struct {
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