diff --git a/src/Helldivers-2-Core/Mapping/V1/AssignmentMapper.cs b/src/Helldivers-2-Core/Mapping/V1/AssignmentMapper.cs index 3eaeeda..e17e042 100644 --- a/src/Helldivers-2-Core/Mapping/V1/AssignmentMapper.cs +++ b/src/Helldivers-2-Core/Mapping/V1/AssignmentMapper.cs @@ -54,6 +54,7 @@ private Assignment MapToV1(Dictionary trans Description: LocalizedMessage.FromStrings(descriptions), Tasks: invariant.Setting.Tasks.Select(MapToV1).ToList(), Reward: MapToV1(invariant.Setting.Reward), + Rewards: invariant.Setting.Rewards.Select(MapToV1).ToList(), Expiration: expiration ); } diff --git a/src/Helldivers-2-Models/ArrowHead/Assignments/Setting.cs b/src/Helldivers-2-Models/ArrowHead/Assignments/Setting.cs index 882bd76..56f1b38 100644 --- a/src/Helldivers-2-Models/ArrowHead/Assignments/Setting.cs +++ b/src/Helldivers-2-Models/ArrowHead/Assignments/Setting.cs @@ -8,7 +8,8 @@ /// The briefing (description) of this assignment. /// A description of what is expected of Helldivers to complete the assignment. /// A list of s describing the assignment requirements. -/// Contains information on the rewards players willr eceive upon completion. +/// Contains information on the reward players will receive upon completion. +/// Contains information on the rewards players will receive upon completion. /// Flags, suspected to be a binary OR'd value, purpose unknown. public sealed record Setting( int Type, @@ -17,5 +18,6 @@ public sealed record Setting( string TaskDescription, List Tasks, Reward Reward, + List Rewards, int Flags ); diff --git a/src/Helldivers-2-Models/V1/Assignment.cs b/src/Helldivers-2-Models/V1/Assignment.cs index 88d9bd7..f60a7c1 100644 --- a/src/Helldivers-2-Models/V1/Assignment.cs +++ b/src/Helldivers-2-Models/V1/Assignment.cs @@ -15,6 +15,7 @@ namespace Helldivers.Models.V1; /// A very short summary of the description. /// A list of tasks that need to be completed for this assignment. /// The reward for completing the assignment. +/// A list of rewards for completing the assignment. /// The date when the assignment will expire. public sealed record Assignment( long Id, @@ -24,5 +25,6 @@ public sealed record Assignment( LocalizedMessage Description, List Tasks, Reward Reward, + List Rewards, DateTime Expiration );