1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-05 18:27:47 +00:00
sapphire/src/servers/sapphire_zone/Zone/HousingZone.h

32 lines
708 B
C
Raw Normal View History

2018-07-15 23:59:15 +02:00
#ifndef SAPPHIRE_HOUSINGZONE_H
#define SAPPHIRE_HOUSINGZONE_H
#include "Zone.h"
#include "Forwards.h"
namespace Core
{
2018-07-16 11:58:25 +02:00
class HousingZone : public Zone
2018-07-15 23:59:15 +02:00
{
public:
HousingZone( uint8_t wardNum,
2018-07-16 11:58:25 +02:00
uint16_t territoryId,
uint32_t guId,
const std::string& internalName,
const std::string& contentName );
2018-07-15 23:59:15 +02:00
virtual ~HousingZone();
bool init() override;
2018-07-16 12:37:04 +02:00
void onPlayerZoneIn( Entity::Player& player ) override;
2018-07-15 23:59:15 +02:00
2018-07-16 11:58:25 +02:00
/* returns current ward number for this zone */
uint8_t getWardNum() const;
2018-07-16 16:13:39 +02:00
const uint32_t m_wardMaxNum = 18;
2018-07-15 23:59:15 +02:00
private:
2018-07-16 11:58:25 +02:00
uint8_t m_wardNum;
2018-07-15 23:59:15 +02:00
};
}
#endif //SAPPHIRE_HOUSINGZONE_H