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