public static int get_HeroId(IntPtr l) { int result; try { ClientBattle.LogDataBattleTeam logDataBattleTeam = (ClientBattle.LogDataBattleTeam)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, logDataBattleTeam.HeroId); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { ClientBattle.LogDataBattleTeam o = new ClientBattle.LogDataBattleTeam(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Type(IntPtr l) { int result; try { ClientBattle.LogDataBattleTeam logDataBattleTeam = (ClientBattle.LogDataBattleTeam)LuaObject.checkSelf(l); string type; LuaObject.checkType(l, 2, out type); logDataBattleTeam.Type = type; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Pos(IntPtr l) { int result; try { ClientBattle.LogDataBattleTeam logDataBattleTeam = (ClientBattle.LogDataBattleTeam)LuaObject.checkSelf(l); List <GridPosition> pos; LuaObject.checkType <List <GridPosition> >(l, 2, out pos); logDataBattleTeam.Pos = pos; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_HeroId(IntPtr l) { int result; try { ClientBattle.LogDataBattleTeam logDataBattleTeam = (ClientBattle.LogDataBattleTeam)LuaObject.checkSelf(l); List <int> heroId; LuaObject.checkType <List <int> >(l, 2, out heroId); logDataBattleTeam.HeroId = heroId; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }