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