public static int get_Params(IntPtr l) { int result; try { ProcessingBattle processingBattle = (ProcessingBattle)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, processingBattle.Params); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { ProcessingBattle o = new ProcessingBattle(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int PbBattleProcessingToBattleProcessing_s(IntPtr l) { int result; try { ProBattleProcessing pbBattleInfo; LuaObject.checkType <ProBattleProcessing>(l, 1, out pbBattleInfo); ProcessingBattle o = ProcessingBattle.PbBattleProcessingToBattleProcessing(pbBattleInfo); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_ArmyRandomSeed(IntPtr l) { int result; try { ProcessingBattle processingBattle = (ProcessingBattle)LuaObject.checkSelf(l); int armyRandomSeed; LuaObject.checkType(l, 2, out armyRandomSeed); processingBattle.ArmyRandomSeed = armyRandomSeed; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Type(IntPtr l) { int result; try { ProcessingBattle processingBattle = (ProcessingBattle)LuaObject.checkSelf(l); BattleType type; LuaObject.checkEnum <BattleType>(l, 2, out type); processingBattle.Type = type; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Params(IntPtr l) { int result; try { ProcessingBattle processingBattle = (ProcessingBattle)LuaObject.checkSelf(l); List <int> @params; LuaObject.checkType <List <int> >(l, 2, out @params); processingBattle.Params = @params; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }