[trim] fully-unreachable files deleted: 6 [trim] files edited: 55, files deleted: 0, nodes removed: 244 [type-trim] files edited: 1, types removed: 1 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
29 lines
514 B
C#
29 lines
514 B
C#
using System.Collections.Generic;
|
|
using LitJson;
|
|
|
|
namespace Wizard;
|
|
|
|
public class CardCreateTask : BaseTask
|
|
{
|
|
public class CardCreateTaskParam : BaseParam
|
|
{
|
|
public string card_id_number_array;
|
|
}
|
|
|
|
public CardCreateTask()
|
|
{
|
|
base.type = ApiType.Type.CardCreate;
|
|
}
|
|
|
|
protected override int Parse()
|
|
{
|
|
int num = base.Parse();
|
|
if (num != 1)
|
|
{
|
|
return num;
|
|
}
|
|
PlayerStaticData.UpdateHaveUserGoodsNumByJsonData(base.ResponseData["data"]["reward_list"]);
|
|
return num;
|
|
}
|
|
}
|