mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-05 15:42:17 +03:00
feat(object): add CGPlayer::GetNextLevelXP
This commit is contained in:
parent
c9f26b6666
commit
5d81022c74
@ -41,6 +41,10 @@ uint32_t CGPlayer::TotalRemoteFieldsSaved() {
|
|||||||
return CGPlayer::GetBaseOffsetSaved() + 173;
|
return CGPlayer::GetBaseOffsetSaved() + 173;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t CGPlayer::GetNextLevelXP() const {
|
||||||
|
return this->Player()->nextLevelXP;
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t CGPlayer::GetXP() const {
|
uint32_t CGPlayer::GetXP() const {
|
||||||
return this->Player()->xp;
|
return this->Player()->xp;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -149,6 +149,7 @@ class CGPlayer {
|
|||||||
static uint32_t TotalRemoteFieldsSaved();
|
static uint32_t TotalRemoteFieldsSaved();
|
||||||
|
|
||||||
// Public member functions
|
// Public member functions
|
||||||
|
uint32_t GetNextLevelXP() const;
|
||||||
uint32_t GetXP() const;
|
uint32_t GetXP() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user