1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-22 20:57:46 +00:00

Added getter and setter for territoryId to player

This commit is contained in:
mordred 2018-11-06 10:48:46 +01:00
parent 43a9124ce7
commit 02e968fbc2
2 changed files with 13 additions and 0 deletions

View file

@ -121,6 +121,16 @@ uint16_t Core::Entity::Player::getZoneId() const
return m_zoneId;
}
uint16_t Core::Entity::Player::getTerritoryId() const
{
return m_territoryId;
}
void Core::Entity::Player::setTerritoryId( uint16_t territoryId )
{
m_territoryId = territoryId;
}
uint8_t Core::Entity::Player::getGmRank() const
{
return m_gmRank;

View file

@ -777,6 +777,9 @@ namespace Core::Entity
uint16_t getZoneId() const;
uint16_t getTerritoryId() const;
void setTerritoryId( uint16_t territoryId );
uint8_t getGmRank() const;
void setGmRank( uint8_t rank );