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