Bazaar developer reference

CvGrandStrategyAI::GetActiveGrandStrategy() const

Defined in
CvGrandStrategyAI.cpp, line 803
Class
CvGrandStrategyAI
Hook name
CivHooks::CvGrandStrategyAI_GetActiveGrandStrategy

Hooks

static bool BeforeCvGrandStrategyAI_GetActiveGrandStrategy(const CvGrandStrategyAI* self, AIGrandStrategyTypes& result);static void AfterCvGrandStrategyAI_GetActiveGrandStrategy(const CvGrandStrategyAI* self, AIGrandStrategyTypes& result);static AIGrandStrategyTypes ReplaceCvGrandStrategyAI_GetActiveGrandStrategy(AIGrandStrategyTypes (*original)(const CvGrandStrategyAI*), const CvGrandStrategyAI* self);CivRegisterBefore<CivHooks::CvGrandStrategyAI_GetActiveGrandStrategy>(host, &BeforeCvGrandStrategyAI_GetActiveGrandStrategy);CivRegisterAfter<CivHooks::CvGrandStrategyAI_GetActiveGrandStrategy>(host, &AfterCvGrandStrategyAI_GetActiveGrandStrategy);CivRegisterReplace<CivHooks::CvGrandStrategyAI_GetActiveGrandStrategy>(host, &ReplaceCvGrandStrategyAI_GetActiveGrandStrategy);

Code

802/// Returns the Active Grand Strategy for this Player: how am I trying to win right now?803AIGrandStrategyTypes CvGrandStrategyAI::GetActiveGrandStrategy() const804{805	return m_eActiveGrandStrategy;806}

Called by

33 functions in 14 files