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:
32
SVSim.BattleEngine/Engine/Wizard/MissionRetireTask.cs
Normal file
32
SVSim.BattleEngine/Engine/Wizard/MissionRetireTask.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
namespace Wizard;
|
||||
|
||||
public class MissionRetireTask : BaseTask
|
||||
{
|
||||
public class MissionRetireTaskParam : BaseParam
|
||||
{
|
||||
public int id;
|
||||
}
|
||||
|
||||
public MissionRetireTask()
|
||||
{
|
||||
base.type = ApiType.Type.MissionRetire;
|
||||
}
|
||||
|
||||
public void SetParameter(int id)
|
||||
{
|
||||
MissionRetireTaskParam missionRetireTaskParam = new MissionRetireTaskParam();
|
||||
missionRetireTaskParam.id = id;
|
||||
base.Params = missionRetireTaskParam;
|
||||
}
|
||||
|
||||
protected override int Parse()
|
||||
{
|
||||
int num = base.Parse();
|
||||
if (num != 1)
|
||||
{
|
||||
return num;
|
||||
}
|
||||
Data.MissionInfo.data = new MissionInfoDetail(base.ResponseData["data"]);
|
||||
return num;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user