Bazaar developer reference

CvGrandStrategyAI::GetAIGrandStrategies()

Defined in
CvGrandStrategyAI.cpp, line 245
Class
CvGrandStrategyAI
Hook name
CivHooks::CvGrandStrategyAI_GetAIGrandStrategies

Hooks

static bool BeforeCvGrandStrategyAI_GetAIGrandStrategies(CvGrandStrategyAI* self, CvAIGrandStrategyXMLEntries*& result);static void AfterCvGrandStrategyAI_GetAIGrandStrategies(CvGrandStrategyAI* self, CvAIGrandStrategyXMLEntries*& result);static CvAIGrandStrategyXMLEntries* ReplaceCvGrandStrategyAI_GetAIGrandStrategies(CvAIGrandStrategyXMLEntries* (*original)(CvGrandStrategyAI*), CvGrandStrategyAI* self);CivRegisterBefore<CivHooks::CvGrandStrategyAI_GetAIGrandStrategies>(host, &BeforeCvGrandStrategyAI_GetAIGrandStrategies);CivRegisterAfter<CivHooks::CvGrandStrategyAI_GetAIGrandStrategies>(host, &AfterCvGrandStrategyAI_GetAIGrandStrategies);CivRegisterReplace<CivHooks::CvGrandStrategyAI_GetAIGrandStrategies>(host, &ReplaceCvGrandStrategyAI_GetAIGrandStrategies);

Code

244/// Returns AIGrandStrategies object stored in this class245CvAIGrandStrategyXMLEntries* CvGrandStrategyAI::GetAIGrandStrategies()246{247	return m_pAIGrandStrategies;248}

Called by