public Equals ( |
||
sid | The |
|
리턴 | bool |
public bool Equals( SteamID sid )
{
if ( ( object )sid == null )
return false;
return steamid.Data == sid.steamid.Data;
}
SteamID::Equals ( System obj ) : bool |
/// <summary> /// Checks to see if this lobby member is equal to another. Only the SteamID of the lobby member is taken into account. /// </summary> /// <param name="obj"></param> /// <returns>true, if obj is <see cref="Member"/> with a matching SteamID. Otherwise, false.</returns> public override bool Equals(object obj) { if (obj is Member member) { return(SteamID.Equals(member.SteamID)); } return(false); }