コード例 #1
0
ファイル: Entities.cs プロジェクト: Peteys93/MCGalaxy
 internal static void Despawn(Player dst, byte id)
 {
     dst.SendRaw(Opcode.RemoveEntity, id);
     if (dst.hasExtList)
     {
         dst.SendExtRemovePlayerName(id);
     }
 }
コード例 #2
0
ファイル: TabList.cs プロジェクト: Benedani/MCGalaxy
 /// <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);
 }