Bazaar developer reference

CvLuaPlot::lGetPlayerCityRadiusCount(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1691
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lGetPlayerCityRadiusCount

Hooks

static bool BeforeCvLuaPlot_lGetPlayerCityRadiusCount(lua_State* L, int& result);static void AfterCvLuaPlot_lGetPlayerCityRadiusCount(lua_State* L, int& result);static int ReplaceCvLuaPlot_lGetPlayerCityRadiusCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lGetPlayerCityRadiusCount>(host, &BeforeCvLuaPlot_lGetPlayerCityRadiusCount);CivRegisterAfter<CivHooks::CvLuaPlot_lGetPlayerCityRadiusCount>(host, &AfterCvLuaPlot_lGetPlayerCityRadiusCount);CivRegisterReplace<CivHooks::CvLuaPlot_lGetPlayerCityRadiusCount>(host, &ReplaceCvLuaPlot_lGetPlayerCityRadiusCount);

Code

1690//int getPlayerCityRadiusCount(PlayerTypes eIndex);1691int CvLuaPlot::lGetPlayerCityRadiusCount(lua_State* L)1692{1693	return BasicLuaMethod(L, &CvPlot::getPlayerCityRadiusCount);1694}

Calls

Called by