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