Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
39 lines
830 B
C#
39 lines
830 B
C#
namespace Wizard;
|
|
|
|
public class DeckOrderTask : BaseTask
|
|
{
|
|
public class DeckOrderTaskParam : BaseParam
|
|
{
|
|
public int[] deck_order;
|
|
|
|
public int deck_format;
|
|
}
|
|
|
|
private Format _updateDeckFormat;
|
|
|
|
public DeckOrderTask()
|
|
{
|
|
base.type = ApiType.Type.DeckOrder;
|
|
}
|
|
|
|
public void SetParameter(int[] deck_order, Format format)
|
|
{
|
|
DeckOrderTaskParam deckOrderTaskParam = new DeckOrderTaskParam();
|
|
deckOrderTaskParam.deck_order = deck_order;
|
|
deckOrderTaskParam.deck_format = Data.FormatConvertApi(format);
|
|
_updateDeckFormat = format;
|
|
base.Params = deckOrderTaskParam;
|
|
}
|
|
|
|
protected override int Parse()
|
|
{
|
|
int num = base.Parse();
|
|
if (num != 1)
|
|
{
|
|
return num;
|
|
}
|
|
DeckListUtility.ParseDeckInfoResponceData(base.ResponseData["data"], _updateDeckFormat);
|
|
return num;
|
|
}
|
|
}
|