| | |
| | | Redpoint lootPreciousRedpoint = new Redpoint(LOOTPRECIOUs_REDPOINTID);
|
| | |
|
| | | int m_ViewKillRecordsBoss = 0;
|
| | | public int ViewKillRecordsBoss
|
| | | {
|
| | | public int ViewKillRecordsBoss {
|
| | | get { return this.m_ViewKillRecordsBoss; }
|
| | | set { this.m_ViewKillRecordsBoss = value; }
|
| | | }
|
| | |
| | | public List<BossNotify> bossNotifies = new List<BossNotify>();
|
| | |
|
| | | BossNotify m_CurrentBossNotify = default(BossNotify);
|
| | | public BossNotify currentBossNotify
|
| | | {
|
| | | public BossNotify currentBossNotify {
|
| | | get { return m_CurrentBossNotify; }
|
| | | private set
|
| | | {
|
| | | private set {
|
| | | if (m_CurrentBossNotify != value)
|
| | | {
|
| | | m_CurrentBossNotify = value;
|
| | |
| | | private void UpdateRedpoint(int _redpointId)
|
| | | {
|
| | | if (_redpointId == WorldBossModel.WORLDBOSS_REDPOINT ||
|
| | | _redpointId == PersonalBossModel.PERSONAL_REDPOINTID)
|
| | | _redpointId == PersonalBossModel.PERSONAL_REDPOINTID ||
|
| | | _redpointId == DemonJarModel.DEMONJAR_REDPOINTID
|
| | | )
|
| | | {
|
| | | var worldBossRedpointCount = worldBossModel.worldBossRedPoint.count;
|
| | | var personalBossRedpointCount = personalBossModel.personalRedpoint.count;
|
| | | var totalCount = worldBossRedpointCount + personalBossRedpointCount;
|
| | | var demonJarRedpointCount = demonJarModel.redpoint.count;
|
| | |
|
| | | var totalCount = worldBossRedpointCount + personalBossRedpointCount + demonJarRedpointCount;
|
| | | findPreciousRedpoint.state = totalCount > 0 ? RedPointState.Quantity : RedPointState.None;
|
| | | findPreciousRedpoint.count = totalCount;
|
| | | }
|
| | |
|
| | | if (_redpointId == DemonJarModel.DEMONJAR_REDPOINTID ||
|
| | | _redpointId == DogzDungeonModel.DOGZDUNGEON_REDPOINT ||
|
| | | if (_redpointId == DogzDungeonModel.DOGZDUNGEON_REDPOINT ||
|
| | | _redpointId == JadeDynastyBossModel.JADEDYNASTY_REDPOINTID)
|
| | | {
|
| | | var demonJarRedpointCount = demonJarModel.redpoint.count;
|
| | | var dogzDungeonRedpointCount = dogzDungeonModel.redpoint.count;
|
| | | var jadeDynastyBossRedpointCount = jadeDynastyBossModel.redpoint.count;
|
| | | var totalCount = demonJarRedpointCount + dogzDungeonRedpointCount + jadeDynastyBossRedpointCount;
|
| | | var totalCount = dogzDungeonRedpointCount + jadeDynastyBossRedpointCount;
|
| | |
|
| | | lootPreciousRedpoint.count = totalCount;
|
| | | lootPreciousRedpoint.state = totalCount > 0 ? RedPointState.Quantity : RedPointState.None;
|