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:
gamer147
2026-06-05 20:30:59 -04:00
parent 78f310c2b3
commit 824309ec44
472 changed files with 55870 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
namespace Wizard;
public class FreeBattleFinishTask : FinishTaskBase
{
public FreeBattleFinishTask()
{
switch (Data.CurrentFormat)
{
case Format.Rotation:
base.type = ApiType.Type.FreeMatchFinishRotation;
break;
case Format.Unlimited:
base.type = ApiType.Type.FreeMatchFinishUnlimited;
break;
case Format.PreRotation:
base.type = ApiType.Type.FreeMatchFinishPreRotation;
break;
case Format.Crossover:
base.type = ApiType.Type.FreeMatchFinishCrossover;
break;
case Format.MyRotation:
base.type = ApiType.Type.FreeMatchFinishMyRotation;
break;
case Format.Avatar:
base.type = ApiType.Type.FreeMatchFinishAvatar;
break;
}
Data.FreeMatchFinish.data = null;
}
protected override int Parse()
{
int num = base.Parse();
if (IsEffectiveErrorCode(num))
{
return num;
}
Data.FreeMatchFinish.data = new FreeMatchFinishDetail();
if (!IsResponseDataExist(base.ResponseData))
{
return num;
}
new BattleFinishResponsProcessing().Processing(base.ResponseData, Data.FreeMatchFinish.data);
return num;
}
}