Bazaar developer reference

CvLuaTeam::lIsAlive(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 596
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lIsAlive

Hooks

static bool BeforeCvLuaTeam_lIsAlive(lua_State* L, int& result);static void AfterCvLuaTeam_lIsAlive(lua_State* L, int& result);static int ReplaceCvLuaTeam_lIsAlive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lIsAlive>(host, &BeforeCvLuaTeam_lIsAlive);CivRegisterAfter<CivHooks::CvLuaTeam_lIsAlive>(host, &AfterCvLuaTeam_lIsAlive);CivRegisterReplace<CivHooks::CvLuaTeam_lIsAlive>(host, &ReplaceCvLuaTeam_lIsAlive);

Code

595//bool isAlive();596int CvLuaTeam::lIsAlive(lua_State* L)597{598	return BasicLuaMethod(L, &CvTeam::isAlive);599}

Calls

Called by