| | |
| | | //public readonly Redpoint realmPoolRedpoint = new Redpoint(114, 11403);
|
| | | public readonly Redpoint realmDailyRedpoint = new Redpoint(114, 11404);
|
| | | public readonly Redpoint xxzlRedpoint = new Redpoint(114, 11405);
|
| | | public readonly Redpoint towerRedpoint = new Redpoint(114, 11406);
|
| | |
|
| | | int m_SelectRealm = 0;
|
| | | public int selectRealm
|
| | |
| | | {
|
| | | redpointDirty = true;
|
| | | }
|
| | |
|
| | | if (dataType == PlayerDataType.RealmLevel)
|
| | | {
|
| | | //显示不超过当前的大境界塔层
|
| | | var config = RealmTowerConfig.Get(currentFloor);
|
| | | if (config != null)
|
| | | {
|
| | | int largeRealm = Math.Max(1, RealmConfig.Get(RealmTowerConfig.Get(currentFloor).NeedRealmLV).LvLarge);
|
| | | int largeRealmNow = Math.Max(1, RealmConfig.Get(PlayerDatas.Instance.baseData.realmLevel).LvLarge);
|
| | | if (largeRealm > largeRealmNow)
|
| | | {
|
| | | selectFloorID = passedFloor;
|
| | | }
|
| | | else
|
| | | {
|
| | | selectFloorID = currentFloor;
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | selectFloorID = passedFloor;
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | private void RefreshItemCountEvent(PackType packType, int arg2, int itemId)
|
| | |
| | | levelUpRedpoint.state = RedPointState.None;
|
| | | challengeRedpoint.state = RedPointState.None;
|
| | | realmDailyRedpoint.state = RedPointState.None;
|
| | | towerRedpoint.state = RedPointState.None;
|
| | |
|
| | | if (!IsRealmXXZLOver())
|
| | | return;
|
| | |
| | | {
|
| | | dailyRedpointable = true;
|
| | | }
|
| | | }
|
| | |
|
| | | if (GetErrorOfChallenge() == 0)
|
| | | {
|
| | | towerRedpoint.state = RedPointState.Simple;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | selectFloorID = passedFloor;
|
| | | }
|
| | | |
| | | RefreshRedpoint();
|
| | | OnTowerPassEvent?.Invoke();
|
| | | }
|
| | |
|