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
CvLuaScopedInstance::GetInstance- CvMinorCivAI::AddQuestNotification(CvString, CvString, PlayerTypes, int, int, bool)
- CvPlayer::GetID() const
- CvPlayer::GetMinorCivAI() const
- CvPlayerAI::getPlayer(PlayerTypes)
CvString::CvStringlua_tointegerlua_tolstring- luaL_optbool(lua_State *, int, bool)
luaL_optinteger