Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
503 B
C++
21 lines
503 B
C++
|
|
#include "stdafx.h"
|
|
|
|
#include "QuestMgr.h"
|
|
#include "QuestStruct.h"
|
|
|
|
using namespace Quest;
|
|
|
|
ExecutingQuest::ExecutingQuest()
|
|
: m_cPhase(0), m_QuestNode(NULL)
|
|
{
|
|
std::fill_n(m_cTriggerCount, int(MAX_TRIGGER), 0);
|
|
}
|
|
|
|
ExecutingQuest::ExecutingQuest(unsigned short wQuestID, unsigned char cPhase, unsigned char* aryTriggerCount)
|
|
: m_cPhase(cPhase)
|
|
{
|
|
std::copy(&(aryTriggerCount[0]), &(aryTriggerCount[MAX_TRIGGER]), m_cTriggerCount);
|
|
m_QuestNode = CQuestMgr::GetInstance().GetQuestNode(wQuestID);
|
|
}
|