コード例 #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            AvatarHiderPlayer objAsPlayerProp = (AvatarHiderPlayer)obj;

            if (objAsPlayerProp == null)
            {
                return(false);
            }
            else
            {
                return(Equals(objAsPlayerProp));
            }
        }
コード例 #2
0
 public bool Equals(AvatarHiderPlayer playerProp)
 {
     return(playerProp.userId == userId);
 }