Searched refs:AllowBuyHero (Results 1 – 3 of 3) sorted by relevance
114 if ( !AllowBuyHero( *hero ) ) { in DialogBuyHero()367 const bool allow_buy_hero1 = hero1 ? AllowBuyHero( *hero1, ¬_allow1_msg ) : false; in openConstructionDialog()368 const bool allow_buy_hero2 = hero2 ? AllowBuyHero( *hero2, ¬_allow2_msg ) : false; in openConstructionDialog()
133 bool AllowBuyHero( const Heroes &, std::string * = nullptr ) const;
702 bool Castle::AllowBuyHero( const Heroes & hero, std::string * msg ) const in AllowBuyHero() function in Castle740 if ( !hero || !AllowBuyHero( *hero ) ) in RecruitHero()