Hooks
static bool BeforeCvDllPlayer_GetFirstReadyUnit(CvDllPlayer* self, ICvUnit1*& result);static void AfterCvDllPlayer_GetFirstReadyUnit(CvDllPlayer* self, ICvUnit1*& result);static ICvUnit1* ReplaceCvDllPlayer_GetFirstReadyUnit(ICvUnit1* (*original)(CvDllPlayer*), CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetFirstReadyUnit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetFirstReadyUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetFirstReadyUnit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetFirstReadyUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetFirstReadyUnit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetFirstReadyUnit);