mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-10 04:37:45 +00:00
30 lines
570 B
C
30 lines
570 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include <string>
|
||
|
#include <ForwardsZone.h>
|
||
|
|
||
|
namespace Sapphire::World::Manager
|
||
|
{
|
||
|
|
||
|
class QuestMgr
|
||
|
{
|
||
|
public:
|
||
|
QuestMgr() = default;
|
||
|
|
||
|
/// Perform required actions for events
|
||
|
void onUpdateQuest( Entity::Player& player, uint8_t questIndex );
|
||
|
void onRemoveQuest( Entity::Player& player, uint8_t questIndex );
|
||
|
void onCompleteQuest( Entity::Player& player, uint16_t questId );
|
||
|
|
||
|
|
||
|
////////////////////
|
||
|
|
||
|
void sendQuestTracker( Entity::Player& player );
|
||
|
|
||
|
void sendQuestsInfo( Entity::Player& player );
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|