Authored Unity primitive/object-model shim, VFX layer (control-flow-preserving, InstantVfx never invokes its action -- headless suppression), god-object stubs (GameMgr/EffectMgr/UIManager with faithfully-extracted nested enums), View/UI/Touch tree, LitJson+BetterList+Tuple copied, third-party stubs. Discovered Roslyn header-error masking: fixing class-header type errors unmasks body references, so the true copy closure is ~2570 files (was 782 under masking). Errors: masked-25720 -> 268; our shim files compile clean. Remaining: ~50 residual shim/external types, 24 NGUI UI-base overrides, static-type fixes, plus likely 1-2 more unmask waves.
33 lines
565 B
C#
33 lines
565 B
C#
using LitJson;
|
|
|
|
namespace Wizard.Scripts.Network.Data.TableData.Arena.TwoPick;
|
|
|
|
public class CandidateCard
|
|
{
|
|
public int id;
|
|
|
|
public int turn;
|
|
|
|
public int setNum;
|
|
|
|
public int cardId1;
|
|
|
|
public int cardId2;
|
|
|
|
public bool isSelected;
|
|
|
|
public CandidateCard()
|
|
{
|
|
}
|
|
|
|
public CandidateCard(JsonData data)
|
|
{
|
|
id = data["id"].ToInt();
|
|
turn = data["turn"].ToInt();
|
|
setNum = data["set_num"].ToInt();
|
|
cardId1 = data["card_id_1"].ToInt();
|
|
cardId2 = data["card_id_2"].ToInt();
|
|
isSelected = data["is_selected"].ToInt() == 1;
|
|
}
|
|
}
|