Hooks
static bool BeforeCvPlayer_GetNumPolicies(const CvPlayer* self, int& result);static void AfterCvPlayer_GetNumPolicies(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetNumPolicies(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetNumPolicies>(host, &BeforeCvPlayer_GetNumPolicies);CivRegisterAfter<CivHooks::CvPlayer_GetNumPolicies>(host, &AfterCvPlayer_GetNumPolicies);CivRegisterReplace<CivHooks::CvPlayer_GetNumPolicies>(host, &ReplaceCvPlayer_GetNumPolicies);