Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
38 lines
915 B
C#
38 lines
915 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cute;
|
|
|
|
namespace Wizard;
|
|
|
|
public class AISkillProcessInformation
|
|
{
|
|
private List<Action> _executingAction;
|
|
|
|
public AISituationTriggerInformation TriggerInfo { get; private set; }
|
|
|
|
public AIOwnSkillProcessRecord OwnProcessRecord { get; private set; }
|
|
|
|
public AISkillProcessInformation(AISituationTriggerInformation triggerInfo)
|
|
{
|
|
TriggerInfo = triggerInfo;
|
|
OwnProcessRecord = new AIOwnSkillProcessRecord();
|
|
}
|
|
|
|
public void AddExecutingAction(Action action)
|
|
{
|
|
_executingAction = AIParamQuery.AddElementToList(action, _executingAction);
|
|
}
|
|
|
|
public void ExecuteAllAction(AISituationInfo situation)
|
|
{
|
|
if (_executingAction != null && _executingAction.Count > 0)
|
|
{
|
|
situation.SetExecutingSkillProcess(this);
|
|
for (int i = 0; i < _executingAction.Count; i++)
|
|
{
|
|
_executingAction[i].Call();
|
|
}
|
|
}
|
|
}
|
|
}
|