Example #1
0
 internal static void Despawn(Player dst, byte id)
 {
     dst.SendRaw(Opcode.RemoveEntity, id);
     if (dst.hasExtList)
     {
         dst.SendExtRemovePlayerName(id);
     }
 }
Example #2
0
 /// <summary> Removes the given player from player's tab list (if their client supports it). </summary>
 public static void Remove(Player dst, byte id)
 {
     if (!dst.hasExtList)
     {
         return;
     }
     dst.SendExtRemovePlayerName(id);
 }