1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

CClient no longer inherits from CGameInfoCallback

This commit is contained in:
Ivan Savenko
2025-05-20 23:16:28 +03:00
parent fa6bf02b6e
commit ff0f5290f7
8 changed files with 95 additions and 87 deletions

View File

@@ -233,6 +233,7 @@ public:
/// Returns pointer to hero of specified type if hero is present on map
CGHeroInstance * getHero(HeroTypeID heroId);
const CGHeroInstance * getHero(HeroTypeID heroId) const;
/// Returns ID's of all heroes that are currently present on map
/// Includes all garrisoned and imprisoned heroes