feat(object): add CGPlayer::GetNextLevelXP

This commit is contained in:
fallenoak 2026-02-05 15:00:32 -06:00
parent c9f26b6666
commit 5d81022c74
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,10 @@ uint32_t CGPlayer::TotalRemoteFieldsSaved() {
return CGPlayer::GetBaseOffsetSaved() + 173;
}
uint32_t CGPlayer::GetNextLevelXP() const {
return this->Player()->nextLevelXP;
}
uint32_t CGPlayer::GetXP() const {
return this->Player()->xp;
}

View File

@ -149,6 +149,7 @@ class CGPlayer {
static uint32_t TotalRemoteFieldsSaved();
// Public member functions
uint32_t GetNextLevelXP() const;
uint32_t GetXP() const;
protected: