Hooks
static bool BeforeCvLuaMap_lMaxPlotDistance(lua_State* L, int& result);static void AfterCvLuaMap_lMaxPlotDistance(lua_State* L, int& result);static int ReplaceCvLuaMap_lMaxPlotDistance(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaMap_lMaxPlotDistance>(host, &BeforeCvLuaMap_lMaxPlotDistance);CivRegisterAfter<CivHooks::CvLuaMap_lMaxPlotDistance>(host, &AfterCvLuaMap_lMaxPlotDistance);CivRegisterReplace<CivHooks::CvLuaMap_lMaxPlotDistance>(host, &ReplaceCvLuaMap_lMaxPlotDistance);