Bazaar developer reference

CvLuaGame::lDoFromUIDiploEvent(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1192
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lDoFromUIDiploEvent

Hooks

static bool BeforeCvLuaGame_lDoFromUIDiploEvent(lua_State* L, int& result);static void AfterCvLuaGame_lDoFromUIDiploEvent(lua_State* L, int& result);static int ReplaceCvLuaGame_lDoFromUIDiploEvent(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lDoFromUIDiploEvent>(host, &BeforeCvLuaGame_lDoFromUIDiploEvent);CivRegisterAfter<CivHooks::CvLuaGame_lDoFromUIDiploEvent>(host, &AfterCvLuaGame_lDoFromUIDiploEvent);CivRegisterReplace<CivHooks::CvLuaGame_lDoFromUIDiploEvent>(host, &ReplaceCvLuaGame_lDoFromUIDiploEvent);

Code

1191//void DoFromUIDiploEvent(FromUIDiploEventTypes eEvent, PlayerTypes eAIPlayer, int iArg1, int iArg2, int iArg3);1192int CvLuaGame::lDoFromUIDiploEvent(lua_State* L)1193{1194	return BasicLuaMethod(L, &CvGame::DoFromUIDiploEvent);1195}

Calls

Called by