Bazaar developer reference

CvDllGameContext::GetMAX_CITY_HIT_POINTS() const

Defined in
CvDllContext.cpp, line 567
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetMAX_CITY_HIT_POINTS

Hooks

static bool BeforeCvDllGameContext_GetMAX_CITY_HIT_POINTS(const CvDllGameContext* self, int& result);static void AfterCvDllGameContext_GetMAX_CITY_HIT_POINTS(const CvDllGameContext* self, int& result);static int ReplaceCvDllGameContext_GetMAX_CITY_HIT_POINTS(int (*original)(const CvDllGameContext*), const CvDllGameContext* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetMAX_CITY_HIT_POINTS::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetMAX_CITY_HIT_POINTS);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetMAX_CITY_HIT_POINTS::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetMAX_CITY_HIT_POINTS);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetMAX_CITY_HIT_POINTS::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetMAX_CITY_HIT_POINTS);

Code

567int CvDllGameContext::GetMAX_CITY_HIT_POINTS() const568{569	return GC.getMAX_CITY_HIT_POINTS();570}

Calls