Bazaar developer reference

CvAIGrandStrategyXMLEntries::GetAIGrandStrategyEntries()

Defined in
CvGrandStrategyAI.cpp, line 90
Class
CvAIGrandStrategyXMLEntries
Hook name
CivHooks::CvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries

Hooks

static bool BeforeCvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries(CvAIGrandStrategyXMLEntries* self, std::vector<CvAIGrandStrategyXMLEntry*>*& result);static void AfterCvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries(CvAIGrandStrategyXMLEntries* self, std::vector<CvAIGrandStrategyXMLEntry*>*& result);static std::vector<CvAIGrandStrategyXMLEntry*>& ReplaceCvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries(std::vector<CvAIGrandStrategyXMLEntry*>& (*original)(CvAIGrandStrategyXMLEntries*), CvAIGrandStrategyXMLEntries* self);CivRegisterBefore<CivHooks::CvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries>(host, &BeforeCvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries);CivRegisterAfter<CivHooks::CvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries>(host, &AfterCvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries);CivRegisterReplace<CivHooks::CvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries>(host, &ReplaceCvAIGrandStrategyXMLEntries_GetAIGrandStrategyEntries);

Code

89/// Returns vector of AIStrategy entries90std::vector<CvAIGrandStrategyXMLEntry*>& CvAIGrandStrategyXMLEntries::GetAIGrandStrategyEntries()91{92	return m_paAIGrandStrategyEntries;93}

Called by