internal DestinyPresentationNodeComponent(DestinyPresentationNodeState state, DestinyObjectiveProgress objective, int progressValue, int completionValue,
                                           int?recordCategoryScore)
 {
     State               = state;
     Objective           = objective;
     ProgressValue       = progressValue;
     CompletionValue     = completionValue;
     RecordCategoryScore = recordCategoryScore;
 }
Exemple #2
0
 internal DestinyItemComponent(uint itemHash, long?itemInstanceId, int quantity, ItemBindStatus bindStatus, BucketItemLocation location, uint bucketHash,
                               TransferStatuses transferStatus, bool lockable, ItemState state, uint?overrideStyleItemHash, DateTime?expirationDate, bool isWrapper,
                               int[] tooltipNotificationIndexes, uint?metricHash, DestinyObjectiveProgress metricObjective, int?versionNumber)
 {
     Item                       = new DefinitionHashPointer <DestinyInventoryItemDefinition>(itemHash, DefinitionsEnum.DestinyInventoryItemDefinition);
     ItemInstanceId             = itemInstanceId;
     Quantity                   = quantity;
     BindStatus                 = bindStatus;
     Location                   = location;
     Bucket                     = new DefinitionHashPointer <DestinyInventoryBucketDefinition>(bucketHash, DefinitionsEnum.DestinyInventoryBucketDefinition);
     TransferStatus             = transferStatus;
     IsLockable                 = lockable;
     State                      = state;
     OverrideStyleItem          = new DefinitionHashPointer <DestinyInventoryItemDefinition>(overrideStyleItemHash, DefinitionsEnum.DestinyInventoryItemDefinition);
     ExpirationDate             = expirationDate;
     IsWrapper                  = isWrapper;
     TooltipNotificationIndexes = tooltipNotificationIndexes.AsReadOnlyOrEmpty();
     Metric                     = new DefinitionHashPointer <DestinyMetricDefinition>(metricHash, DefinitionsEnum.DestinyMetricDefinition);
     MetricObjective            = metricObjective;
     VersionNumber              = versionNumber;
 }
Exemple #3
0
 internal DestinyItemObjectivesComponent(DestinyObjectiveProgress[] objectives, DestinyObjectiveProgress flavorObjective, DateTime?dateCompleted)
 {
     Objectives      = objectives.AsReadOnlyOrEmpty();
     FlavorObjective = flavorObjective;
     DateCompleted   = dateCompleted;
 }
 internal DestinyMetricComponent(bool invisible, DestinyObjectiveProgress objectiveProgress)
 {
     IsInvisible       = invisible;
     ObjectiveProgress = objectiveProgress;
 }
Exemple #5
0
 internal DestinyChallengeStatus(DestinyObjectiveProgress objective)
 {
     Objective = objective;
 }