活动:七天乐添加字段
This commit is contained in:
@@ -20,6 +20,7 @@ export class SevenDaysDailyItem {
|
||||
taskParam: string; //任务数据 dic_zyz_taskType.json
|
||||
condition: number; //任务数据条件 dic_zyz_taskType.jsonT
|
||||
reward: string; // 任务奖励,格式:1&3&1(类型&id&数量) 类型定义:1.英雄,2.物品
|
||||
skip: string; // 跳转
|
||||
|
||||
totalCount: number = 0; //完成任务累计次数
|
||||
receiveRewardCount: number = 0; //领取奖励次数
|
||||
@@ -32,6 +33,8 @@ export class SevenDaysDailyItem {
|
||||
this.taskParam = data.taskParam;
|
||||
this.condition = data.condition;
|
||||
this.reward = data.reward;
|
||||
this.skip = data.skip;
|
||||
|
||||
this.totalCount = 0;
|
||||
this.receiveRewardCount = 0;
|
||||
}
|
||||
@@ -190,6 +193,7 @@ export class SevenDaysGrowthItem {
|
||||
point: number; // 任务达成获得的奖章数量,只在当前活动中有用,虚拟
|
||||
reward: string; // 任务奖励,格式:1&3&1(类型&id&数量) 类型定义:1.英雄,2.物品
|
||||
taskParamArray: number[];
|
||||
skip: string; // 跳转
|
||||
|
||||
totalCount: number = 0; //完成任务累计次数
|
||||
receiveRewardCount: number = 0; //领取奖励次数
|
||||
@@ -203,6 +207,7 @@ export class SevenDaysGrowthItem {
|
||||
this.condition = data.condition;
|
||||
this.point = data.point;
|
||||
this.reward = data.reward;
|
||||
this.skip = data.skip;
|
||||
this.totalCount = 0;
|
||||
this.receiveRewardCount = 0;
|
||||
this.taskParamArray = splitString(data.taskParam, '&')
|
||||
|
||||
Reference in New Issue
Block a user