// Token: 0x0600A254 RID: 41556 RVA: 0x002DCC5C File Offset: 0x002DAE5C
        public void UpdateView()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateView_hotfix != null)
            {
                this.m_UpdateView_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext;
            IConfigDataLoader     configDataLoader      = GameManager.Instance.ConfigDataLoader as IConfigDataLoader;
            int num     = configDataLoader.UtilityGetConfigableConst(ConfigableConstId.ConfigableConstId_BagMaxCapacity);
            int bagSize = projectLPlayerContext.GetBagSize();

            this.m_countText.text = bagSize + "/" + num;
            if (bagSize <= num)
            {
                this.m_countStateCtrl.SetToUIState("Normal", false, true);
            }
            else
            {
                this.m_countStateCtrl.SetToUIState("Full", false, true);
            }
            this.m_countText.text    = bagSize.ToString();
            this.m_countMaxText.text = num.ToString();
        }