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
1.0 KiB
C#
40 lines
1.0 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Wizard;
|
|
|
|
public class GiftTransition : Master.ReadFromCsv
|
|
{
|
|
public class TransitionButton
|
|
{
|
|
public string _text;
|
|
|
|
public SceneTransition.TransitionData _transitionData;
|
|
}
|
|
|
|
public int _rewardType;
|
|
|
|
public int _rewardDetailId;
|
|
|
|
public List<TransitionButton> _buttons = new List<TransitionButton>();
|
|
|
|
public void ReadCsvColumns(string[] columns)
|
|
{
|
|
int num = 1;
|
|
_rewardType = int.Parse(columns[num++]);
|
|
int.TryParse(columns[num++], out _rewardDetailId);
|
|
string text = columns[num++];
|
|
while (!string.IsNullOrEmpty(text))
|
|
{
|
|
TransitionButton transitionButton = new TransitionButton();
|
|
transitionButton._text = text;
|
|
transitionButton._transitionData = new SceneTransition.TransitionData(columns[num++]);
|
|
if (int.TryParse(columns[num++], out var result))
|
|
{
|
|
transitionButton._transitionData.Status = result;
|
|
}
|
|
_buttons.Add(transitionButton);
|
|
text = ((num >= columns.Length) ? null : columns[num++]);
|
|
}
|
|
}
|
|
}
|