|
|
|
@ -9,6 +9,7 @@
|
|
|
|
|
{"GetKillChangesSize", QuestFunctions::GetKillChangesSize},\
|
|
|
|
|
\
|
|
|
|
|
{"AddJournalEntry", QuestFunctions::AddJournalEntry},\
|
|
|
|
|
{"AddJournalEntryWithTimestamp", QuestFunctions::AddJournalEntryWithTimestamp},\
|
|
|
|
|
{"AddJournalIndex", QuestFunctions::AddJournalIndex},\
|
|
|
|
|
{"AddKill", QuestFunctions::AddKill},\
|
|
|
|
|
\
|
|
|
|
@ -68,7 +69,8 @@ public:
|
|
|
|
|
static unsigned int GetKillChangesSize(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Add a new journal item of type ENTRY to the journal changes for a player.
|
|
|
|
|
* \brief Add a new journal item of type ENTRY to the journal changes for a player,
|
|
|
|
|
* with a specific timestamp.
|
|
|
|
|
*
|
|
|
|
|
* \param pid The player ID whose journal changes should be used.
|
|
|
|
|
* \param quest The quest of the journal item.
|
|
|
|
@ -78,6 +80,22 @@ public:
|
|
|
|
|
*/
|
|
|
|
|
static void AddJournalEntry(unsigned short pid, const char* quest, unsigned int index, const char* actorRefId) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Add a new journal item of type ENTRY to the journal changes for a player,
|
|
|
|
|
* with a specific timestamp.
|
|
|
|
|
*
|
|
|
|
|
* \param pid The player ID whose journal changes should be used.
|
|
|
|
|
* \param quest The quest of the journal item.
|
|
|
|
|
* \param index The quest index of the journal item.
|
|
|
|
|
* \param actorRefId The actor refId of the journal item.
|
|
|
|
|
* \param The daysPassed for the journal item.
|
|
|
|
|
* \param The month for the journal item.
|
|
|
|
|
* \param The day of the month for the journal item.
|
|
|
|
|
* \return void
|
|
|
|
|
*/
|
|
|
|
|
static void AddJournalEntryWithTimestamp(unsigned short pid, const char* quest, unsigned int index, const char* actorRefId,
|
|
|
|
|
unsigned int daysPassed, unsigned int month, unsigned int day) noexcept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Add a new journal item of type INDEX to the journal changes for a player.
|
|
|
|
|
*
|
|
|
|
|