Bazaar developer reference

CvLuaPlot::lChangeBuildProgress(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1864
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lChangeBuildProgress

Hooks

static bool BeforeCvLuaPlot_lChangeBuildProgress(lua_State* L, int& result);static void AfterCvLuaPlot_lChangeBuildProgress(lua_State* L, int& result);static int ReplaceCvLuaPlot_lChangeBuildProgress(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lChangeBuildProgress>(host, &BeforeCvLuaPlot_lChangeBuildProgress);CivRegisterAfter<CivHooks::CvLuaPlot_lChangeBuildProgress>(host, &AfterCvLuaPlot_lChangeBuildProgress);CivRegisterReplace<CivHooks::CvLuaPlot_lChangeBuildProgress>(host, &ReplaceCvLuaPlot_lChangeBuildProgress);

Code

1863//bool changeBuildProgress(BuildTypes eBuild, int iChange, TeamTypes eTeam);1864int CvLuaPlot::lChangeBuildProgress(lua_State* L)1865{1866	return BasicLuaMethod(L, &CvPlot::changeBuildProgress);1867}

Calls

Called by