Bazaar developer reference

CvLuaPlot::lSetUpgradeProgress(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1240
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lSetUpgradeProgress

Hooks

static bool BeforeCvLuaPlot_lSetUpgradeProgress(lua_State* L, int& result);static void AfterCvLuaPlot_lSetUpgradeProgress(lua_State* L, int& result);static int ReplaceCvLuaPlot_lSetUpgradeProgress(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lSetUpgradeProgress>(host, &BeforeCvLuaPlot_lSetUpgradeProgress);CivRegisterAfter<CivHooks::CvLuaPlot_lSetUpgradeProgress>(host, &AfterCvLuaPlot_lSetUpgradeProgress);CivRegisterReplace<CivHooks::CvLuaPlot_lSetUpgradeProgress>(host, &ReplaceCvLuaPlot_lSetUpgradeProgress);

Code

1239//void setUpgradeProgress(int iNewValue);1240int CvLuaPlot::lSetUpgradeProgress(lua_State* L)1241{1242	return BasicLuaMethod(L, &CvPlot::setUpgradeProgress);1243}

Calls

Called by