// Token: 0x060132C9 RID: 78537 RVA: 0x004E2CFC File Offset: 0x004E0EFC
        public void SetHeroSkinItemInfo(FixedStoreItem fixedStoreItem)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetHeroSkinItemInfoFixedStoreItem_hotfix != null)
            {
                this.m_SetHeroSkinItemInfoFixedStoreItem_hotfix.call(new object[]
                {
                    this,
                    fixedStoreItem
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            ConfigDataFixedStoreItemInfo configDataFixedStoreItemInfo = this.m_configDataLoader.GetConfigDataFixedStoreItemInfo(fixedStoreItem.Id);

            if (configDataFixedStoreItemInfo != null && configDataFixedStoreItemInfo.ItemType == GoodsType.GoodsType_HeroSkin)
            {
                this.m_storeItemConfig = configDataFixedStoreItemInfo;
                this.m_storeType       = StoreType.StoreType_Static;
                ConfigDataHeroSkinInfo configDataHeroSkinInfo = this.m_configDataLoader.GetConfigDataHeroSkinInfo(this.m_storeItemConfig.ItemId);
                ConfigDataCharImageSkinResourceInfo configDataCharImageSkinResourceInfo = this.m_configDataLoader.GetConfigDataCharImageSkinResourceInfo(configDataHeroSkinInfo.CharImageSkinResource_ID);
                this.m_heroSkinIcon.sprite = AssetUtility.Instance.GetSprite(configDataCharImageSkinResourceInfo.Image);
                ConfigDataHeroInfo configDataHeroInfo = this.m_configDataLoader.GetConfigDataHeroInfo(configDataHeroSkinInfo.SpecifiedHero);
                this.m_heroName.text  = configDataHeroInfo.Name;
                this.m_skinName.text  = this.m_storeItemConfig.Name;
                this.m_priceText.text = this.m_storeItemConfig.NormalPrice.ToString();
                this.SetItemState();
                base.gameObject.SetActive(true);
            }
        }
 // Token: 0x0600BC1F RID: 48159 RVA: 0x0034BBCC File Offset: 0x00349DCC
 public void CreateGraphic(ConfigDataCharImageInfo charImageInfo, ConfigDataCharImageSkinResourceInfo skinResInfo)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_CreateGraphicConfigDataCharImageInfoConfigDataCharImageSkinResourceInfo_hotfix != null)
     {
         this.m_CreateGraphicConfigDataCharImageInfoConfigDataCharImageSkinResourceInfo_hotfix.call(new object[]
         {
             this,
             charImageInfo,
             skinResInfo
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.DestroyGraphic();
     if (charImageInfo == null)
     {
         return;
     }
     if (!string.IsNullOrEmpty(charImageInfo.Spine))
     {
         string text = string.Empty;
         if (skinResInfo != null)
         {
             text = skinResInfo.SpineAssetPath;
         }
         if (string.IsNullOrEmpty(text))
         {
             text = charImageInfo.Spine;
         }
         this.m_spineGraphic = new UISpineGraphic();
         this.m_spineGraphic.Create(text);
         this.m_spineGraphic.SetParent(base.gameObject);
         this.m_spineGraphic.SetScale((float)charImageInfo.CombatScale * 0.01f);
         this.m_spineGraphic.SetPosition(new Vector3(0f, (float)charImageInfo.CombatYOffset, 0f));
         this.m_image.gameObject.SetActive(false);
     }
     else if (!string.IsNullOrEmpty(charImageInfo.Image))
     {
         this.m_image.sprite = AssetUtility.Instance.GetSprite(charImageInfo.Image);
         this.m_image.gameObject.SetActive(this.m_image.sprite != null);
     }
     this.m_animationName = string.Empty;
 }
    public static int GetHeroCharImageSkinResourceInfo_s(IntPtr l)
    {
        int result;

        try
        {
            IConfigDataLoader configDataLoader;
            LuaObject.checkType <IConfigDataLoader>(l, 1, out configDataLoader);
            int charSkinId;
            LuaObject.checkType(l, 2, out charSkinId);
            ConfigDataCharImageSkinResourceInfo heroCharImageSkinResourceInfo = BattleUtility.GetHeroCharImageSkinResourceInfo(configDataLoader, charSkinId);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, heroCharImageSkinResourceInfo);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }