1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Improvements to rewardable objects popups

This commit is contained in:
Ivan Savenko
2023-10-16 23:55:37 +03:00
parent 850d0ff8eb
commit 927ce4e60e
7 changed files with 94 additions and 19 deletions

View File

@@ -271,6 +271,16 @@ std::string CGObjectInstance::getHoverText(const CGHeroInstance * hero) const
return getHoverText(hero->tempOwner);
}
std::vector<Component> CGObjectInstance::getPopupComponents(PlayerColor player) const
{
return {};
}
std::vector<Component> CGObjectInstance::getPopupComponents(const CGHeroInstance * hero) const
{
return {};
}
void CGObjectInstance::onHeroVisit( const CGHeroInstance * h ) const
{
switch(ID)