mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:45:34 +00:00
[Client] Add updateInventoryWindow() method to LocalPlayer
This commit is contained in:
parent
49fa35a516
commit
01804af100
2 changed files with 7 additions and 1 deletions
|
@ -708,7 +708,7 @@ void LocalPlayer::addItems()
|
|||
}
|
||||
}
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->updateItemView();
|
||||
updateInventoryWindow();
|
||||
}
|
||||
|
||||
void LocalPlayer::addSpells()
|
||||
|
@ -864,6 +864,11 @@ void LocalPlayer::closeInventoryWindows()
|
|||
MWBase::Environment::get().getWindowManager()->finishDragDrop();
|
||||
}
|
||||
|
||||
void LocalPlayer::updateInventoryWindow()
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->updateItemView();
|
||||
}
|
||||
|
||||
void LocalPlayer::setCharacter()
|
||||
{
|
||||
receivedCharacter = true;
|
||||
|
|
|
@ -52,6 +52,7 @@ namespace mwmp
|
|||
void resurrect();
|
||||
|
||||
void closeInventoryWindows();
|
||||
void updateInventoryWindow();
|
||||
|
||||
void setCharacter();
|
||||
void setDynamicStats();
|
||||
|
|
Loading…
Reference in a new issue