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.
65 lines
1.5 KiB
C#
65 lines
1.5 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Wizard;
|
|
|
|
public class AIOwnSkillProcessRecord
|
|
{
|
|
public List<AIVirtualCard> OwnDestroyedCards { get; private set; }
|
|
|
|
public List<AIVirtualCard> OwnBanishedCards { get; private set; }
|
|
|
|
public List<AIVirtualCard> OwnSummonedCards { get; private set; }
|
|
|
|
public List<AIVirtualCard> OwnLatestSummonedCards { get; private set; }
|
|
|
|
public List<AIVirtualCard> OwnLatestDrewCards { get; private set; }
|
|
|
|
public List<AIVirtualCard> LatestTargets { get; private set; }
|
|
|
|
public int DefaultDamage { get; private set; } = -1;
|
|
|
|
public void AddOwnDestroyedCard(AIVirtualCard card)
|
|
{
|
|
OwnDestroyedCards = AIParamQuery.AddElementToList(card, OwnDestroyedCards);
|
|
}
|
|
|
|
public void AddOwnBanishedCard(AIVirtualCard card)
|
|
{
|
|
OwnBanishedCards = AIParamQuery.AddElementToList(card, OwnBanishedCards);
|
|
}
|
|
|
|
public void AddOwnSummonedCards(List<AIVirtualCard> list)
|
|
{
|
|
OwnSummonedCards = AIParamQuery.AddRangeToList(list, OwnSummonedCards);
|
|
OwnLatestSummonedCards = list;
|
|
}
|
|
|
|
public void AddOwnDrewCards(List<AIVirtualCard> list)
|
|
{
|
|
OwnLatestDrewCards = list;
|
|
}
|
|
|
|
public void RegisterSingleLatestTarget(AIVirtualCard card)
|
|
{
|
|
if (LatestTargets != null)
|
|
{
|
|
LatestTargets.Clear();
|
|
}
|
|
else
|
|
{
|
|
LatestTargets = new List<AIVirtualCard>();
|
|
}
|
|
LatestTargets.Add(card);
|
|
}
|
|
|
|
public void RegisterLatestTargetList(List<AIVirtualCard> list)
|
|
{
|
|
LatestTargets = list;
|
|
}
|
|
|
|
public void RegisterDefaultDamage(int damage)
|
|
{
|
|
DefaultDamage = damage;
|
|
}
|
|
}
|