活动:添加新任务统计

This commit is contained in:
qiaoxin
2021-06-18 19:56:27 +08:00
parent b4578f053a
commit d20d8cb76f
5 changed files with 26 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ export class RefreshTaskItem {
taskParam: string; //任务数据 dic_zyz_taskType.json
condition: number; //任务数据条件 dic_zyz_taskType.jsonT
reward: string; // 任务奖励,格式:1&3&1(类型&id&数量) 类型定义:1.英雄2.物品
skip: number; //跳转客户端用
totalCount: number = 0; //完成任务累计次数
receiveRewardCount: number = 0; //领取奖励次数
@@ -26,6 +27,7 @@ export class RefreshTaskItem {
this.taskParam = data.taskParam;
this.condition = data.condition;
this.reward = data.reward;
this.skip = data.skip;
this.totalCount = 0;
this.receiveRewardCount = 0;
}