public static int ArenaDefensiveHeroToPBDfensiveHero_s(IntPtr l) { int result; try { ArenaPlayerDefensiveHero defensiveHero; LuaObject.checkType <ArenaPlayerDefensiveHero>(l, 1, out defensiveHero); ProArenaPlayerDefensiveHero o = ArenaPlayerDefensiveHero.ArenaDefensiveHeroToPBDfensiveHero(defensiveHero); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x06004DCB RID: 19915 RVA: 0x0017B548 File Offset: 0x00179748 public static ArenaPlayerDefensiveHero PBArenaDefensiveHeroToArenaDefensiveHero(ProArenaPlayerDefensiveHero pbDefensiveHero) { return(new ArenaPlayerDefensiveHero { HeroId = pbDefensiveHero.HeroId, ActionPositionIndex = pbDefensiveHero.ActionPositionIndex, ActionValue = pbDefensiveHero.ActionValue }); }