/// <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;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DestinyResponsesDestinyProfileResponse" /> class.
 /// </summary>
 /// <param name="vendorReceipts">Recent, refundable purchases you have made from vendors. When will you use it? Couldn&#39;t say...  COMPONENT TYPE: VendorReceipts.</param>
 /// <param name="profileInventory">The profile-level inventory of the Destiny Profile.  COMPONENT TYPE: ProfileInventories.</param>
 /// <param name="profileCurrencies">The profile-level currencies owned by the Destiny Profile.  COMPONENT TYPE: ProfileCurrencies.</param>
 /// <param name="profile">The basic information about the Destiny Profile (formerly \&quot;Account\&quot;).  COMPONENT TYPE: Profiles.</param>
 /// <param name="platformSilver">Silver quantities for any platform on which this Profile plays destiny.   COMPONENT TYPE: PlatformSilver.</param>
 /// <param name="profileKiosks">Items available from Kiosks that are available Profile-wide (i.e. across all characters)  This component returns information about what Kiosk items are available to you on a *Profile* level. It is theoretically possible for Kiosks to have items gated by specific Character as well. If you ever have those, you will find them on the characterKiosks property.  COMPONENT TYPE: Kiosks.</param>
 /// <param name="profilePlugSets">When sockets refer to reusable Plug Sets (see DestinyPlugSetDefinition for more info), this is the set of plugs and their states that are profile-scoped.  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="profileProgression">When we have progression information - such as Checklists - that may apply profile-wide, it will be returned here rather than in the per-character progression data.  COMPONENT TYPE: ProfileProgression.</param>
 /// <param name="profilePresentationNodes">COMPONENT TYPE: PresentationNodes.</param>
 /// <param name="profileRecords">COMPONENT TYPE: Records.</param>
 /// <param name="profileCollectibles">COMPONENT TYPE: Collectibles.</param>
 /// <param name="profileTransitoryData">COMPONENT TYPE: Transitory.</param>
 /// <param name="metrics">COMPONENT TYPE: Metrics.</param>
 /// <param name="characters">Basic information about each character, keyed by the CharacterId.  COMPONENT TYPE: Characters.</param>
 /// <param name="characterInventories">The character-level non-equipped inventory items, keyed by the Character&#39;s Id.  COMPONENT TYPE: CharacterInventories.</param>
 /// <param name="characterProgressions">Character-level progression data, keyed by the Character&#39;s Id.  COMPONENT TYPE: CharacterProgressions.</param>
 /// <param name="characterRenderData">Character rendering data - a minimal set of info needed to render a character in 3D - keyed by the Character&#39;s Id.  COMPONENT TYPE: CharacterRenderData.</param>
 /// <param name="characterActivities">Character activity data - the activities available to this character and its status, keyed by the Character&#39;s Id.  COMPONENT TYPE: CharacterActivities.</param>
 /// <param name="characterEquipment">The character&#39;s equipped items, keyed by the Character&#39;s Id.  COMPONENT TYPE: CharacterEquipment.</param>
 /// <param name="characterKiosks">Items available from Kiosks that are available to a specific character as opposed to the account as a whole. It must be combined with data from the profileKiosks property to get a full picture of the character&#39;s available items to check out of a kiosk.  This component returns information about what Kiosk items are available to you on a *Character* level. Usually, kiosk items will be earned for the entire Profile (all characters) at once. To find those, look in the profileKiosks property.  COMPONENT TYPE: Kiosks.</param>
 /// <param name="characterPlugSets">When sockets refer to reusable Plug Sets (see DestinyPlugSetDefinition for more info), this is the set of plugs and their states, per character, that are character-scoped.  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="characterUninstancedItemComponents">Do you ever get the feeling that a system was designed *too* flexibly? That it can be used in so many different ways that you end up being unable to provide an easy to use abstraction for the mess that&#39;s happening under the surface?  Let&#39;s talk about character-specific data that might be related to items without instances. These two statements are totally unrelated, I promise.  At some point during D2, it was decided that items - such as Bounties - could be given to characters and *not* have instance data, but that *could* display and even use relevant state information on your account and character.  Up to now, any item that had meaningful dependencies on character or account state had to be instanced, and thus \&quot;itemComponents\&quot; was all that you needed: it was keyed by item&#39;s instance IDs and provided the stateful information you needed inside.  Unfortunately, we don&#39;t live in such a magical world anymore. This is information held on a per-character basis about non-instanced items that the characters have in their inventory - or that reference character-specific state information even if it&#39;s in Account-level inventory - and the values related to that item&#39;s state in relation to the given character.  To give a concrete example, look at a Moments of Triumph bounty. They exist in a character&#39;s inventory, and show/care about a character&#39;s progression toward completing the bounty. But the bounty itself is a non-instanced item, like a mod or a currency. This returns that data for the characters who have the bounty in their inventory.  I&#39;m not crying, you&#39;re crying Okay we&#39;re both crying but it&#39;s going to be okay I promise Actually I shouldn&#39;t promise that, I don&#39;t know if it&#39;s going to be okay.</param>
 /// <param name="characterPresentationNodes">COMPONENT TYPE: PresentationNodes.</param>
 /// <param name="characterRecords">COMPONENT TYPE: Records.</param>
 /// <param name="characterCollectibles">COMPONENT TYPE: Collectibles.</param>
 /// <param name="itemComponents">Information about instanced items across all returned characters, keyed by the item&#39;s instance ID.  COMPONENT TYPE: [See inside the DestinyItemComponentSet contract for component types.].</param>
 /// <param name="characterCurrencyLookups">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 DestinyResponsesDestinyProfileResponse(SingleComponentResponseOfDestinyVendorReceiptsComponent vendorReceipts = default(SingleComponentResponseOfDestinyVendorReceiptsComponent), SingleComponentResponseOfDestinyInventoryComponent profileInventory = default(SingleComponentResponseOfDestinyInventoryComponent), SingleComponentResponseOfDestinyInventoryComponent profileCurrencies = default(SingleComponentResponseOfDestinyInventoryComponent), SingleComponentResponseOfDestinyProfileComponent profile = default(SingleComponentResponseOfDestinyProfileComponent), SingleComponentResponseOfDestinyPlatformSilverComponent platformSilver = default(SingleComponentResponseOfDestinyPlatformSilverComponent), SingleComponentResponseOfDestinyKiosksComponent profileKiosks = default(SingleComponentResponseOfDestinyKiosksComponent), SingleComponentResponseOfDestinyPlugSetsComponent profilePlugSets = default(SingleComponentResponseOfDestinyPlugSetsComponent), SingleComponentResponseOfDestinyProfileProgressionComponent profileProgression = default(SingleComponentResponseOfDestinyProfileProgressionComponent), SingleComponentResponseOfDestinyPresentationNodesComponent profilePresentationNodes = default(SingleComponentResponseOfDestinyPresentationNodesComponent), SingleComponentResponseOfDestinyProfileRecordsComponent profileRecords = default(SingleComponentResponseOfDestinyProfileRecordsComponent), SingleComponentResponseOfDestinyProfileCollectiblesComponent profileCollectibles = default(SingleComponentResponseOfDestinyProfileCollectiblesComponent), SingleComponentResponseOfDestinyProfileTransitoryComponent profileTransitoryData = default(SingleComponentResponseOfDestinyProfileTransitoryComponent), SingleComponentResponseOfDestinyMetricsComponent metrics = default(SingleComponentResponseOfDestinyMetricsComponent), DictionaryComponentResponseOfint64AndDestinyCharacterComponent characters = default(DictionaryComponentResponseOfint64AndDestinyCharacterComponent), DictionaryComponentResponseOfint64AndDestinyInventoryComponent characterInventories = default(DictionaryComponentResponseOfint64AndDestinyInventoryComponent), DictionaryComponentResponseOfint64AndDestinyCharacterProgressionComponent characterProgressions = default(DictionaryComponentResponseOfint64AndDestinyCharacterProgressionComponent), DictionaryComponentResponseOfint64AndDestinyCharacterRenderComponent characterRenderData = default(DictionaryComponentResponseOfint64AndDestinyCharacterRenderComponent), DictionaryComponentResponseOfint64AndDestinyCharacterActivitiesComponent characterActivities = default(DictionaryComponentResponseOfint64AndDestinyCharacterActivitiesComponent), DictionaryComponentResponseOfint64AndDestinyInventoryComponent characterEquipment = default(DictionaryComponentResponseOfint64AndDestinyInventoryComponent), DictionaryComponentResponseOfint64AndDestinyKiosksComponent characterKiosks = default(DictionaryComponentResponseOfint64AndDestinyKiosksComponent), DictionaryComponentResponseOfint64AndDestinyPlugSetsComponent characterPlugSets = default(DictionaryComponentResponseOfint64AndDestinyPlugSetsComponent), Dictionary <string, DestinyBaseItemComponentSetOfuint32> characterUninstancedItemComponents = default(Dictionary <string, DestinyBaseItemComponentSetOfuint32>), DictionaryComponentResponseOfint64AndDestinyPresentationNodesComponent characterPresentationNodes = default(DictionaryComponentResponseOfint64AndDestinyPresentationNodesComponent), DictionaryComponentResponseOfint64AndDestinyCharacterRecordsComponent characterRecords = default(DictionaryComponentResponseOfint64AndDestinyCharacterRecordsComponent), DictionaryComponentResponseOfint64AndDestinyCollectiblesComponent characterCollectibles = default(DictionaryComponentResponseOfint64AndDestinyCollectiblesComponent), DestinyItemComponentSetOfint64 itemComponents = default(DestinyItemComponentSetOfint64), DictionaryComponentResponseOfint64AndDestinyCurrenciesComponent characterCurrencyLookups = default(DictionaryComponentResponseOfint64AndDestinyCurrenciesComponent))
 {
     this.VendorReceipts                     = vendorReceipts;
     this.ProfileInventory                   = profileInventory;
     this.ProfileCurrencies                  = profileCurrencies;
     this.Profile                            = profile;
     this.PlatformSilver                     = platformSilver;
     this.ProfileKiosks                      = profileKiosks;
     this.ProfilePlugSets                    = profilePlugSets;
     this.ProfileProgression                 = profileProgression;
     this.ProfilePresentationNodes           = profilePresentationNodes;
     this.ProfileRecords                     = profileRecords;
     this.ProfileCollectibles                = profileCollectibles;
     this.ProfileTransitoryData              = profileTransitoryData;
     this.Metrics                            = metrics;
     this.Characters                         = characters;
     this.CharacterInventories               = characterInventories;
     this.CharacterProgressions              = characterProgressions;
     this.CharacterRenderData                = characterRenderData;
     this.CharacterActivities                = characterActivities;
     this.CharacterEquipment                 = characterEquipment;
     this.CharacterKiosks                    = characterKiosks;
     this.CharacterPlugSets                  = characterPlugSets;
     this.CharacterUninstancedItemComponents = characterUninstancedItemComponents;
     this.CharacterPresentationNodes         = characterPresentationNodes;
     this.CharacterRecords                   = characterRecords;
     this.CharacterCollectibles              = characterCollectibles;
     this.ItemComponents                     = itemComponents;
     this.CharacterCurrencyLookups           = characterCurrencyLookups;
 }