Bazaar developer reference

CvLuaPlot::lIsBestAdjacentFound(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1685
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lIsBestAdjacentFound

Hooks

static bool BeforeCvLuaPlot_lIsBestAdjacentFound(lua_State* L, int& result);static void AfterCvLuaPlot_lIsBestAdjacentFound(lua_State* L, int& result);static int ReplaceCvLuaPlot_lIsBestAdjacentFound(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lIsBestAdjacentFound>(host, &BeforeCvLuaPlot_lIsBestAdjacentFound);CivRegisterAfter<CivHooks::CvLuaPlot_lIsBestAdjacentFound>(host, &AfterCvLuaPlot_lIsBestAdjacentFound);CivRegisterReplace<CivHooks::CvLuaPlot_lIsBestAdjacentFound>(host, &ReplaceCvLuaPlot_lIsBestAdjacentFound);

Code

1684//bool isBestAdjacentFound(PlayerTypes eIndex);1685int CvLuaPlot::lIsBestAdjacentFound(lua_State* L)1686{1687	return BasicLuaMethod(L, &CvPlot::isBestAdjacentFound);1688}

Calls

Called by