Commit 356dafc6 authored by chenweijian's avatar chenweijian

游戏

parent 7d962153
......@@ -52,5 +52,5 @@ const (
GameAutoMathEnterRoom = "game:autoEnter:%d:%s" // 快速游戏,进入某个房间
Game1V1EnterRoom = "game:oneAndOne:%s" // 1v1游戏,进入某个房间,%s: imGroupId
Game1V1GameChannel = "game:gameChannel:%s" // 1v1游戏,发布订阅channel,游戏创建成功后的通知,%s: imGroupId
Game1V1ResetGameRoom = "game:resetGameRoom:%s" // 1v1游戏,把某个房间重新放回匹配池,%s: imGroupId
Game1V1ResetGameRoom = "game:resetGameRoom:%s" // 1v1游戏,把某个房间重新放回匹配池,%s: txGroupId
)
......@@ -116,6 +116,6 @@ func GetGame1V1GameChannel(imGroupId string) string {
return fmt.Sprintf(Game1V1GameChannel, imGroupId)
}
func GetGame1V1ResetGameRoom(imGroupId string) string {
return fmt.Sprintf(Game1V1ResetGameRoom, imGroupId)
func GetGame1V1ResetGameRoom(txGroupId string) string {
return fmt.Sprintf(Game1V1ResetGameRoom, txGroupId)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment