棋盘优化
This commit is contained in:
parent
6f2b7613a4
commit
b8146dcd8c
@ -11,7 +11,7 @@ var (
|
||||
|
||||
// gate conf
|
||||
PendingWriteNum = 2000
|
||||
MaxMsgLen uint32 = 16384 // 16KB
|
||||
MaxMsgLen uint32 = 65536 // 16KB
|
||||
HTTPTimeout = 10 * time.Second
|
||||
LenMsgLen = 2
|
||||
LittleEndian = false
|
||||
|
||||
@ -241,6 +241,10 @@ func ReqGmCommand_(player *Player, Command string) error {
|
||||
ChessMod := player.PlayMod.getChessMod()
|
||||
ChessMod.Retire = make(map[string]int)
|
||||
ChessMod.RetireChessMap = make(map[string][]int)
|
||||
case "cleanBuff":
|
||||
ChessMod := player.PlayMod.getChessMod()
|
||||
ChessMod.ChessBuff = []int{}
|
||||
player.PushClientRes(ChessMod.BackData())
|
||||
case "addChip":
|
||||
PlayroomMod := player.PlayMod.getPlayroomMod()
|
||||
PlayroomMod.AddChip()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user