Restructure repository to include all source folders
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>
This commit is contained in:
20
Server/RylServerProject/RylGameLibrary/quest/QuestStruct.cpp
Normal file
20
Server/RylServerProject/RylGameLibrary/quest/QuestStruct.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user