public static int get_killEnemies(IntPtr l) { int result; try { BattleActorLogInfo battleActorLogInfo = (BattleActorLogInfo)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, battleActorLogInfo.killEnemies); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { BattleActorLogInfo o = new BattleActorLogInfo(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_heroId(IntPtr l) { int result; try { BattleActorLogInfo battleActorLogInfo = (BattleActorLogInfo)LuaObject.checkSelf(l); int heroId; LuaObject.checkType(l, 2, out heroId); battleActorLogInfo.heroId = heroId; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_useSkills(IntPtr l) { int result; try { BattleActorLogInfo battleActorLogInfo = (BattleActorLogInfo)LuaObject.checkSelf(l); int useSkills; LuaObject.checkType(l, 2, out useSkills); battleActorLogInfo.useSkills = useSkills; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }