2018-08-29 21:40:59 +02:00
|
|
|
#ifndef _BNPC_H_
|
|
|
|
#define _BNPC_H_
|
|
|
|
|
|
|
|
#include <Common.h>
|
|
|
|
#include <boost/enable_shared_from_this.hpp>
|
|
|
|
|
|
|
|
#include "Forwards.h"
|
|
|
|
#include "Chara.h"
|
2018-08-29 22:03:10 +02:00
|
|
|
#include "Npc.h"
|
2018-08-29 21:40:59 +02:00
|
|
|
#include <set>
|
|
|
|
#include <map>
|
|
|
|
#include <queue>
|
|
|
|
|
|
|
|
namespace Core {
|
|
|
|
namespace Entity {
|
|
|
|
|
|
|
|
/*!
|
2018-08-29 22:03:10 +02:00
|
|
|
\class BNpc
|
|
|
|
\brief Base class for all BNpcs
|
2018-08-29 21:40:59 +02:00
|
|
|
|
|
|
|
*/
|
|
|
|
class BNpc :
|
|
|
|
public Npc
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
BNpc();
|
|
|
|
|
|
|
|
virtual ~BNpc() override;
|
|
|
|
|
2018-09-09 23:56:22 +02:00
|
|
|
void spawn( PlayerPtr pTarget ) override;
|
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
private:
|
|
|
|
uint32_t m_bNpcBaseId;
|
|
|
|
uint32_t m_bNpcNameId;
|
|
|
|
uint64_t m_weaponMain;
|
|
|
|
uint64_t m_weaponSub;
|
|
|
|
uint8_t m_aggressionMode;
|
|
|
|
uint8_t m_enemyType;
|
|
|
|
uint8_t m_onlineStatus;
|
|
|
|
uint8_t m_pose;
|
|
|
|
uint16_t m_modelChara;
|
|
|
|
uint32_t m_displayFlags;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|