|
|
@ -2,16 +2,17 @@
|
|
|
|
#define OPENMW_QUESTAPI_HPP
|
|
|
|
#define OPENMW_QUESTAPI_HPP
|
|
|
|
|
|
|
|
|
|
|
|
#define QUESTAPI \
|
|
|
|
#define QUESTAPI \
|
|
|
|
{"GetJournalChangesSize", QuestFunctions::GetJournalChangesSize},\
|
|
|
|
{"GetJournalChangesSize", QuestFunctions::GetJournalChangesSize},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"AddJournalEntry", QuestFunctions::AddJournalEntry},\
|
|
|
|
{"AddJournalEntry", QuestFunctions::AddJournalEntry},\
|
|
|
|
{"AddJournalIndex", QuestFunctions::AddJournalIndex},\
|
|
|
|
{"AddJournalIndex", QuestFunctions::AddJournalIndex},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"GetJournalItemQuest", QuestFunctions::GetJournalItemQuest},\
|
|
|
|
{"GetJournalItemQuest", QuestFunctions::GetJournalItemQuest},\
|
|
|
|
{"GetJournalItemIndex", QuestFunctions::GetJournalItemIndex},\
|
|
|
|
{"GetJournalItemIndex", QuestFunctions::GetJournalItemIndex},\
|
|
|
|
{"GetJournalItemType", QuestFunctions::GetJournalItemType},\
|
|
|
|
{"GetJournalItemType", QuestFunctions::GetJournalItemType},\
|
|
|
|
|
|
|
|
{"GetJournalItemActorRefId", QuestFunctions::GetJournalItemActorRefId},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SendJournalChanges", QuestFunctions::SendJournalChanges}
|
|
|
|
{"SendJournalChanges", QuestFunctions::SendJournalChanges}
|
|
|
|
|
|
|
|
|
|
|
|
class QuestFunctions
|
|
|
|
class QuestFunctions
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -19,12 +20,13 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
static unsigned int GetJournalChangesSize(unsigned short pid) noexcept;
|
|
|
|
static unsigned int GetJournalChangesSize(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
static void AddJournalEntry(unsigned short pid, const char* quest, unsigned int index) noexcept;
|
|
|
|
static void AddJournalEntry(unsigned short pid, const char* quest, unsigned int index, const char* actorRefId) noexcept;
|
|
|
|
static void AddJournalIndex(unsigned short pid, const char* quest, unsigned int index) noexcept;
|
|
|
|
static void AddJournalIndex(unsigned short pid, const char* quest, unsigned int index) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
static const char *GetJournalItemQuest(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static const char *GetJournalItemQuest(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static int GetJournalItemIndex(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static int GetJournalItemIndex(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static int GetJournalItemType(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static int GetJournalItemType(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
|
|
|
|
static const char *GetJournalItemActorRefId(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
static void SendJournalChanges(unsigned short pid) noexcept;
|
|
|
|
static void SendJournalChanges(unsigned short pid) noexcept;
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|