hermes-socket-library/Quests/DailyQuest.cs
2024-06-24 22:31:45 +00:00

11 lines
321 B
C#

namespace HermesSocketLibrary.Quests
{
public class DailyQuest : Quest
{
public DailyQuest(short id, IQuestTask task, DateOnly day)
: base(id, task, 1, day.ToDateTime(TimeOnly.MinValue), day.ToDateTime(TimeOnly.MaxValue))
{
Type = task.Type | QuestType.Daily;
}
}
}