From b7ffa4a2a98b3706928a85cb656590abfa6d55f9 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 31 八月 2018 15:34:21 +0800
Subject: [PATCH] 3149 【前端】日常界面骑宠争夺活动未开启时显示
---
System/DailyQuest/DailyQuestModel.cs | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/System/DailyQuest/DailyQuestModel.cs b/System/DailyQuest/DailyQuestModel.cs
index a8c7133..98e04a6 100644
--- a/System/DailyQuest/DailyQuestModel.cs
+++ b/System/DailyQuest/DailyQuestModel.cs
@@ -30,26 +30,31 @@
public Redpoint trialExchangeRedpoint = new Redpoint(EVERYDAY_REDPOINTID, TRIALEXCHANGE_REDPOINTID);
int m_DailyQuestTotalActiveValue = 150;
- public int dailyQuestTotalActiveValue {
+ public int dailyQuestTotalActiveValue
+ {
get { return m_DailyQuestTotalActiveValue; }
}
int m_CurrentDailyQuest = 0;
- public int currentDailyQuest {
+ public int currentDailyQuest
+ {
get { return this.m_CurrentDailyQuest; }
set { this.m_CurrentDailyQuest = value; }
}
int m_CurrentRewardStageIndex = 0;
- public int currentRewardStageIndex {
+ public int currentRewardStageIndex
+ {
get { return m_CurrentRewardStageIndex; }
private set { m_CurrentRewardStageIndex = value; }
}
int m_TotalActiveValue = 0;
- public int totalActiveValue {
+ public int totalActiveValue
+ {
get { return m_TotalActiveValue; }
- private set {
+ private set
+ {
if (m_TotalActiveValue != value)
{
m_TotalActiveValue = value;
@@ -63,9 +68,11 @@
}
int m_GotableRealmPoint;
- public int gotableRealmPoint {
+ public int gotableRealmPoint
+ {
get { return m_GotableRealmPoint; }
- private set {
+ private set
+ {
if (m_GotableRealmPoint != value)
{
m_GotableRealmPoint = value;
@@ -857,7 +864,7 @@
{
var type = (DailyQuestType)_dailyQuestId;
var dailyConfig = Config.Instance.Get<DailyQuestConfig>(_dailyQuestId);
- if (type == DailyQuestType.FairyFeast || type == DailyQuestType.FairyLeague || type == DailyQuestType.FairyTask)
+ if (type == DailyQuestType.FairyFeast || type == DailyQuestType.FairyLeague || type == DailyQuestType.FairyTask || type == DailyQuestType.FairyGrabBoss)
{
if (PlayerDatas.Instance.fairyData.HasFairy)
{
--
Gitblit v1.8.0