Bazaar developer reference

CvLuaCity::lIsVisible(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1718
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsVisible

Hooks

static bool BeforeCvLuaCity_lIsVisible(lua_State* L, int& result);static void AfterCvLuaCity_lIsVisible(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsVisible(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsVisible>(host, &BeforeCvLuaCity_lIsVisible);CivRegisterAfter<CivHooks::CvLuaCity_lIsVisible>(host, &AfterCvLuaCity_lIsVisible);CivRegisterReplace<CivHooks::CvLuaCity_lIsVisible>(host, &ReplaceCvLuaCity_lIsVisible);

Code

1717//bool isVisible(TeamTypes eTeam, bool bDebug);1718int CvLuaCity::lIsVisible(lua_State* L)1719{1720	return BasicLuaMethod(L, &CvCity::isVisible);1721}

Calls

Called by