1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-06 02:37:47 +00:00
sapphire/src/world/Actor/SpawnPoint.h

40 lines
674 B
C
Raw Normal View History

#ifndef SAPPHIRE_SPAWNPOINT_H
#define SAPPHIRE_SPAWNPOINT_H
#include "ForwardsZone.h"
namespace Sapphire::Entity
{
2018-10-28 21:53:21 +01:00
class SpawnPoint
{
private:
float m_posX;
float m_posY;
float m_posZ;
float m_rotation;
uint32_t m_gimmickId;
2018-10-28 21:53:21 +01:00
uint32_t m_lastSpawn;
BNpcPtr m_pLinkedBnpc;
2018-10-28 21:53:21 +01:00
public:
SpawnPoint();
SpawnPoint( float x, float y, float z, float rot, uint32_t gimmickId );
2018-10-28 21:53:21 +01:00
float getPosX() const;
float getPosY() const;
float getPosZ() const;
float getRotation() const;
2018-10-28 21:53:21 +01:00
uint32_t getGimmickId() const;
2018-10-28 21:53:21 +01:00
BNpcPtr getLinkedBNpc();
void setLinkedBNpc( BNpcPtr pBnpc );
2018-10-28 21:53:21 +01:00
};
2018-10-28 21:53:21 +01:00
}
#endif //SAPPHIRE_SPAWNPOINT_H