Example #1
0
 public static byte[] ItemToContainer(uint itemId, Coordinate location, ContainerType container)
 {
     return(BuildPacket(0x18, BitConverter.GetBytes(itemId), location.ToBytes(), BitConverter.GetBytes((int)container)));
 }
Example #2
0
 public static byte[] Run(Coordinate coords)
 {
     return(BuildPacket(0x03, coords.ToBytes()));
 }
Example #3
0
 public static byte[] Relocate(Coordinate coords)
 {
     return(BuildPacket(0x5f, coords.ToBytes()));
 }
Example #4
0
 public static byte[] Walk(Coordinate coords)
 {
     return(BuildPacket(0x01, coords.ToBytes()));
 }