Bazaar developer reference

CvLuaPlot::lIsVisibleOtherUnit(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 998
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lIsVisibleOtherUnit

Hooks

static bool BeforeCvLuaPlot_lIsVisibleOtherUnit(lua_State* L, int& result);static void AfterCvLuaPlot_lIsVisibleOtherUnit(lua_State* L, int& result);static int ReplaceCvLuaPlot_lIsVisibleOtherUnit(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lIsVisibleOtherUnit>(host, &BeforeCvLuaPlot_lIsVisibleOtherUnit);CivRegisterAfter<CivHooks::CvLuaPlot_lIsVisibleOtherUnit>(host, &AfterCvLuaPlot_lIsVisibleOtherUnit);CivRegisterReplace<CivHooks::CvLuaPlot_lIsVisibleOtherUnit>(host, &ReplaceCvLuaPlot_lIsVisibleOtherUnit);

Code

997//bool isVisibleOtherUnit(PlayerTypes ePlayer);998int CvLuaPlot::lIsVisibleOtherUnit(lua_State* L)999{1000	return BasicLuaMethod(L, &CvPlot::isVisibleOtherUnit);1001}

Calls

Called by