Bazaar developer reference

CvLuaPlot::lGetPlotIndex(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1125
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lGetPlotIndex

Hooks

static bool BeforeCvLuaPlot_lGetPlotIndex(lua_State* L, int& result);static void AfterCvLuaPlot_lGetPlotIndex(lua_State* L, int& result);static int ReplaceCvLuaPlot_lGetPlotIndex(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lGetPlotIndex>(host, &BeforeCvLuaPlot_lGetPlotIndex);CivRegisterAfter<CivHooks::CvLuaPlot_lGetPlotIndex>(host, &AfterCvLuaPlot_lGetPlotIndex);CivRegisterReplace<CivHooks::CvLuaPlot_lGetPlotIndex>(host, &ReplaceCvLuaPlot_lGetPlotIndex);

Code

1124//bool GetIndex();1125int CvLuaPlot::lGetPlotIndex(lua_State* L)1126{1127	return BasicLuaMethod(L, &CvPlot::GetPlotIndex);1128}

Calls

Called by