活动:添加新任务统计
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user