internal DestinyComponentItemResponse( long?characterId, DestinyItemComponent item, DestinyItemInstanceComponent instance, DestinyItemObjectivesComponent objectives, DestinyItemPerksComponent perks, DestinyItemRenderComponent renderData, DestinyItemStatsComponent stats, DestinyItemTalentGridComponent talentGrid, DestinyItemSocketsComponent sockets, DestinyItemReusablePlugsComponent reusablePlugs, DestinyItemPlugObjectivesComponent plugObjectives) { CharacterId = characterId; _item = item; _instance = instance; _objectives = objectives; _perks = perks; _renderData = renderData; _stats = stats; _talentGrid = talentGrid; _sockets = sockets; _reusablePlugs = reusablePlugs; _plugObjectives = plugObjectives; }
public bool TryGetStats(out DestinyItemStatsComponent data) { data = _stats; return(data != null); }