Hooks
static bool BeforeCvLuaCity_lCanBuyAnyPlot(lua_State* L, int& result);static void AfterCvLuaCity_lCanBuyAnyPlot(lua_State* L, int& result);static int ReplaceCvLuaCity_lCanBuyAnyPlot(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lCanBuyAnyPlot>(host, &BeforeCvLuaCity_lCanBuyAnyPlot);CivRegisterAfter<CivHooks::CvLuaCity_lCanBuyAnyPlot>(host, &AfterCvLuaCity_lCanBuyAnyPlot);CivRegisterReplace<CivHooks::CvLuaCity_lCanBuyAnyPlot>(host, &ReplaceCvLuaCity_lCanBuyAnyPlot);