/// <summary> /// Initializes a new instance of the <see cref="QuestPerformerStatusHelper"/> class. /// </summary> /// <param name="owner">The quest performer that this object will track the quest status of.</param> public QuestPerformerStatusHelper(User owner) : base(owner) { _questKillCounter = new QuestPerformerKillCounter(owner); // Send the initial quest status var completed = CompletedQuests.Select(x => x.QuestID); var active = ActiveQuests.Select(x => x.QuestID); using (var pw = ServerPacket.QuestInfo(x => UserQuestInformation.WriteQuestInfo(x, completed, active))) { Owner.Send(pw, ServerMessageType.GUI); } }