Bazaar developer reference

CvLuaPlot::lGetCityRadiusCount(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1252
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lGetCityRadiusCount

Hooks

static bool BeforeCvLuaPlot_lGetCityRadiusCount(lua_State* L, int& result);static void AfterCvLuaPlot_lGetCityRadiusCount(lua_State* L, int& result);static int ReplaceCvLuaPlot_lGetCityRadiusCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lGetCityRadiusCount>(host, &BeforeCvLuaPlot_lGetCityRadiusCount);CivRegisterAfter<CivHooks::CvLuaPlot_lGetCityRadiusCount>(host, &AfterCvLuaPlot_lGetCityRadiusCount);CivRegisterReplace<CivHooks::CvLuaPlot_lGetCityRadiusCount>(host, &ReplaceCvLuaPlot_lGetCityRadiusCount);

Code

1251//int getCityRadiusCount();1252int CvLuaPlot::lGetCityRadiusCount(lua_State* L)1253{1254	return BasicLuaMethod(L, &CvPlot::getCityRadiusCount);1255}

Calls

Called by