Bazaar developer reference

CvLuaPlot::lGetNumTradeRoutes(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1075
Class
CvLuaPlot
Not a hook point
member without a separate declaration

Code

1075int CvLuaPlot::lGetNumTradeRoutes(lua_State* L)1076{1077	CvPlot* pkPlot = GetInstance(L);10781079	const int iValue = GC.getGame().GetGameTrade()->GetNumTradeRoutesInPlot(pkPlot);1080	lua_pushinteger(L, iValue);1081	return 1;1082}

Calls

Called by