Hooks
static bool BeforeCvUnit_setCapturingPlayer(CvUnit* self, PlayerTypes eNewValue);static void AfterCvUnit_setCapturingPlayer(CvUnit* self, PlayerTypes eNewValue);static void ReplaceCvUnit_setCapturingPlayer(void (*original)(CvUnit*, PlayerTypes), CvUnit* self, PlayerTypes eNewValue);CivRegisterBefore<CivHooks::CvUnit_setCapturingPlayer>(host, &BeforeCvUnit_setCapturingPlayer);CivRegisterAfter<CivHooks::CvUnit_setCapturingPlayer>(host, &AfterCvUnit_setCapturingPlayer);CivRegisterReplace<CivHooks::CvUnit_setCapturingPlayer>(host, &ReplaceCvUnit_setCapturingPlayer);