// Token: 0x0600E0D4 RID: 57556 RVA: 0x003C9744 File Offset: 0x003C7944
		public void InitRoomToggleInfo(int roomId)
		{
			if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitRoomToggleInfoInt32_hotfix != null)
			{
				this.m_InitRoomToggleInfoInt32_hotfix.call(new object[]
				{
					this,
					roomId
				});
				return;
			}
			BJLuaObjHelper.IsSkipLuaHotfix = false;
			ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext;
			TrainingRoom trainingRoomById = projectLPlayerContext.GetTrainingRoomById(roomId);
			if (trainingRoomById == null)
			{
				return;
			}
			this.Room = trainingRoomById;
			bool locked = trainingRoomById.Locked;
			if (locked)
			{
				this.m_stateCtrl.SetToUIState("Grey", false, true);
			}
			else
			{
				this.m_stateCtrl.SetToUIState("Normal", false, true);
			}
			this.m_lvValueText.text = trainingRoomById.Level.ToString();
			this.m_toggle.interactable = !locked;
			this.m_redMark.SetActive(projectLPlayerContext.CanTrainingRoomLevelup(trainingRoomById));
		}