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:
40
SVSim.BattleEngine/Engine/Wizard/FreeBattleDoMatchingTask.cs
Normal file
40
SVSim.BattleEngine/Engine/Wizard/FreeBattleDoMatchingTask.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
namespace Wizard;
|
||||
|
||||
public class FreeBattleDoMatchingTask : DoMatchingBase
|
||||
{
|
||||
public FreeBattleDoMatchingTask()
|
||||
{
|
||||
switch (Data.CurrentFormat)
|
||||
{
|
||||
case Format.Rotation:
|
||||
base.type = ApiType.Type.FreeBattleDoMatchingRotation;
|
||||
break;
|
||||
case Format.Unlimited:
|
||||
base.type = ApiType.Type.FreeBattleDoMatchingUnlimited;
|
||||
break;
|
||||
case Format.PreRotation:
|
||||
base.type = ApiType.Type.FreeBattleDoMatchingPreRotation;
|
||||
break;
|
||||
case Format.Crossover:
|
||||
base.type = ApiType.Type.FreeBattleDoMatchingCrossover;
|
||||
break;
|
||||
case Format.MyRotation:
|
||||
base.type = ApiType.Type.FreeBattleDoMatchingMyRotation;
|
||||
break;
|
||||
case Format.Avatar:
|
||||
base.type = ApiType.Type.FreeBattleDoMatchingAvatar;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected override int Parse()
|
||||
{
|
||||
int num = base.Parse();
|
||||
if (num != 1)
|
||||
{
|
||||
return num;
|
||||
}
|
||||
SettingDoMatchingData();
|
||||
return num;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user