public static int get_ExchangeHealthPointMax(IntPtr l) { int result; try { BattlePropertyModifier battlePropertyModifier = (BattlePropertyModifier)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, battlePropertyModifier.ExchangeHealthPointMax); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Clear(IntPtr l) { int result; try { BattlePropertyModifier battlePropertyModifier = (BattlePropertyModifier)LuaObject.checkSelf(l); battlePropertyModifier.Clear(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { BattlePropertyModifier o = new BattlePropertyModifier(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_values(IntPtr l) { int result; try { BattlePropertyModifier battlePropertyModifier = (BattlePropertyModifier)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, battlePropertyModifier.m_luaExportHelper.m_values); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_ExchangeDexterity(IntPtr l) { int result; try { BattlePropertyModifier battlePropertyModifier = (BattlePropertyModifier)LuaObject.checkSelf(l); int exchangeDexterity; LuaObject.checkType(l, 2, out exchangeDexterity); battlePropertyModifier.ExchangeDexterity = exchangeDexterity; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_values(IntPtr l) { int result; try { BattlePropertyModifier battlePropertyModifier = (BattlePropertyModifier)LuaObject.checkSelf(l); int[] values; LuaObject.checkArray <int>(l, 2, out values); battlePropertyModifier.m_luaExportHelper.m_values = values; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Get(IntPtr l) { int result; try { BattlePropertyModifier battlePropertyModifier = (BattlePropertyModifier)LuaObject.checkSelf(l); PropertyModifyType t; LuaObject.checkEnum <PropertyModifyType>(l, 2, out t); int i = battlePropertyModifier.Get(t); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }