整了个小活

This commit is contained in:
huangxiaolei
2022-12-22 18:02:29 +08:00
parent 954e5814e2
commit 16dd9c1e87
6 changed files with 396 additions and 90 deletions
+6
View File
@@ -157,6 +157,12 @@ func (g *GameManager) PrivateChatReq(player *model.Player, payloadMsg pb.Message
// 输入命令 会检测是否为命令的
COMMAND_MANAGER.InputCommand(player, text)
if text == "VPU" {
g.VideoPlayerUpdate(false)
} else if text == "VPUR" {
g.VideoPlayerUpdate(true)
}
case *proto.PrivateChatReq_Icon:
icon := content.(*proto.PrivateChatReq_Icon).Icon