Bazaar developer reference

CvLuaPlayer::lIsEverAlive(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 7201
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lIsEverAlive

Hooks

static bool BeforeCvLuaPlayer_lIsEverAlive(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsEverAlive(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsEverAlive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsEverAlive>(host, &BeforeCvLuaPlayer_lIsEverAlive);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsEverAlive>(host, &AfterCvLuaPlayer_lIsEverAlive);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsEverAlive>(host, &ReplaceCvLuaPlayer_lIsEverAlive);

Code

7200//bool isEverAlive();7201int CvLuaPlayer::lIsEverAlive(lua_State* L)7202{7203	return BasicLuaMethod(L, &CvPlayerAI::isEverAlive);7204}

Calls

Called by