using System; using System.Collections.Generic; using BinaryPack.Attributes; namespace NitroxModel.DataStructures.GameLogic { [Serializable] public class InitialStoryGoalData { public List CompletedGoals { get; set; } public List RadioQueue { get; set; } public List ScheduledGoals { get; set; } /// /// This is the only field in this class that is very personal to the player this will be sent to. /// The other ones are shared by everyone and are related to overall story progress. /// public Dictionary PersonalCompletedGoalsWithTimestamp { get; set; } [IgnoreConstructor] protected InitialStoryGoalData() { // Constructor for serialization. Has to be "protected" for json serialization. } public InitialStoryGoalData(List completedGoals, List radioQueue, List scheduledGoals, Dictionary personalCompletedGoalsWithTimestamp) { CompletedGoals = completedGoals; RadioQueue = radioQueue; ScheduledGoals = scheduledGoals; PersonalCompletedGoalsWithTimestamp = personalCompletedGoalsWithTimestamp; } } }