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.
33 lines
827 B
C#
33 lines
827 B
C#
using System.Collections.Generic;
|
|
using LitJson;
|
|
|
|
namespace Wizard;
|
|
|
|
public class ColosseumDeckEntryTask : BaseTask
|
|
{
|
|
public class ColosseumDeckEntryTaskParam : BaseParam
|
|
{
|
|
public string deck_no_list;
|
|
|
|
public bool is_published;
|
|
}
|
|
|
|
public ColosseumDeckEntryTask()
|
|
{
|
|
base.type = ApiType.Type.ColosseumDeckEntry;
|
|
}
|
|
|
|
public void SetParameter(List<DeckData> deckList, bool isPublished)
|
|
{
|
|
ColosseumDeckEntryTaskParam colosseumDeckEntryTaskParam = new ColosseumDeckEntryTaskParam();
|
|
List<int> list = new List<int>();
|
|
for (int i = 0; i < deckList.Count; i++)
|
|
{
|
|
list.Add(deckList[i].GetDeckID());
|
|
}
|
|
colosseumDeckEntryTaskParam.deck_no_list = JsonMapper.ToJson(list);
|
|
colosseumDeckEntryTaskParam.is_published = isPublished;
|
|
base.Params = colosseumDeckEntryTaskParam;
|
|
}
|
|
}
|