public void MapValues() { SocketCategory.TryMapValue(); foreach (var scalar in CurrencyScalars) { scalar.CurrencyItem.TryMapValue(); } foreach (var plugList in PlugWhitelist) { foreach (var plug in plugList.ReinitializationPossiblePlugs) { plug.TryMapValue(); } } }
public bool DeepEquals(DestinySocketTypeDefinition other) { return(other != null && AlwaysRandomizeSockets == other.AlwaysRandomizeSockets && AvoidDuplicatesOnInitialization == other.AvoidDuplicatesOnInitialization && HideDuplicateReusablePlugs == other.HideDuplicateReusablePlugs && IsPreviewEnabled == other.IsPreviewEnabled && OverridesUiAppearance == other.OverridesUiAppearance && SocketCategory.DeepEquals(other.SocketCategory) && Visibility == other.Visibility && DisplayProperties.DeepEquals(other.DisplayProperties) && InsertAction.DeepEquals(other.InsertAction) && CurrencyScalars.DeepEqualsReadOnlyCollections(other.CurrencyScalars) && PlugWhitelist.DeepEqualsReadOnlyCollections(other.PlugWhitelist) && Blacklisted == other.Blacklisted && Hash == other.Hash && Index == other.Index && Redacted == other.Redacted); }
public bool DeepEquals(InventoryItemSocketsBlockSocketCategory other) { return(other != null && SocketCategory.DeepEquals(other.SocketCategory) && SocketIndexes.DeepEqualsReadOnlySimpleCollection(other.SocketIndexes)); }