mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-07 03:07:45 +00:00
getGmRank now actually returns the gm rank. Also const correctness
This commit is contained in:
parent
f20970586b
commit
90c553e0a8
1 changed files with 13 additions and 13 deletions
|
@ -30,7 +30,7 @@ namespace Core {
|
||||||
std::string getClassString();
|
std::string getClassString();
|
||||||
|
|
||||||
// return the id of the actor
|
// return the id of the actor
|
||||||
uint32_t getId()
|
uint32_t getId() const
|
||||||
{
|
{
|
||||||
return m_iD;
|
return m_iD;
|
||||||
}
|
}
|
||||||
|
@ -45,13 +45,13 @@ namespace Core {
|
||||||
m_contentId = id;
|
m_contentId = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t getContentId()
|
uint64_t getContentId() const
|
||||||
{
|
{
|
||||||
return m_contentId;
|
return m_contentId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
uint32_t getAccountId()
|
uint32_t getAccountId() const
|
||||||
{
|
{
|
||||||
return m_accountId;
|
return m_accountId;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ namespace Core {
|
||||||
}
|
}
|
||||||
|
|
||||||
// return the actors name
|
// return the actors name
|
||||||
char * getName()
|
char * getName() const
|
||||||
{
|
{
|
||||||
return m_name;
|
return m_name;
|
||||||
}
|
}
|
||||||
|
@ -84,12 +84,12 @@ namespace Core {
|
||||||
m_class = classId;
|
m_class = classId;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getClass()
|
uint8_t getClass() const
|
||||||
{
|
{
|
||||||
return m_class;
|
return m_class;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getGuardianDeity()
|
uint8_t getGuardianDeity() const
|
||||||
{
|
{
|
||||||
return m_guardianDeity;
|
return m_guardianDeity;
|
||||||
}
|
}
|
||||||
|
@ -105,17 +105,17 @@ namespace Core {
|
||||||
m_birthMonth = month;
|
m_birthMonth = month;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getBirthDay()
|
uint8_t getBirthDay() const
|
||||||
{
|
{
|
||||||
return m_birthDay;
|
return m_birthDay;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getBirthMonth()
|
uint8_t getBirthMonth() const
|
||||||
{
|
{
|
||||||
return m_birthMonth;
|
return m_birthMonth;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getVoice()
|
uint8_t getVoice() const
|
||||||
{
|
{
|
||||||
return m_birthMonth;
|
return m_birthMonth;
|
||||||
}
|
}
|
||||||
|
@ -125,12 +125,12 @@ namespace Core {
|
||||||
m_voice = voice;
|
m_voice = voice;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t getZoneId()
|
uint32_t getZoneId() const
|
||||||
{
|
{
|
||||||
return m_zoneId;
|
return m_zoneId;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t getTribe()
|
uint32_t getTribe() const
|
||||||
{
|
{
|
||||||
return m_tribe;
|
return m_tribe;
|
||||||
}
|
}
|
||||||
|
@ -140,9 +140,9 @@ namespace Core {
|
||||||
m_tribe = tribe;
|
m_tribe = tribe;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getGmRank()
|
uint8_t getGmRank() const
|
||||||
{
|
{
|
||||||
return m_birthMonth;
|
return m_gmRank;
|
||||||
}
|
}
|
||||||
|
|
||||||
void setGmRank( uint8_t rank )
|
void setGmRank( uint8_t rank )
|
||||||
|
|
Loading…
Add table
Reference in a new issue