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