Bazaar developer reference

CvDllCity::GetStrengthValue(bool) const

Defined in
CvDllCity.cpp, line 153
Class
CvDllCity
Hook name
CivHooks::CvDllCity_GetStrengthValue

Hooks

static bool BeforeCvDllCity_GetStrengthValue(const CvDllCity* self, bool bForRangeStrike, int& result);static void AfterCvDllCity_GetStrengthValue(const CvDllCity* self, bool bForRangeStrike, int& result);static int ReplaceCvDllCity_GetStrengthValue(int (*original)(const CvDllCity*, bool), const CvDllCity* self, bool bForRangeStrike);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetStrengthValue::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCity_GetStrengthValue);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetStrengthValue::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCity_GetStrengthValue);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetStrengthValue::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCity_GetStrengthValue);

Code

153int CvDllCity::GetStrengthValue(bool bForRangeStrike) const154{155	return m_pCity->getStrengthValue(bForRangeStrike);156}

Calls