mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-08 03:37:45 +00:00
46 lines
1 KiB
C++
46 lines
1 KiB
C++
#ifndef SAPPHIRE_INSTANCECONTENT_H
|
|
#define SAPPHIRE_INSTANCECONTENT_H
|
|
|
|
#include "Zone.h"
|
|
#include "Forwards.h"
|
|
#include <common/Exd/ExdDataGenerated.h>
|
|
|
|
namespace Core
|
|
{
|
|
|
|
class InstanceContent : public Zone
|
|
{
|
|
public:
|
|
enum InstanceContentState
|
|
{
|
|
Created,
|
|
DutyStarted,
|
|
DutyFinished
|
|
};
|
|
|
|
InstanceContent( boost::shared_ptr< Core::Data::InstanceContent > pInstanceContent,
|
|
uint32_t guId,
|
|
const std::string& internalName,
|
|
const std::string& placeName,
|
|
const uint32_t instanceContentId );
|
|
virtual ~InstanceContent();
|
|
|
|
boost::shared_ptr< Core::Data::InstanceContent > getInstanceContentRow() const
|
|
{
|
|
return m_instanceContentRow;
|
|
}
|
|
|
|
const uint32_t getInstanceContentId()
|
|
{
|
|
return m_instanceContentId;
|
|
}
|
|
|
|
private:
|
|
Event::DirectorPtr m_pDirector;
|
|
boost::shared_ptr< Core::Data::InstanceContent > m_instanceContentRow;
|
|
uint32_t m_instanceContentId;
|
|
|
|
};
|
|
|
|
}
|
|
#endif //SAPPHIRE_INSTANCECONTENT_H
|