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