public override bool Equals(object obj) { if (obj == null) { return(false); } AvatarHiderPlayer objAsPlayerProp = (AvatarHiderPlayer)obj; if (objAsPlayerProp == null) { return(false); } else { return(Equals(objAsPlayerProp)); } }
public bool Equals(AvatarHiderPlayer playerProp) { return(playerProp.userId == userId); }