public static int get_Type(IntPtr l) { int result; try { LocalProcessingBattleData.LocalBattleCommand localBattleCommand = (LocalProcessingBattleData.LocalBattleCommand)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, localBattleCommand.Type); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { LocalProcessingBattleData.LocalBattleCommand o = new LocalProcessingBattleData.LocalBattleCommand(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int FromBattleCommand(IntPtr l) { int result; try { LocalProcessingBattleData.LocalBattleCommand localBattleCommand = (LocalProcessingBattleData.LocalBattleCommand)LuaObject.checkSelf(l); BattleCommand cmd; LuaObject.checkType <BattleCommand>(l, 2, out cmd); localBattleCommand.FromBattleCommand(cmd); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_P2Y(IntPtr l) { int result; try { LocalProcessingBattleData.LocalBattleCommand localBattleCommand = (LocalProcessingBattleData.LocalBattleCommand)LuaObject.checkSelf(l); int p2Y; LuaObject.checkType(l, 2, out p2Y); localBattleCommand.P2Y = p2Y; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }