Bazaar developer reference

CvLuaGame::lIsMPOption(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1493
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lIsMPOption

Hooks

static bool BeforeCvLuaGame_lIsMPOption(lua_State* L, int& result);static void AfterCvLuaGame_lIsMPOption(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsMPOption(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsMPOption>(host, &BeforeCvLuaGame_lIsMPOption);CivRegisterAfter<CivHooks::CvLuaGame_lIsMPOption>(host, &AfterCvLuaGame_lIsMPOption);CivRegisterReplace<CivHooks::CvLuaGame_lIsMPOption>(host, &ReplaceCvLuaGame_lIsMPOption);

Code

1492//bool isMPOption(MultiplayerOptionTypes eIndex);1493int CvLuaGame::lIsMPOption(lua_State* L)1494{1495	return BasicLuaMethod(L, &CvGame::isMPOption);1496}

Calls

Called by