mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 01:49:41 +00:00
[Client] Add LocalPlayer::hasFinishedCharGen() method
This commit is contained in:
parent
4dc0ba21ec
commit
b5b5551fcd
2 changed files with 9 additions and 0 deletions
|
@ -146,6 +146,14 @@ bool LocalPlayer::charGenThread()
|
|||
return true;
|
||||
}
|
||||
|
||||
bool LocalPlayer::hasFinishedCharGen()
|
||||
{
|
||||
if (charGenStage.end == 0)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void LocalPlayer::updateDynamicStats(bool forceUpdate)
|
||||
{
|
||||
MWWorld::Ptr player = getPlayerPtr();
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace mwmp
|
|||
|
||||
void charGen(int stageFirst, int stageEnd);
|
||||
bool charGenThread(); // return true if CGStage::current == CGStage::end
|
||||
bool hasFinishedCharGen();
|
||||
|
||||
void updateDynamicStats(bool forceUpdate = false);
|
||||
void updateAttributes(bool forceUpdate = false);
|
||||
|
|
Loading…
Reference in a new issue