public void HandleFollowerDataChanged()
        {
            WrapperGarrisonFollower wrapperGarrisonFollower;

            if (!this.m_popupView.activeSelf)
            {
                return;
            }
            FollowerExperienceDisplay[] componentsInChildren = this.m_followerExperienceDisplayArea.GetComponentsInChildren <FollowerExperienceDisplay>(true);
            int num = 0;

            FollowerExperienceDisplay[] followerExperienceDisplayArray = componentsInChildren;
            for (int i = 0; i < (int)followerExperienceDisplayArray.Length; i++)
            {
                FollowerExperienceDisplay followerExperienceDisplay = followerExperienceDisplayArray[i];
                if (PersistentFollowerData.preMissionFollowerDictionary.ContainsKey(followerExperienceDisplay.GetFollowerID()))
                {
                    WrapperGarrisonFollower item = PersistentFollowerData.preMissionFollowerDictionary[followerExperienceDisplay.GetFollowerID()];
                    wrapperGarrisonFollower = (!PersistentFollowerData.followerDictionary.ContainsKey(followerExperienceDisplay.GetFollowerID()) ? new WrapperGarrisonFollower()
                    {
                        GarrFollowerID = item.GarrFollowerID,
                        Quality = item.Quality,
                        Durability = 0
                    } : PersistentFollowerData.followerDictionary[followerExperienceDisplay.GetFollowerID()]);
                    followerExperienceDisplay.SetFollower(item, wrapperGarrisonFollower, (float)num * this.m_experienceDisplayEntranceDelay);
                    num++;
                }
            }
        }
        private void InitFollowerExperienceDisplays()
        {
            int num = 0;

            foreach (WrapperGarrisonFollower value in PersistentFollowerData.preMissionFollowerDictionary.Values)
            {
                if (value.CurrentMissionID == this.m_garrMissionID)
                {
                    GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.m_followerExperienceDisplayPrefab);
                    FollowerExperienceDisplay component     = gameObject.GetComponent <FollowerExperienceDisplay>();
                    FancyEntrance             fancyEntrance = gameObject.GetComponent <FancyEntrance>();
                    float mExperienceDisplayEntranceDelay   = (float)num * this.m_experienceDisplayEntranceDelay;
                    fancyEntrance.m_timeToDelayEntrance = mExperienceDisplayEntranceDelay;
                    fancyEntrance.Activate();
                    component.SetFollower(value, value, mExperienceDisplayEntranceDelay);
                    component.transform.SetParent(this.m_followerExperienceDisplayArea.transform, false);
                    num++;
                }
            }
        }
        private void InitFollowerExperienceDisplays()
        {
            int num = 0;

            foreach (WrapperGarrisonFollower wrapperGarrisonFollower in PersistentFollowerData.preMissionFollowerDictionary.Values)
            {
                if (wrapperGarrisonFollower.CurrentMissionID == this.m_garrMissionID)
                {
                    GameObject gameObject = Object.Instantiate <GameObject>(this.m_followerExperienceDisplayPrefab);
                    FollowerExperienceDisplay component  = gameObject.GetComponent <FollowerExperienceDisplay>();
                    FancyEntrance             component2 = gameObject.GetComponent <FancyEntrance>();
                    float num2 = (float)num * this.m_experienceDisplayEntranceDelay;
                    component2.m_timeToDelayEntrance = num2;
                    component2.Activate();
                    component.SetFollower(wrapperGarrisonFollower, wrapperGarrisonFollower, num2);
                    component.transform.SetParent(this.m_followerExperienceDisplayArea.transform, false);
                    num++;
                }
            }
        }