mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-23 05:07:46 +00:00
Added getter and setter for territoryId to player
This commit is contained in:
parent
43a9124ce7
commit
02e968fbc2
2 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue