Hooks
static bool BeforeCvLuaUnit_lChangeCargoSpace(lua_State* L, int& result);static void AfterCvLuaUnit_lChangeCargoSpace(lua_State* L, int& result);static int ReplaceCvLuaUnit_lChangeCargoSpace(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaUnit_lChangeCargoSpace>(host, &BeforeCvLuaUnit_lChangeCargoSpace);CivRegisterAfter<CivHooks::CvLuaUnit_lChangeCargoSpace>(host, &AfterCvLuaUnit_lChangeCargoSpace);CivRegisterReplace<CivHooks::CvLuaUnit_lChangeCargoSpace>(host, &ReplaceCvLuaUnit_lChangeCargoSpace);