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