Hooks
static bool BeforeCvDllGame_CountHumanPlayersAlive(const CvDllGame* self, int& result);static void AfterCvDllGame_CountHumanPlayersAlive(const CvDllGame* self, int& result);static int ReplaceCvDllGame_CountHumanPlayersAlive(int (*original)(const CvDllGame*), const CvDllGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CountHumanPlayersAlive::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_CountHumanPlayersAlive);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CountHumanPlayersAlive::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_CountHumanPlayersAlive);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CountHumanPlayersAlive::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_CountHumanPlayersAlive);