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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user