HISP/Horse Isle Server/HorseIsleServer/Player/TrackedQuest.cs
2021-01-28 23:27:58 +13:00

30 lines
690 B
C#
Executable file

using System;
using HISP.Server;
namespace HISP
{
class TrackedQuest
{
public TrackedQuest(int playerID, int questID, int timesComplete)
{
playerId = playerID;
QuestId = questID;
timesCompleted = timesComplete;
}
public int QuestId;
private int playerId;
public int TimesCompleted
{
get
{
return timesCompleted;
}
set
{
Database.SetTrackedQuestCompletedCount(playerId, QuestId, value);
timesCompleted = value;
}
}
private int timesCompleted;
}
}