Hooks
static bool BeforeCvUnit_changeCargoSpace(CvUnit* self, int iChange);static void AfterCvUnit_changeCargoSpace(CvUnit* self, int iChange);static void ReplaceCvUnit_changeCargoSpace(void (*original)(CvUnit*, int), CvUnit* self, int iChange);CivRegisterBefore<CivHooks::CvUnit_changeCargoSpace>(host, &BeforeCvUnit_changeCargoSpace);CivRegisterAfter<CivHooks::CvUnit_changeCargoSpace>(host, &AfterCvUnit_changeCargoSpace);CivRegisterReplace<CivHooks::CvUnit_changeCargoSpace>(host, &ReplaceCvUnit_changeCargoSpace);