Hooks
static bool BeforeCvDllCity_GetReferenceCount(CvDllCity* self, unsigned int& result);static void AfterCvDllCity_GetReferenceCount(CvDllCity* self, unsigned int& result);static unsigned int ReplaceCvDllCity_GetReferenceCount(unsigned int (*original)(CvDllCity*), CvDllCity* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetReferenceCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCity_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetReferenceCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCity_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetReferenceCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCity_GetReferenceCount);