コード例 #1
0
 // Token: 0x06012F94 RID: 77716 RVA: 0x004D9944 File Offset: 0x004D7B44
 private void DestroySpineGraphic(ref UISpineGraphic m_graphic)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_DestroySpineGraphicUISpineGraphic__hotfix != null)
     {
         LuaDelegation.Lua_BlackJack_ProjectL_UI_HeroSimpleItemInfoUIController_DestroySpineGraphic_UISpineGraphic(this, this.m_DestroySpineGraphicUISpineGraphic__hotfix, ref m_graphic);
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (m_graphic != null)
     {
         m_graphic.Destroy();
         m_graphic = null;
     }
 }
コード例 #2
0
    public static int Destroy(IntPtr l)
    {
        int result;

        try
        {
            UISpineGraphic uispineGraphic = (UISpineGraphic)LuaObject.checkSelf(l);
            uispineGraphic.Destroy();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #3
0
 // Token: 0x0600D7A8 RID: 55208 RVA: 0x003AB5CC File Offset: 0x003A97CC
 private void DestroySpineGraphic(UISpineGraphic g)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_DestroySpineGraphicUISpineGraphic_hotfix != null)
     {
         this.m_DestroySpineGraphicUISpineGraphic_hotfix.call(new object[]
         {
             this,
             g
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (g != null)
     {
         g.Destroy();
     }
 }