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.
40 lines
779 B
C#
40 lines
779 B
C#
namespace Wizard;
|
|
|
|
public class AIVirtualTurnEndInfo : AIVirtualActionInfo
|
|
{
|
|
public AIVirtualTurnEndInfo(AIVirtualCard leader)
|
|
: base(leader, AIOperationType.TURNEND, null)
|
|
{
|
|
}
|
|
|
|
public override ulong GetHash()
|
|
{
|
|
return 9999991uL;
|
|
}
|
|
|
|
public bool Validate(AIVirtualTurnEndInfo info)
|
|
{
|
|
if (info == null)
|
|
{
|
|
return false;
|
|
}
|
|
if (info.Actor == null || base.Actor == null)
|
|
{
|
|
return false;
|
|
}
|
|
if (!base.Actor.IsSameCard(info.Actor))
|
|
{
|
|
return false;
|
|
}
|
|
if (base.CurrentCheckCard == null && info.CurrentCheckCard == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (base.CurrentCheckCard != null && info.CurrentCheckCard != null)
|
|
{
|
|
return base.CurrentCheckCard.IsSameCard(info.CurrentCheckCard);
|
|
}
|
|
return false;
|
|
}
|
|
}
|