internal DestinyItemCategoryDefinition(bool deprecated, DestinyDefinitionDisplayProperties displayProperties, DestinyBreakerTypes grantDestinyBreakerType,
                                        DestinyClassType grantDestinyClass, ItemType grantDestinyItemType, ItemSubType grantDestinySubType, bool groupCategoryOnly, uint[] groupedCategoryHashes,
                                        bool isPlug, string itemTypeRegex, uint[] parentCategoryHashes, string shortTitle, bool visible, string plugCategoryIdentifier, string itemTypeRegexNot,
                                        string originBucketIdentifier, string traitId,
                                        bool blacklisted, uint hash, int index, bool redacted)
 {
     Deprecated              = deprecated;
     DisplayProperties       = displayProperties;
     GrantDestinyBreakerType = grantDestinyBreakerType;
     GrantDestinyClass       = grantDestinyClass;
     GrantDestinyItemType    = grantDestinyItemType;
     GrantDestinySubType     = grantDestinySubType;
     GroupCategoryOnly       = groupCategoryOnly;
     GroupedCategories       = groupedCategoryHashes.DefinitionsAsReadOnlyOrEmpty <DestinyItemCategoryDefinition>(DefinitionsEnum.DestinyItemCategoryDefinition);
     IsPlug                 = isPlug;
     ItemTypeRegex          = itemTypeRegex;
     ParentCategories       = parentCategoryHashes.DefinitionsAsReadOnlyOrEmpty <DestinyItemCategoryDefinition>(DefinitionsEnum.DestinyItemCategoryDefinition);
     ShortTitle             = shortTitle;
     Visible                = visible;
     Blacklisted            = blacklisted;
     Hash                   = hash;
     Index                  = index;
     Redacted               = redacted;
     PlugCategoryIdentifier = plugCategoryIdentifier;
     ItemTypeRegexNot       = itemTypeRegexNot;
     OriginBucketIdentifier = originBucketIdentifier;
     TraitId                = traitId;
 }
 internal DestinyBreakerTypeDefinition(DestinyDefinitionDisplayProperties displayProperties, uint unlockHash, DestinyBreakerTypes enumValue,
                                       bool blacklisted, uint hash, int index, bool redacted)
 {
     DisplayProperties = displayProperties;
     UnlockHash        = unlockHash;
     EnumValue         = enumValue;
     Blacklisted       = blacklisted;
     Hash     = hash;
     Index    = index;
     Redacted = redacted;
 }
