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