Bazaar developer reference

CvLuaPlayer::lAddQuestNotification(lua_State *)

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

Code

9083//void AddNotification()9084int CvLuaPlayer::lAddQuestNotification(lua_State* L)9085{9086	CvPlayerAI* pkPlayer = GetInstance(L);9087	const PlayerTypes iCS = (PlayerTypes)lua_tointeger(L, 2);9088	9089	GET_PLAYER(iCS).GetMinorCivAI()->AddQuestNotification(lua_tostring(L, 3), lua_tostring(L, 4), pkPlayer->GetID(), luaL_optint(L, 5, -1), luaL_optint(L, 6, -1), luaL_optbool(L, 7, false));90909091	return 0;9092}

Calls

Called by