コード例 #1
0
 // Token: 0x060121DE RID: 74206 RVA: 0x004AA960 File Offset: 0x004A8B60
 public void UpdateItemInfo(int headFrameId, bool isLock, bool isSelected)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateItemInfoInt32BooleanBoolean_hotfix != null)
     {
         this.m_UpdateItemInfoInt32BooleanBoolean_hotfix.call(new object[]
         {
             this,
             headFrameId,
             isLock,
             isSelected
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.HeadFrameId = headFrameId;
     UIUtility.SetPlayerHeadFrame(this.m_headFrameTransform, headFrameId, false, (!isLock) ? "Normal" : "Lock");
     if (this.AutoInitLocalizedString && this.m_headFrameTransform.gameObject != null)
     {
         UIControllerBase.InitLocalizedString(this.m_headFrameTransform.gameObject);
     }
     this.m_toggle.isOn = isSelected;
 }