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