Bazaar developer reference

CvGlobals::getAIGrandStrategyInfo()

Defined in
CvGlobals.cpp, line 3632
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getAIGrandStrategyInfo

Hooks

static bool BeforeCvGlobals_getAIGrandStrategyInfo(CvGlobals* self, std::vector<CvAIGrandStrategyXMLEntry*>*& result);static void AfterCvGlobals_getAIGrandStrategyInfo(CvGlobals* self, std::vector<CvAIGrandStrategyXMLEntry*>*& result);static std::vector<CvAIGrandStrategyXMLEntry*>& ReplaceCvGlobals_getAIGrandStrategyInfo(std::vector<CvAIGrandStrategyXMLEntry*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getAIGrandStrategyInfo>(host, &BeforeCvGlobals_getAIGrandStrategyInfo);CivRegisterAfter<CivHooks::CvGlobals_getAIGrandStrategyInfo>(host, &AfterCvGlobals_getAIGrandStrategyInfo);CivRegisterReplace<CivHooks::CvGlobals_getAIGrandStrategyInfo>(host, &ReplaceCvGlobals_getAIGrandStrategyInfo);

Code

3632std::vector<CvAIGrandStrategyXMLEntry*>& CvGlobals::getAIGrandStrategyInfo()3633{3634	return m_pAIGrandStrategies->GetAIGrandStrategyEntries();3635}

Calls

Called by