1 #ifndef __QUESTMANAGER_H__ 2 #define __QUESTMANAGER_H__ 5 #include <boost/unordered_map.hpp> 18 typedef boost::unordered_map<u32, QuestData> QuestMap;
19 typedef boost::unordered_map<u32, QuestData *> ActiveQuestMap;
45 bool IsActive(
u32 QuestId)
const {
return (ActiveQuests.find(QuestId) != ActiveQuests.end()); }
62 ActiveQuestMap ActiveQuests;
70 #endif // #ifndef __QUESTMANAGER_H__ u8 Retire(u32 QuestId)
Definition: QuestManager.cpp:45
void OnKilledAnpan(u32 AreaId)
Definition: QuestManager.cpp:119
unsigned char u8
Definition: TypeDefs.h:6
QuestManager(Client *pInClient)
Definition: QuestManager.cpp:16
void Add(const QuestData &Data)
Definition: QuestManager.cpp:22
bool IsClear(u32 QuestId) const
Definition: QuestManager.cpp:146
void ProgressStage(u32 QuestId)
Definition: QuestManager.cpp:63
bool IsActive(u32 QuestId) const
Definition: QuestManager.h:45
void Accept(u32 QuestId)
Definition: QuestManager.cpp:32
クエストデータパケット
Definition: QuestData.h:17
unsigned int u32
Definition: TypeDefs.h:10
~QuestManager()
Definition: QuestManager.h:27
クライアントクラス
Definition: Client.h:26
u32 GetStageNo(u32 QuestId) const
Definition: QuestManager.cpp:154
Definition: QuestStageMaster.h:9
Definition: QuestManager.h:13