Bazaar developer reference

CvLuaCity::lGetXY(lua_State *)

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

Code

1938//int, int getXY();1939int CvLuaCity::lGetXY(lua_State* L)1940{1941	CvCity* pkCity = GetInstance(L);1942	const int iX = pkCity->getX();1943	const int iY = pkCity->getY();19441945	lua_pushinteger(L, iX);1946	lua_pushinteger(L, iY);1947	return 2;1948}

Calls

Called by