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,47 @@
using System;
using Wizard.Story;
namespace Wizard;
public class StorySectionTask : BaseTask
{
public class StorySectionTaskParam : BaseParam
{
public bool is_disp_first_tips;
}
public StorySectionTask(SelectedStoryInfo storyInfo)
{
base.type = GetApiType(storyInfo.StoryEntranceType);
}
private static ApiType.Type GetApiType(StoryEntranceType storyType)
{
return storyType switch
{
StoryEntranceType.AllStory => ApiType.Type.AllStorySection,
StoryEntranceType.MainStory => ApiType.Type.MainStorySection,
StoryEntranceType.LimitedStory => ApiType.Type.LimitedStorySection,
StoryEntranceType.EventStory => ApiType.Type.EventStorySection,
_ => throw new NotImplementedException(),
};
}
public void SetParameter(bool isDispFirstTips)
{
StorySectionTaskParam storySectionTaskParam = new StorySectionTaskParam();
storySectionTaskParam.is_disp_first_tips = isDispFirstTips;
base.Params = storySectionTaskParam;
}
protected override int Parse()
{
int num = base.Parse();
if (num != 1)
{
return num;
}
Data.StoryWorldDataManager.SetData(base.ResponseData["data"]);
return num;
}
}