Hooks
static bool BeforeCvPlayer_GetNumWorkablePlots(const CvPlayer* self, int& result);static void AfterCvPlayer_GetNumWorkablePlots(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetNumWorkablePlots(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetNumWorkablePlots>(host, &BeforeCvPlayer_GetNumWorkablePlots);CivRegisterAfter<CivHooks::CvPlayer_GetNumWorkablePlots>(host, &AfterCvPlayer_GetNumWorkablePlots);CivRegisterReplace<CivHooks::CvPlayer_GetNumWorkablePlots>(host, &ReplaceCvPlayer_GetNumWorkablePlots);