Exemplo n.º 3
0
 internal DestinyInventoryItemDefinition(uint acquireRewardSiteHash, uint acquireUnlockHash, bool allowActions, DestinyColor backgroundColor, InventoryItemAction action,
                                         DestinyBreakerTypes breakerType, DestinyClassType classType, DestinyDefinitionDisplayProperties displayProperties, DamageType defaultDamageType, string displaySource,
                                         bool doesPostmasterPullHaveSideEffects, bool equippable, InventoryItemEquippingBlock equippingBlock, string iconWatermark, string iconWatermarkShelved,
                                         InventoryItemInventoryBlock inventory, InventoryItemInvestmentStat[] investmentStats, bool isWrapper, uint[] itemCategoryHashes, ItemSubType itemSubType,
                                         ItemType itemType, string itemTypeAndTierDisplayName, string itemTypeDisplayName, bool nonTransferrable, InventoryItemPerk[] perks, InventoryItemPreviewBlock preview,
                                         InventoryItemQualityBlock quality, string screenshot, InventoryItemSocketsBlock sockets, SpecialItemType specialItemType, InventoryItemStatsBlock stats, uint summaryItemHash,
                                         InventoryItemTalentGrid talentGrid, InventoryItemTooltipNotification[] tooltipNotifications, string[] traitIds, InventoryItemTranslationBlock translationBlock,
                                         string uiItemDisplayStyle, uint collectibleHash, InventoryItemPlugBlock plug, InventoryItemObjectivesBlock objectives, string secondaryIcon, InventoryItemValueBlock value,
                                         InventoryItemSetDataBlock setData, InventoryItemSackBlock sack, InventoryItemGearsetBlock gearset, string secondaryOverlay, string secondarySpecial,
                                         string tooltipStyle, uint?emblemObjectiveHash, InventoryItemSourceBlock sourceData, InventoryItemMetricBlock metrics, InventoryItemSummaryBlock summary,
                                         uint?loreHash, InventoryItemAnimationReference[] animations, HyperlinkReference[] links, uint?breakerTypeHash, uint[] damageTypeHashes, DamageType[] damageTypes,
                                         uint?defaultDamageTypeHash, uint?seasonHash, bool blacklisted, uint hash, int index, bool redacted)
 {
     AcquireRewardSiteHash = acquireRewardSiteHash;
     AcquireUnlockHash     = acquireUnlockHash;
     AllowActions          = allowActions;
     BackgroundColor       = backgroundColor;
     Action                            = action;
     DisplayProperties                 = displayProperties;
     BreakerTypeEnumValue              = breakerType;
     ClassType                         = classType;
     Collectible                       = new DefinitionHashPointer <DestinyCollectibleDefinition>(collectibleHash, DefinitionsEnum.DestinyCollectibleDefinition);
     DefaultDamageTypeEnumValue        = defaultDamageType;
     DisplaySource                     = displaySource;
     DoesPostmasterPullHaveSideEffects = doesPostmasterPullHaveSideEffects;
     Equippable                        = equippable;
     EquippingBlock                    = equippingBlock;
     IconWatermark                     = iconWatermark;
     IconWatermarkShelved              = iconWatermarkShelved;
     Inventory                         = inventory;
     InvestmentStats                   = investmentStats.AsReadOnlyOrEmpty();
     IsWrapper                         = isWrapper;
     ItemCategories                    = itemCategoryHashes.DefinitionsAsReadOnlyOrEmpty <DestinyItemCategoryDefinition>(DefinitionsEnum.DestinyItemCategoryDefinition);
     ItemSubType                       = itemSubType;
     ItemType                          = itemType;
     ItemTypeAndTierDisplayName        = itemTypeAndTierDisplayName;
     ItemTypeDisplayName               = itemTypeDisplayName;
     NonTransferrable                  = nonTransferrable;
     Objectives                        = objectives;
     Perks                = perks.AsReadOnlyOrEmpty();
     Plug                 = plug;
     Preview              = preview;
     Quality              = quality;
     Screenshot           = screenshot;
     Sockets              = sockets;
     SpecialItemType      = specialItemType;
     Stats                = stats;
     SummaryItem          = new DefinitionHashPointer <DestinyInventoryItemDefinition>(summaryItemHash, DefinitionsEnum.DestinyInventoryItemDefinition);
     TalentGrid           = talentGrid;
     TooltipNotifications = tooltipNotifications.AsReadOnlyOrEmpty();
     TraitIds             = traitIds.AsReadOnlyOrEmpty();
     TranslationBlock     = translationBlock;
     UiItemDisplayStyle   = uiItemDisplayStyle;
     SecondaryIcon        = secondaryIcon;
     Value                = value;
     SetData              = setData;
     Sack                 = sack;
     Gearset              = gearset;
     Blacklisted          = blacklisted;
     Hash                 = hash;
     Index                = index;
     Redacted             = redacted;
     SecondaryOverlay     = secondaryOverlay;
     SecondarySpecial     = secondarySpecial;
     TooltipStyle         = tooltipStyle;
     EmblemObjective      = new DefinitionHashPointer <DestinyObjectiveDefinition>(emblemObjectiveHash, DefinitionsEnum.DestinyObjectiveDefinition);
     SourceData           = sourceData;
     Metrics              = metrics;
     Summary              = summary;
     Lore                 = new DefinitionHashPointer <DestinyLoreDefinition>(loreHash, DefinitionsEnum.DestinyLoreDefinition);
     Animations           = animations.AsReadOnlyOrEmpty();
     Links                = links.AsReadOnlyOrEmpty();
     BreakerType          = new DefinitionHashPointer <DestinyBreakerTypeDefinition>(breakerTypeHash, DefinitionsEnum.DestinyBreakerTypeDefinition);
     DamageTypes          = damageTypeHashes.DefinitionsAsReadOnlyOrEmpty <DestinyDamageTypeDefinition>(DefinitionsEnum.DestinyDamageTypeDefinition);
     DamageTypeEnumValues = damageTypes.AsReadOnlyOrEmpty();
     DefaultDamageType    = new DefinitionHashPointer <DestinyDamageTypeDefinition>(defaultDamageTypeHash, DefinitionsEnum.DestinyDamageTypeDefinition);
     Season               = new DefinitionHashPointer <DestinySeasonDefinition>(seasonHash, DefinitionsEnum.DestinySeasonDefinition);
 }