// Token: 0x0600962E RID: 38446 RVA: 0x002AFF58 File Offset: 0x002AE158 public void SetHeroWrap(HeroArchiveUIController.HeroWrap heroWrap) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetHeroWrapHeroWrap_hotfix != null) { this.m_SetHeroWrapHeroWrap_hotfix.call(new object[] { this, heroWrap }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_heroWrap = heroWrap; }
public static int get_isUnlocked(IntPtr l) { int result; try { HeroArchiveUIController.HeroWrap heroWrap = (HeroArchiveUIController.HeroWrap)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, heroWrap.isUnlocked); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { HeroArchiveUIController.HeroWrap o = new HeroArchiveUIController.HeroWrap(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_hero(IntPtr l) { int result; try { HeroArchiveUIController.HeroWrap heroWrap = (HeroArchiveUIController.HeroWrap)LuaObject.checkSelf(l); ConfigDataHeroInfo hero; LuaObject.checkType <ConfigDataHeroInfo>(l, 2, out hero); heroWrap.hero = hero; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_isSelect(IntPtr l) { int result; try { HeroArchiveUIController.HeroWrap heroWrap = (HeroArchiveUIController.HeroWrap)LuaObject.checkSelf(l); bool isSelect; LuaObject.checkType(l, 2, out isSelect); heroWrap.isSelect = isSelect; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }