Bazaar developer reference

CvLuaPlot::lIsAdjacentPlayer(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 774
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lIsAdjacentPlayer

Hooks

static bool BeforeCvLuaPlot_lIsAdjacentPlayer(lua_State* L, int& result);static void AfterCvLuaPlot_lIsAdjacentPlayer(lua_State* L, int& result);static int ReplaceCvLuaPlot_lIsAdjacentPlayer(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lIsAdjacentPlayer>(host, &BeforeCvLuaPlot_lIsAdjacentPlayer);CivRegisterAfter<CivHooks::CvLuaPlot_lIsAdjacentPlayer>(host, &AfterCvLuaPlot_lIsAdjacentPlayer);CivRegisterReplace<CivHooks::CvLuaPlot_lIsAdjacentPlayer>(host, &ReplaceCvLuaPlot_lIsAdjacentPlayer);

Code

773//bool isAdjacentPlayer(PlayerTypes ePlayer, bool bLandOnly);774int CvLuaPlot::lIsAdjacentPlayer(lua_State* L)775{776	return BasicLuaMethod(L, &CvPlot::isAdjacentPlayer);777}

Calls

Called by