Hooks
static bool BeforeCvLuaMap_lGetRandomResourceQuantity(lua_State* L, int& result);static void AfterCvLuaMap_lGetRandomResourceQuantity(lua_State* L, int& result);static int ReplaceCvLuaMap_lGetRandomResourceQuantity(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaMap_lGetRandomResourceQuantity>(host, &BeforeCvLuaMap_lGetRandomResourceQuantity);CivRegisterAfter<CivHooks::CvLuaMap_lGetRandomResourceQuantity>(host, &AfterCvLuaMap_lGetRandomResourceQuantity);CivRegisterReplace<CivHooks::CvLuaMap_lGetRandomResourceQuantity>(host, &ReplaceCvLuaMap_lGetRandomResourceQuantity);