1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-03 17:27:47 +00:00
sapphire/src/servers/sapphire_zone/Actor/BNpc.h

62 lines
1.1 KiB
C
Raw Normal View History

#ifndef _BNPC_H_
#define _BNPC_H_
#include <Common.h>
#include "Forwards.h"
#include "Chara.h"
#include "Npc.h"
#include <set>
#include <map>
#include <queue>
2018-10-28 21:53:21 +01:00
namespace Core::Entity
{
2018-10-28 21:53:21 +01:00
/*!
\class BNpc
\brief Base class for all BNpcs
2018-10-28 21:53:21 +01:00
*/
class BNpc : public Npc
{
2018-10-28 21:53:21 +01:00
public:
BNpc();
BNpc( BNpcTemplatePtr pTemplate, float posX, float posY, float posZ, uint8_t level );
2018-10-28 21:53:21 +01:00
virtual ~BNpc() override;
2018-10-28 21:53:21 +01:00
void spawn( PlayerPtr pTarget ) override;
2018-10-28 21:53:21 +01:00
uint16_t getModelChara() const;
uint8_t getLevel() const override;
2018-10-28 21:53:21 +01:00
uint32_t getBNpcBaseId() const;
uint32_t getBNpcNameId() const;
2018-10-28 21:53:21 +01:00
uint8_t getEnemyType() const;
2018-10-28 21:53:21 +01:00
uint64_t getWeaponMain() const;
uint64_t getWeaponSub() const;
2018-10-28 21:53:21 +01:00
uint8_t getAggressionMode() const;
2018-10-28 21:53:21 +01: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;
uint8_t m_level;
2018-10-28 21:53:21 +01:00
};
}
#endif