Bazaar developer reference

CvLuaPlot::lIsPlayerCityRadius(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1697
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lIsPlayerCityRadius

Hooks

static bool BeforeCvLuaPlot_lIsPlayerCityRadius(lua_State* L, int& result);static void AfterCvLuaPlot_lIsPlayerCityRadius(lua_State* L, int& result);static int ReplaceCvLuaPlot_lIsPlayerCityRadius(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lIsPlayerCityRadius>(host, &BeforeCvLuaPlot_lIsPlayerCityRadius);CivRegisterAfter<CivHooks::CvLuaPlot_lIsPlayerCityRadius>(host, &AfterCvLuaPlot_lIsPlayerCityRadius);CivRegisterReplace<CivHooks::CvLuaPlot_lIsPlayerCityRadius>(host, &ReplaceCvLuaPlot_lIsPlayerCityRadius);

Code

1696//bool isPlayerCityRadius(PlayerTypes eIndex);1697int CvLuaPlot::lIsPlayerCityRadius(lua_State* L)1698{1699	return BasicLuaMethod(L, &CvPlot::isPlayerCityRadius);1700}

Calls

Called by