Bazaar developer reference

CvLuaPlot::lAddPopupMessage(lua_State *)

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

Code

2164int CvLuaPlot::lAddPopupMessage(lua_State* L)2165{2166	CvPlot* pPlot = GetInstance(L);2167	const char* szMessage = lua_tostring(L, 2);2168	const float fDelay = (float) luaL_optnumber(L, 3, 0.0);2169	const PlayerTypes ePlayer = (PlayerTypes) luaL_optinteger(L, 4, GC.getGame().getActivePlayer());21702171	SHOW_PLOT_POPUP(pPlot, ePlayer, szMessage, fDelay);2172	return 0;2173}

Calls

Called by