Example #1
0
 public static Packet MakeSelfTeleport(Position pos)
 {
     return(MakeTeleport(-1, pos.GetFixed()));
 }
Example #2
0
 internal static Packet MakeSelfTeleport( Position pos )
 {
     return MakeTeleport( 255, pos.GetFixed() );
 }
Example #3
0
 public static Packet MakeSelfTeleport( Position pos ) {
     return MakeTeleport( -1, pos.GetFixed() );
 }
Example #4
0
 /// <summary> Creates a new Teleport (0x08) packet, and sets ID to -1 ("self"). </summary>
 /// <param name="newPosition"> Position to teleport player to. </param>
 /// <param name="extPos"> If player supports Extended Positions </param>
 public static Packet MakeSelfTeleport(Position newPosition, bool extPos)
 {
     return(MakeTeleport(-1, newPosition.GetFixed(), extPos));
 }
Example #5
0
 internal static Packet MakeSelfTeleport(Position pos)
 {
     return(MakeTeleport(255, pos.GetFixed()));
 }
Example #6
0
 /// <summary> Creates a new Teleport (0x08) packet, and sets ID to -1 ("self"). </summary>
 /// <param name="newPosition"> Position to teleport player to. </param>
 public static Packet MakeSelfTeleport(Position newPosition)
 {
     return(MakeTeleport(-1, newPosition.GetFixed()));
 }
Example #7
0
 /// <summary> Creates a new Teleport (0x08) packet, and sets ID to -1 ("self"). </summary>
 /// <param name="newPosition"> Position to teleport player to. </param>
 public static Packet MakeSelfTeleport( Position newPosition ) {
     return MakeTeleport( -1, newPosition.GetFixed() );
 }