Bazaar developer reference

CvLuaGame::lCountHumanPlayersEverAlive(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 659
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lCountHumanPlayersEverAlive

Hooks

static bool BeforeCvLuaGame_lCountHumanPlayersEverAlive(lua_State* L, int& result);static void AfterCvLuaGame_lCountHumanPlayersEverAlive(lua_State* L, int& result);static int ReplaceCvLuaGame_lCountHumanPlayersEverAlive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lCountHumanPlayersEverAlive>(host, &BeforeCvLuaGame_lCountHumanPlayersEverAlive);CivRegisterAfter<CivHooks::CvLuaGame_lCountHumanPlayersEverAlive>(host, &AfterCvLuaGame_lCountHumanPlayersEverAlive);CivRegisterReplace<CivHooks::CvLuaGame_lCountHumanPlayersEverAlive>(host, &ReplaceCvLuaGame_lCountHumanPlayersEverAlive);

Code

658//int countHumanPlayersEverAlive();659int CvLuaGame::lCountHumanPlayersEverAlive(lua_State* L)660{661	return BasicLuaMethod(L, &CvGame::countHumanPlayersEverAlive);662}

Calls

Called by