Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DestinyResponsesDestinyVendorsResponse" /> class.
 /// </summary>
 /// <param name="vendorGroups">For Vendors being returned, this will give you the information you need to group them and order them in the same way that the Bungie Companion app performs grouping. It will automatically be returned if you request the Vendors component.  COMPONENT TYPE: Vendors.</param>
 /// <param name="vendors">The base properties of the vendor. These are keyed by the Vendor Hash, so you will get one Vendor Component per vendor returned.  COMPONENT TYPE: Vendors.</param>
 /// <param name="categories">Categories that the vendor has available, and references to the sales therein. These are keyed by the Vendor Hash, so you will get one Categories Component per vendor returned.  COMPONENT TYPE: VendorCategories.</param>
 /// <param name="sales">Sales, keyed by the vendorItemIndex of the item being sold. These are keyed by the Vendor Hash, so you will get one Sale Item Set Component per vendor returned.  Note that within the Sale Item Set component, the sales are themselves keyed by the vendorSaleIndex, so you can relate it to the corrent sale item definition within the Vendor&#39;s definition.  COMPONENT TYPE: VendorSales.</param>
 /// <param name="itemComponents">The set of item detail components, one set of item components per Vendor. These are keyed by the Vendor Hash, so you will get one Item Component Set per vendor returned.  The components contained inside are themselves keyed by the vendorSaleIndex, and will have whatever item-level components you requested (Sockets, Stats, Instance data etc...) per item being sold by the vendor..</param>
 /// <param name="currencyLookups">A \&quot;lookup\&quot; convenience component that can be used to quickly check if the character has access to items that can be used for purchasing.  COMPONENT TYPE: CurrencyLookups.</param>
 public DestinyResponsesDestinyVendorsResponse(SingleComponentResponseOfDestinyVendorGroupComponent vendorGroups = default(SingleComponentResponseOfDestinyVendorGroupComponent), DictionaryComponentResponseOfuint32AndDestinyVendorComponent vendors = default(DictionaryComponentResponseOfuint32AndDestinyVendorComponent), DictionaryComponentResponseOfuint32AndDestinyVendorCategoriesComponent categories = default(DictionaryComponentResponseOfuint32AndDestinyVendorCategoriesComponent), DictionaryComponentResponseOfuint32AndPersonalDestinyVendorSaleItemSetComponent sales = default(DictionaryComponentResponseOfuint32AndPersonalDestinyVendorSaleItemSetComponent), Dictionary <string, DestinyItemComponentSetOfint32> itemComponents = default(Dictionary <string, DestinyItemComponentSetOfint32>), SingleComponentResponseOfDestinyCurrenciesComponent currencyLookups = default(SingleComponentResponseOfDestinyCurrenciesComponent))
 {
     this.VendorGroups    = vendorGroups;
     this.Vendors         = vendors;
     this.Categories      = categories;
     this.Sales           = sales;
     this.ItemComponents  = itemComponents;
     this.CurrencyLookups = currencyLookups;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DestinyResponsesDestinyCharacterResponse" /> class.
 /// </summary>
 /// <param name="inventory">The character-level non-equipped inventory items.  COMPONENT TYPE: CharacterInventories.</param>
 /// <param name="character">Base information about the character in question.  COMPONENT TYPE: Characters.</param>
 /// <param name="progressions">Character progression data, including Milestones.  COMPONENT TYPE: CharacterProgressions.</param>
 /// <param name="renderData">Character rendering data - a minimal set of information about equipment and dyes used for rendering.  COMPONENT TYPE: CharacterRenderData.</param>
 /// <param name="activities">Activity data - info about current activities available to the player.  COMPONENT TYPE: CharacterActivities.</param>
 /// <param name="equipment">Equipped items on the character.  COMPONENT TYPE: CharacterEquipment.</param>
 /// <param name="kiosks">Items available from Kiosks that are available to this specific character.   COMPONENT TYPE: Kiosks.</param>
 /// <param name="plugSets">When sockets refer to reusable Plug Sets (see DestinyPlugSetDefinition for more info), this is the set of plugs and their states that are scoped to this character.  This comes back with ItemSockets, as it is needed for a complete picture of the sockets on requested items.  COMPONENT TYPE: ItemSockets.</param>
 /// <param name="presentationNodes">COMPONENT TYPE: PresentationNodes.</param>
 /// <param name="records">COMPONENT TYPE: Records.</param>
 /// <param name="collectibles">COMPONENT TYPE: Collectibles.</param>
 /// <param name="itemComponents">The set of components belonging to the player&#39;s instanced items.  COMPONENT TYPE: [See inside the DestinyItemComponentSet contract for component types.].</param>
 /// <param name="uninstancedItemComponents">The set of components belonging to the player&#39;s UNinstanced items. Because apparently now those too can have information relevant to the character&#39;s state.  COMPONENT TYPE: [See inside the DestinyItemComponentSet contract for component types.].</param>
 /// <param name="currencyLookups">A \&quot;lookup\&quot; convenience component that can be used to quickly check if the character has access to items that can be used for purchasing.  COMPONENT TYPE: CurrencyLookups.</param>
 public DestinyResponsesDestinyCharacterResponse(SingleComponentResponseOfDestinyInventoryComponent inventory = default(SingleComponentResponseOfDestinyInventoryComponent), SingleComponentResponseOfDestinyCharacterComponent character = default(SingleComponentResponseOfDestinyCharacterComponent), SingleComponentResponseOfDestinyCharacterProgressionComponent progressions = default(SingleComponentResponseOfDestinyCharacterProgressionComponent), SingleComponentResponseOfDestinyCharacterRenderComponent renderData = default(SingleComponentResponseOfDestinyCharacterRenderComponent), SingleComponentResponseOfDestinyCharacterActivitiesComponent activities = default(SingleComponentResponseOfDestinyCharacterActivitiesComponent), SingleComponentResponseOfDestinyInventoryComponent equipment = default(SingleComponentResponseOfDestinyInventoryComponent), SingleComponentResponseOfDestinyKiosksComponent kiosks = default(SingleComponentResponseOfDestinyKiosksComponent), SingleComponentResponseOfDestinyPlugSetsComponent plugSets = default(SingleComponentResponseOfDestinyPlugSetsComponent), SingleComponentResponseOfDestinyPresentationNodesComponent presentationNodes = default(SingleComponentResponseOfDestinyPresentationNodesComponent), SingleComponentResponseOfDestinyCharacterRecordsComponent records = default(SingleComponentResponseOfDestinyCharacterRecordsComponent), SingleComponentResponseOfDestinyCollectiblesComponent collectibles = default(SingleComponentResponseOfDestinyCollectiblesComponent), DestinyItemComponentSetOfint64 itemComponents = default(DestinyItemComponentSetOfint64), DestinyBaseItemComponentSetOfuint32 uninstancedItemComponents = default(DestinyBaseItemComponentSetOfuint32), SingleComponentResponseOfDestinyCurrenciesComponent currencyLookups = default(SingleComponentResponseOfDestinyCurrenciesComponent))
 {
     this.Inventory                 = inventory;
     this.Character                 = character;
     this.Progressions              = progressions;
     this.RenderData                = renderData;
     this.Activities                = activities;
     this.Equipment                 = equipment;
     this.Kiosks                    = kiosks;
     this.PlugSets                  = plugSets;
     this.PresentationNodes         = presentationNodes;
     this.Records                   = records;
     this.Collectibles              = collectibles;
     this.ItemComponents            = itemComponents;
     this.UninstancedItemComponents = uninstancedItemComponents;
     this.CurrencyLookups           = currencyLookups;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DestinyResponsesDestinyVendorResponse" /> class.
 /// </summary>
 /// <param name="vendor">The base properties of the vendor.  COMPONENT TYPE: Vendors.</param>
 /// <param name="categories">Categories that the vendor has available, and references to the sales therein.  COMPONENT TYPE: VendorCategories.</param>
 /// <param name="sales">Sales, keyed by the vendorItemIndex of the item being sold.  COMPONENT TYPE: VendorSales.</param>
 /// <param name="itemComponents">Item components, keyed by the vendorItemIndex of the active sale items.  COMPONENT TYPE: [See inside the DestinyItemComponentSet contract for component types.].</param>
 /// <param name="currencyLookups">A \&quot;lookup\&quot; convenience component that can be used to quickly check if the character has access to items that can be used for purchasing.  COMPONENT TYPE: CurrencyLookups.</param>
 public DestinyResponsesDestinyVendorResponse(SingleComponentResponseOfDestinyVendorComponent vendor = default(SingleComponentResponseOfDestinyVendorComponent), SingleComponentResponseOfDestinyVendorCategoriesComponent categories = default(SingleComponentResponseOfDestinyVendorCategoriesComponent), DictionaryComponentResponseOfint32AndDestinyVendorSaleItemComponent sales = default(DictionaryComponentResponseOfint32AndDestinyVendorSaleItemComponent), DestinyItemComponentSetOfint32 itemComponents = default(DestinyItemComponentSetOfint32), SingleComponentResponseOfDestinyCurrenciesComponent currencyLookups = default(SingleComponentResponseOfDestinyCurrenciesComponent))
 {
     this.Vendor          = vendor;
     this.Categories      = categories;
     this.Sales           = sales;
     this.ItemComponents  = itemComponents;
     this.CurrencyLookups = currencyLookups;
 }