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