public override bool Equals(object obj)
{
//Check for null and compare run-time types.
if (obj == null || GetType() != obj.GetType())
{
return false;
}
else
{
HotbarBuff p = (HotbarBuff)obj;
return (SNOId == p.SNOId) && (StackCount==p.StackCount) && (IsCancelable==p.IsCancelable);
}
}