Bazaar developer reference

CvLuaGame::lIsUnitedNationsActive(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1363
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lIsUnitedNationsActive

Hooks

static bool BeforeCvLuaGame_lIsUnitedNationsActive(lua_State* L, int& result);static void AfterCvLuaGame_lIsUnitedNationsActive(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsUnitedNationsActive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsUnitedNationsActive>(host, &BeforeCvLuaGame_lIsUnitedNationsActive);CivRegisterAfter<CivHooks::CvLuaGame_lIsUnitedNationsActive>(host, &AfterCvLuaGame_lIsUnitedNationsActive);CivRegisterReplace<CivHooks::CvLuaGame_lIsUnitedNationsActive>(host, &ReplaceCvLuaGame_lIsUnitedNationsActive);

Code

1362//bool IsUnitedNationsActive();1363int CvLuaGame::lIsUnitedNationsActive(lua_State* L)1364{1365	return BasicLuaMethod(L, &CvGame::IsUnitedNationsActive);1366}

Calls

Called by