fBaseXtensions.Game.BountyCache.BountyMapMarker.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
            public override bool Equals(object obj)
            {
                // If parameter is null return false.
                if (obj == null)
                {
                    return false;
                }

                // If parameter cannot be cast to Point return false.
                BountyMapMarker p = obj as BountyMapMarker;
                if (p == null)
                {
                    return false;
                }

                // Return true if the fields match:
                return (WorldID == p.WorldID) && (ID == p.ID);
            }
BountyCache.BountyMapMarker