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