mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-06 02:37:47 +00:00
31 lines
620 B
C
31 lines
620 B
C
![]() |
#ifndef SAPPHIRE_HOUSINGZONE_H
|
||
|
#define SAPPHIRE_HOUSINGZONE_H
|
||
|
|
||
|
#include "Zone.h"
|
||
|
#include "Forwards.h"
|
||
|
|
||
|
namespace Core
|
||
|
{
|
||
|
class HousingZone : public Zone
|
||
|
{
|
||
|
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;
|
||
|
private:
|
||
|
uint8_t m_wardNum;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|
||
|
#endif //SAPPHIRE_HOUSINGZONE_H
|