miduo_client/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelManager.lua

12 lines
442 B
Lua
Raw Normal View History

2021-05-07 20:24:41 +08:00
FightLevelManager = {};
local this = FightLevelManager
function this.Initialize()
end
--开始战斗
function this.FightLevelFightBattle(_fightLevelId,_teamId, callBack)
NetManager.StartExpeditionBattleRequest(_fightLevelId, _teamId,function (msg)
local fightData = BattleManager.GetBattleServerData(msg,0)
UIManager.OpenPanel(UIName.BattlePanel, fightData, BATTLE_TYPE.EXECUTE_FIGHT, callBack)
end)
end
return this