12 lines
442 B
Lua
12 lines
442 B
Lua
|
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
|