mirror of
https://github.com/islehorse/HISP.git
synced 2025-06-06 11:01:27 +12:00
Add Feature pt1
This commit is contained in:
parent
a184e4d735
commit
092534e331
131 changed files with 3113 additions and 1418 deletions
30
HorseIsleServer/LibHISP/Player/TrackedQuest.cs
Normal file
30
HorseIsleServer/LibHISP/Player/TrackedQuest.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using HISP.Server;
|
||||
namespace HISP
|
||||
{
|
||||
public 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;
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue