// Token: 0x060117A6 RID: 71590 RVA: 0x004869F8 File Offset: 0x00484BF8 private void CreateSpineGraphic(ConfigDataHeroTrainningInfo heroTrainningInfo) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_CreateSpineGraphicConfigDataHeroTrainningInfo_hotfix != null) { this.m_CreateSpineGraphicConfigDataHeroTrainningInfo_hotfix.call(new object[] { this, heroTrainningInfo }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.DestroySpineGraphic(); if (heroTrainningInfo == null) { return; } float num = (float)heroTrainningInfo.UI_ModelScale * 0.01f; Vector2 position = new Vector2((float)heroTrainningInfo.UI_ModelOffsetX, (float)heroTrainningInfo.UI_ModelOffsetY); this.m_graphic = new UISpineGraphic(); this.m_graphic.Create(heroTrainningInfo.Model); this.m_graphic.SetParent(this.m_charGo); this.m_graphic.SetDirection(1); this.m_graphic.SetPosition(position); this.m_graphic.SetScale(num); this.m_graphic.SetRectTransformSize(new Vector2(500f / num, 500f / num)); this.m_graphic.PlayAnimation("idle_Normal", true, 0); this.m_graphic.ForceUpdate(); }
// Token: 0x060117A5 RID: 71589 RVA: 0x00486980 File Offset: 0x00484B80 public void SetHeroTrainning(ConfigDataHeroTrainningInfo heroTrainningInfo) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetHeroTrainningConfigDataHeroTrainningInfo_hotfix != null) { this.m_SetHeroTrainningConfigDataHeroTrainningInfo_hotfix.call(new object[] { this, heroTrainningInfo }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.CreateSpineGraphic(heroTrainningInfo); }
public static int get_ID(IntPtr l) { int result; try { ConfigDataHeroTrainningInfo configDataHeroTrainningInfo = (ConfigDataHeroTrainningInfo)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, configDataHeroTrainningInfo.ID); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { ConfigDataHeroTrainningInfo o = new ConfigDataHeroTrainningInfo(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_levelInfos(IntPtr l) { int result; try { ConfigDataHeroTrainningInfo configDataHeroTrainningInfo = (ConfigDataHeroTrainningInfo)LuaObject.checkSelf(l); List <ConfigDataHeroTrainningLevelInfo> levelInfos; LuaObject.checkType <List <ConfigDataHeroTrainningLevelInfo> >(l, 2, out levelInfos); configDataHeroTrainningInfo.m_levelInfos = levelInfos; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_UI_ModelOffsetY(IntPtr l) { int result; try { ConfigDataHeroTrainningInfo configDataHeroTrainningInfo = (ConfigDataHeroTrainningInfo)LuaObject.checkSelf(l); int ui_ModelOffsetY; LuaObject.checkType(l, 2, out ui_ModelOffsetY); configDataHeroTrainningInfo.UI_ModelOffsetY = ui_ModelOffsetY; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Model(IntPtr l) { int result; try { ConfigDataHeroTrainningInfo configDataHeroTrainningInfo = (ConfigDataHeroTrainningInfo)LuaObject.checkSelf(l); string model; LuaObject.checkType(l, 2, out model); configDataHeroTrainningInfo.Model = model; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x06011801 RID: 71681 RVA: 0x00487AF0 File Offset: 0x00485CF0 public void CreateSpineGraphic(ConfigDataHeroTrainningInfo heroTrainningInfo) { this.m_owner.CreateSpineGraphic(heroTrainningInfo); }