public static int get_m_direction(IntPtr l) { int result; try { ClientActorActExchangeMove clientActorActExchangeMove = (ClientActorActExchangeMove)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, clientActorActExchangeMove.m_direction); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { ClientActorActExchangeMove o = new ClientActorActExchangeMove(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_position(IntPtr l) { int result; try { ClientActorActExchangeMove clientActorActExchangeMove = (ClientActorActExchangeMove)LuaObject.checkSelf(l); GridPosition position; LuaObject.checkValueType <GridPosition>(l, 2, out position); clientActorActExchangeMove.m_position = position; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_moveType(IntPtr l) { int result; try { ClientActorActExchangeMove clientActorActExchangeMove = (ClientActorActExchangeMove)LuaObject.checkSelf(l); int moveType; LuaObject.checkType(l, 2, out moveType); clientActorActExchangeMove.m_moveType = moveType; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }