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