Bazaar developer reference

CvLuaPlot::lChangeOwnershipDuration(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1192
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lChangeOwnershipDuration

Hooks

static bool BeforeCvLuaPlot_lChangeOwnershipDuration(lua_State* L, int& result);static void AfterCvLuaPlot_lChangeOwnershipDuration(lua_State* L, int& result);static int ReplaceCvLuaPlot_lChangeOwnershipDuration(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lChangeOwnershipDuration>(host, &BeforeCvLuaPlot_lChangeOwnershipDuration);CivRegisterAfter<CivHooks::CvLuaPlot_lChangeOwnershipDuration>(host, &AfterCvLuaPlot_lChangeOwnershipDuration);CivRegisterReplace<CivHooks::CvLuaPlot_lChangeOwnershipDuration>(host, &ReplaceCvLuaPlot_lChangeOwnershipDuration);

Code

1191//void changeOwnershipDuration(int iChange);1192int CvLuaPlot::lChangeOwnershipDuration(lua_State* L)1193{1194	return BasicLuaMethod(L, &CvPlot::changeOwnershipDuration);1195}

Calls

Called by