ItemShort.Equals C# (CSharp) Method

Equals() public method

public Equals ( ItemShort, item ) : bool
item ItemShort,
return bool
    public bool Equals(ItemShort item)
    {
        return (this.type == item.type && this.id == item.id && this.quantity == item.quantity);
    }