CvLuaPlayer::lIsAlive(lua_State *)
- Defined in
- Lua/CvLuaPlayer.cpp, line 7195
- Class
- CvLuaPlayer
- Hook name
CivHooks::CvLuaPlayer_lIsAlive
Hooks
static bool BeforeCvLuaPlayer_lIsAlive(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsAlive(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsAlive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsAlive>(host, &BeforeCvLuaPlayer_lIsAlive);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsAlive>(host, &AfterCvLuaPlayer_lIsAlive);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsAlive>(host, &ReplaceCvLuaPlayer_lIsAlive);
Code
7194//bool isAlive();7195int CvLuaPlayer::lIsAlive(lua_State* L)7196{7197 return BasicLuaMethod(L, &CvPlayerAI::isAlive);7198}