feat(battle-engine): close the AI-simulation subsystem (verbatim)
Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using Wizard.Scripts.Network.Data.TaskData.Arena;
|
||||
|
||||
namespace Wizard.Scripts.Network.Task.Arena.TwoPick;
|
||||
|
||||
public class TwoPickFinishBattleTask : FinishTaskBase
|
||||
{
|
||||
public TwoPickFinishBattleTask()
|
||||
{
|
||||
base.type = ApiType.Type.ArenaTwoPickFinishBattle;
|
||||
if (GameMgr.GetIns().GetDataMgr().TwoPickFormat == TwoPickFormat.Chaos)
|
||||
{
|
||||
base.type = ApiType.Type.ArenaTwoPickChaosFinishBattle;
|
||||
}
|
||||
if (GameMgr.GetIns().GetDataMgr().TwoPickFormat == TwoPickFormat.Cube)
|
||||
{
|
||||
base.type = ApiType.Type.ArenaTwoPickCubeFinishBattle;
|
||||
}
|
||||
Wizard.Data.ArenaBattleFinish = null;
|
||||
}
|
||||
|
||||
protected override int Parse()
|
||||
{
|
||||
int num = base.Parse();
|
||||
if (IsEffectiveErrorCode(num))
|
||||
{
|
||||
return num;
|
||||
}
|
||||
Wizard.Data.ArenaBattleFinish = new Finish();
|
||||
if (!IsResponseDataExist(base.ResponseData))
|
||||
{
|
||||
return num;
|
||||
}
|
||||
new BattleFinishResponsProcessing().Processing(base.ResponseData, Wizard.Data.ArenaBattleFinish.data);
|
||||
return num;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user