Bazaar developer reference

CvLuaPlayer::lDismissNotification(lua_State *)

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

Code

9065//void DismissNotification()9066int CvLuaPlayer::lDismissNotification(lua_State* L)9067{9068	CvPlayerAI* pkPlayer = GetInstance(L);9069	CvNotifications* pNotifications = pkPlayer->GetNotifications();9070	if (pNotifications) {9071		int iIndex = lua_tointeger(L, 2);9072		bool bUserInvoked = lua_toboolean(L, 3);9073		9074		pNotifications->Dismiss(iIndex, bUserInvoked);9075	}90769077	return 0;9078}

Calls

Called by