2019-01-02 23:40:34 +01:00
|
|
|
#include "ForwardsZone.h"
|
|
|
|
#include "SpawnGroup.h"
|
|
|
|
|
2019-01-06 23:34:19 +01:00
|
|
|
Sapphire::Entity::SpawnGroup::SpawnGroup( uint32_t id, uint32_t bNpcTemplateId, uint32_t level, uint32_t maxHp ) :
|
|
|
|
m_id( id ),
|
|
|
|
m_bNpcTemplateId( bNpcTemplateId ),
|
|
|
|
m_level( level ),
|
|
|
|
m_maxHp( maxHp )
|
2019-01-02 23:40:34 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2019-01-06 23:34:19 +01:00
|
|
|
|
|
|
|
uint32_t Sapphire::Entity::SpawnGroup::getId() const
|
|
|
|
{
|
|
|
|
return m_id;
|
|
|
|
}
|
|
|
|
|
|
|
|
uint32_t Sapphire::Entity::SpawnGroup::getTemplateId() const
|
|
|
|
{
|
|
|
|
return m_bNpcTemplateId;
|
|
|
|
}
|
|
|
|
|
2019-01-08 17:08:48 +01:00
|
|
|
uint32_t Sapphire::Entity::SpawnGroup::getLevel() const
|
2019-01-06 23:34:19 +01:00
|
|
|
{
|
|
|
|
return m_level;
|
|
|
|
}
|
|
|
|
|
|
|
|
uint32_t Sapphire::Entity::SpawnGroup::getMaxHp() const
|
|
|
|
{
|
|
|
|
return m_maxHp;
|
|
|
|
}
|
|
|
|
|
|
|
|
Sapphire::Entity::SpawnGroup::SpawnPointList& Sapphire::Entity::SpawnGroup::getSpawnPointList()
|
|
|
|
{
|
|
|
|
return m_spawnPoints;
|
|
|
|
}
|