天书秘卷提交
parent
1f036b6793
commit
54586ae204
|
|
@ -122,13 +122,16 @@ end
|
|||
|
||||
function GMPanel.LVPlayer(lv)
|
||||
NetManager.GMEvent(string.format("7#%s#0",lv))
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnLevelChange)
|
||||
local cor = coroutine.start(function()
|
||||
coroutine.wait(1)
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnLevelChange)
|
||||
LogGreen("升级了")
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
--绑定事件(用于子类重写)
|
||||
function GMPanel:BindEvent()
|
||||
|
||||
Util.AddClick(this.BtnBack, function()
|
||||
PlaySoundWithoutClick(SoundConfig.Sound_UICancel)
|
||||
self:ClosePanel()
|
||||
|
|
|
|||
Loading…
Reference in New Issue