2018-02-10 02:47:32 +11:00
|
|
|
#ifndef SAPPHIRE_INSTANCEOBJECT_H
|
|
|
|
#define SAPPHIRE_INSTANCEOBJECT_H
|
|
|
|
|
2018-02-20 22:46:44 +01:00
|
|
|
#include "Actor.h"
|
2018-02-10 02:47:32 +11:00
|
|
|
|
|
|
|
namespace Core
|
|
|
|
{
|
|
|
|
namespace Entity
|
|
|
|
{
|
2018-02-20 22:46:44 +01:00
|
|
|
class InstanceObject : public Actor
|
2018-02-10 02:47:32 +11:00
|
|
|
{
|
|
|
|
public:
|
2018-02-11 22:57:00 +01:00
|
|
|
InstanceObject( uint32_t objectId, uint32_t mapLinkId );
|
|
|
|
InstanceObject( uint32_t objectId, uint32_t mapLinkId, Common::FFXIVARR_POSITION3 pos );
|
2018-02-10 02:47:32 +11:00
|
|
|
|
|
|
|
uint32_t getHierachyId() const;
|
|
|
|
void setHierachyId( uint32_t hierachyId );
|
|
|
|
|
|
|
|
uint8_t getState() const;
|
|
|
|
void setState( uint8_t state );
|
|
|
|
|
|
|
|
InstanceContentPtr getParentInstance() const;
|
|
|
|
void setParentInstance( InstanceContentPtr instance );
|
|
|
|
|
|
|
|
protected:
|
2018-02-11 22:57:00 +01:00
|
|
|
uint32_t m_mapLinkId;
|
2018-02-10 02:47:32 +11:00
|
|
|
uint8_t m_state;
|
|
|
|
InstanceContentPtr m_parentInstance;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //SAPPHIRE_INSTANCEOBJECT_H
|