Hooks
static bool BeforeCvDllGameContext_GetPlayerOptionInfo(CvDllGameContext* self, PlayerOptionTypes ePlayerOptionNum, ICvPlayerOptionInfo1*& result);static void AfterCvDllGameContext_GetPlayerOptionInfo(CvDllGameContext* self, PlayerOptionTypes ePlayerOptionNum, ICvPlayerOptionInfo1*& result);static ICvPlayerOptionInfo1* ReplaceCvDllGameContext_GetPlayerOptionInfo(ICvPlayerOptionInfo1* (*original)(CvDllGameContext*, PlayerOptionTypes), CvDllGameContext* self, PlayerOptionTypes ePlayerOptionNum);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerOptionInfo::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetPlayerOptionInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerOptionInfo::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetPlayerOptionInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerOptionInfo::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetPlayerOptionInfo);