mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 00:28:08 -04:00
[Client] Add updateInventoryWindow() method to LocalPlayer
This commit is contained in:
parent
49fa35a516
commit
01804af100
@ -708,7 +708,7 @@ void LocalPlayer::addItems()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->updateItemView();
|
updateInventoryWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocalPlayer::addSpells()
|
void LocalPlayer::addSpells()
|
||||||
@ -864,6 +864,11 @@ void LocalPlayer::closeInventoryWindows()
|
|||||||
MWBase::Environment::get().getWindowManager()->finishDragDrop();
|
MWBase::Environment::get().getWindowManager()->finishDragDrop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void LocalPlayer::updateInventoryWindow()
|
||||||
|
{
|
||||||
|
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->updateItemView();
|
||||||
|
}
|
||||||
|
|
||||||
void LocalPlayer::setCharacter()
|
void LocalPlayer::setCharacter()
|
||||||
{
|
{
|
||||||
receivedCharacter = true;
|
receivedCharacter = true;
|
||||||
|
@ -52,6 +52,7 @@ namespace mwmp
|
|||||||
void resurrect();
|
void resurrect();
|
||||||
|
|
||||||
void closeInventoryWindows();
|
void closeInventoryWindows();
|
||||||
|
void updateInventoryWindow();
|
||||||
|
|
||||||
void setCharacter();
|
void setCharacter();
|
||||||
void setDynamicStats();
|
void setDynamicStats();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user