mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Display object description only on right-click
This commit is contained in:
@@ -112,6 +112,9 @@ public:
|
||||
/// Returns hero-specific hover name, including visited/not visited info. Default = player-specific name
|
||||
virtual std::string getHoverText(const CGHeroInstance * hero) const;
|
||||
|
||||
virtual std::string getPopupText(PlayerColor player) const;
|
||||
virtual std::string getPopupText(const CGHeroInstance * hero) const;
|
||||
|
||||
virtual std::vector<Component> getPopupComponents(PlayerColor player) const;
|
||||
virtual std::vector<Component> getPopupComponents(const CGHeroInstance * hero) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user