Hooks
static bool BeforeCvDllGame_SelectUnit(CvDllGame* self, ICvUnit1* pUnit, bool bClear, bool bToggle, bool bSound);static void AfterCvDllGame_SelectUnit(CvDllGame* self, ICvUnit1* pUnit, bool bClear, bool bToggle, bool bSound);static void ReplaceCvDllGame_SelectUnit(void (*original)(CvDllGame*, ICvUnit1*, bool, bool, bool), CvDllGame* self, ICvUnit1* pUnit, bool bClear, bool bToggle, bool bSound);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SelectUnit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_SelectUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SelectUnit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_SelectUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SelectUnit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_SelectUnit);