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