Bazaar developer reference

CvLuaTeam::lIsHuman(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 512
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lIsHuman

Hooks

static bool BeforeCvLuaTeam_lIsHuman(lua_State* L, int& result);static void AfterCvLuaTeam_lIsHuman(lua_State* L, int& result);static int ReplaceCvLuaTeam_lIsHuman(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lIsHuman>(host, &BeforeCvLuaTeam_lIsHuman);CivRegisterAfter<CivHooks::CvLuaTeam_lIsHuman>(host, &AfterCvLuaTeam_lIsHuman);CivRegisterReplace<CivHooks::CvLuaTeam_lIsHuman>(host, &ReplaceCvLuaTeam_lIsHuman);

Code

511//bool isHuman();512int CvLuaTeam::lIsHuman(lua_State* L)513{514	return BasicLuaMethod(L, &CvTeam::isHuman);515}

Calls

Called by