添加gm
parent
28d68a2d43
commit
ff74924ea9
|
|
@ -83,7 +83,7 @@ function GMPanel:InitComponent()
|
|||
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成顶级魂灵宝", inputTip = {""}, callBack = this.Baowu},
|
||||
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成顶级装备", inputTip = {""}, callBack = this.GetEquipe},
|
||||
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成很多物品", inputTip = {""}, callBack = this.GetAllItems},
|
||||
|
||||
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "鑫鹏的gm", inputTip = {""}, callBack = this.SendToXinPeng},
|
||||
{type = GMType.Function, subType = GMSubType.Server, inputNum = 1, args = "16#%s#0", btnTip = "跳转", inputTip = {"输入兽潮层数"}, callBack = nil},
|
||||
{type = GMType.Function, subType = GMSubType.Server, inputNum = 1, args = "15#%s#0", btnTip = "获取", inputTip = {"孙龙秘宝积分"}, callBack = this.SetSunLongScroe},
|
||||
{type = GMType.Function, subType = GMSubType.Server, inputNum = 1, args = "23#0#%s", btnTip = "获取", inputTip = {"天宫秘宝积分"}, callBack = nil},
|
||||
|
|
@ -266,6 +266,12 @@ function this.GetManyHeros(text)
|
|||
end)
|
||||
end
|
||||
end
|
||||
|
||||
function this.SendToXinPeng()
|
||||
NetManager.GMEvent("26")
|
||||
end
|
||||
|
||||
|
||||
-- 设置孙龙积分
|
||||
function this.SetSunLongScroe(text)
|
||||
TreasureOfSomebodyManagerV2.SetCurrentLevel(tonumber(text))
|
||||
|
|
|
|||
Loading…
Reference in New Issue