public void Detach(TencentPlayer player) { if (players.Contains(player)) { players.Remove(player); } }
public void Attach(TencentPlayer player) { if (!players.Contains(player)) { players.Add(player); } }