Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
jiaoyangna 2021-11-27 18:13:03 +08:00
commit f036036f09
3 changed files with 5 additions and 0 deletions

View File

@ -132,6 +132,7 @@ function GMPanel:InitComponent()
{type = GMType.Function, subType = GMSubType.Func, inputNum = 1, args = "", btnTip = "跳转测试", inputTip = {"输入跳转ID"}, callBack = this.TestJump},
{type = GMType.Function, subType = GMSubType.Func, inputNum = 2, args = "", btnTip = "功能引导测试", inputTip = {"请输入功能ID", "1去主界面2去挂机界面"}, callBack = this.TestFuncGuide},
{type = GMType.Function, subType = GMSubType.Func, inputNum = 1, args = "", btnTip = "剧情测试", inputTip = {"请输入剧情ID"}, callBack = this.TestStory},
{type = GMType.Function, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "红点Debug", inputTip = {""}, callBack = this.OpenRedDebug},
@ -432,6 +433,10 @@ function this.TestFuncGuide(text, goType)
end
end
--
function this.TestStory(text)
StoryManager.EventTrigger(tonumber(text))
end
-- 红点Debug
function this.OpenRedDebug()
UIManager.OpenPanel(UIName.RedpotDebugPanel)