]> git.lizzy.rs Git - mt.git/blobdiff - tocltcmds.go
s/ToSrvModChan(.*)/ToSrv\1ModChan/g
[mt.git] / tocltcmds.go
index 5fbe18b8044d8c2106ec0101a0a004807c5a25c1..9f8fbd439b45c6f4bfe1d43963f04ea7e3e0a68e 100644 (file)
@@ -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