Bazaar developer reference

CvLuaGame::lIsUnitEverActive(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1798
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lIsUnitEverActive

Hooks

static bool BeforeCvLuaGame_lIsUnitEverActive(lua_State* L, int& result);static void AfterCvLuaGame_lIsUnitEverActive(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsUnitEverActive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsUnitEverActive>(host, &BeforeCvLuaGame_lIsUnitEverActive);CivRegisterAfter<CivHooks::CvLuaGame_lIsUnitEverActive>(host, &AfterCvLuaGame_lIsUnitEverActive);CivRegisterReplace<CivHooks::CvLuaGame_lIsUnitEverActive>(host, &ReplaceCvLuaGame_lIsUnitEverActive);

Code

1797//bool isUnitEverActive(UnitTypes eUnit);1798int CvLuaGame::lIsUnitEverActive(lua_State* L)1799{1800	return BasicLuaMethod(L, &CvGame::isUnitEverActive);1801}

Calls

Called by