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.
40 lines
1012 B
C#
40 lines
1012 B
C#
using LitJson;
|
|
|
|
namespace Wizard;
|
|
|
|
public class ColosseumEntryTask : BaseTask
|
|
{
|
|
public class ColosseumEntryTaskParam : BaseParam
|
|
{
|
|
public int now_round_id;
|
|
|
|
public int consume_item_type;
|
|
}
|
|
|
|
public ColosseumEntryTask()
|
|
{
|
|
base.type = ApiType.Type.ColosseumEntry;
|
|
}
|
|
|
|
public void SetParameter(ArenaData.eARENA_PAY inPayType)
|
|
{
|
|
ColosseumEntryTaskParam colosseumEntryTaskParam = new ColosseumEntryTaskParam();
|
|
colosseumEntryTaskParam.consume_item_type = (int)inPayType;
|
|
colosseumEntryTaskParam.now_round_id = Data.ArenaData.ColosseumData.ServerRoundId;
|
|
base.Params = colosseumEntryTaskParam;
|
|
}
|
|
|
|
protected override int Parse()
|
|
{
|
|
int num = base.Parse();
|
|
if (num != 1)
|
|
{
|
|
return num;
|
|
}
|
|
PlayerStaticData.UpdateHaveUserGoodsNumByJsonData(base.ResponseData["data"]["reward_list"]);
|
|
JsonData jsonData = base.ResponseData["data"];
|
|
Data.ArenaData.ColosseumData.ApiRuleParseAndSet(jsonData["entry_info"]["deck_format"].ToInt());
|
|
return num;
|
|
}
|
|
}
|