GCG初步 但会卡进度条 用命令/gcg进入

This commit is contained in:
UnKownOwO
2023-01-04 21:59:25 +08:00
parent 2bc157dd2d
commit f991480192
203 changed files with 5104 additions and 2790 deletions

View File

@@ -1,10 +1,9 @@
package game
import (
"hk4e/gs/model"
"strconv"
"strings"
"hk4e/gs/model"
)
// HelpCommand 帮助命令
@@ -249,3 +248,12 @@ func (c *CommandManager) GiveCommand(cmd *CommandMessage) {
c.SendMessage(player, "已给予玩家 UID%v, 所有内容。", target.PlayerID)
}
}
// GcgCommand Gcg测试命令
func (c *CommandManager) GcgCommand(cm *CommandMessage) {
player := cm.Executor.(*model.Player)
GAME_MANAGER.GCGStartChallenge(player)
c.SendMessage(player, "收到命令")
}