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.
33 lines
624 B
C#
33 lines
624 B
C#
using System.Linq;
|
|
|
|
namespace Wizard;
|
|
|
|
public class CardPrm
|
|
{
|
|
public int Id { get; private set; }
|
|
|
|
public bool IsEvolve { get; private set; }
|
|
|
|
public int ChantCount { get; private set; } = -1;
|
|
|
|
public CardPrm(string cardPrmText)
|
|
{
|
|
if (cardPrmText.Contains('_'))
|
|
{
|
|
string[] array = cardPrmText.Split('_');
|
|
Id = int.Parse(array[0]);
|
|
IsEvolve = array[1] == "1";
|
|
}
|
|
else if (cardPrmText.Contains('|'))
|
|
{
|
|
string[] array2 = cardPrmText.Split('|');
|
|
Id = int.Parse(array2[0]);
|
|
ChantCount = int.Parse(array2[1]);
|
|
}
|
|
else
|
|
{
|
|
Id = int.Parse(cardPrmText);
|
|
}
|
|
}
|
|
}
|