feat(battle-engine): copy-loop closure to 3282 files (member-surface frontier)

This commit is contained in:
gamer147
2026-06-05 20:41:25 -04:00
parent 3dcd53933a
commit f9982f5249
41 changed files with 3030 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
namespace Wizard;
public class CompetitionPermanentEntryTask : BaseTask
{
public class CompetitionPermanentEntryTaskParam : BaseParam
{
public int consume_item_type;
}
public CompetitionPermanentEntryTask()
{
base.type = ApiType.Type.CompetitionPermanentEntry;
}
public void SetParameter(ArenaData.eARENA_PAY inPayType)
{
CompetitionPermanentEntryTaskParam competitionPermanentEntryTaskParam = new CompetitionPermanentEntryTaskParam();
competitionPermanentEntryTaskParam.consume_item_type = (int)inPayType;
base.Params = competitionPermanentEntryTaskParam;
}
protected override int Parse()
{
int num = base.Parse();
if (num != 1)
{
return num;
}
PlayerStaticData.UpdateHaveUserGoodsNumByJsonData(base.ResponseData["data"]["reward_list"]);
Data.ArenaData.CompetitionData.SetRestChallangeCountByEntry(base.ResponseData["data"]);
return num;
}
}