public static byte[] MakeEntityMove(UInt32 id, Coordinate coords) { return(BuildPacket(0x59, Connections.GenericDispatcher.one, BitConverter.GetBytes(id), BitConverter.GetBytes(coords.X), Connections.GenericDispatcher.zero, Connections.GenericDispatcher.zero, BitConverter.GetBytes(coords.Y), Connections.GenericDispatcher.zero, Connections.GenericDispatcher.zero)); }
public static byte[] Relocate(Coordinate coords) { return(BuildPacket(0x5f, BitConverter.GetBytes((UInt16)coords.X), BitConverter.GetBytes((UInt16)coords.Y))); }