public bool DeepEquals(InventoryItemStatsBlock other) { return(other != null && DisablePrimaryStatDisplay == other.DisablePrimaryStatDisplay && HasDisplayableStats == other.HasDisplayableStats && PrimaryBaseStat.DeepEquals(other.PrimaryBaseStat) && StatGroup.DeepEquals(other.StatGroup) && Stats.DeepEqualsReadOnlyDictionaryWithDefinitionKeyAndSimpleValue(other.Stats)); }