Angle() public static method

public static Angle ( int id, ushort angle ) : byte[]
id int
angle ushort
return byte[]
Esempio n. 1
0
 /////////////////////////////////////////////////////////////////////////////////
 // Movement angle
 /////////////////////////////////////////////////////////////////////////////////
 public void Angle()
 {
     try
     {
         PacketReader Reader = new PacketReader(PacketInformation.buffer);
         int          id     = Character.Information.UniqueID;
         ushort       angle  = Reader.UInt16();
         client.Send(Packet.Angle(id, angle));
     }
     catch (Exception ex)
     {
         Systems.Debugger.Write(ex);
     }
 }