CvLuaPlot::lSetOwner(lua_State *)
- Defined in
- Lua/CvLuaPlot.cpp, line 1361
- Class
- CvLuaPlot
- Hook name
CivHooks::CvLuaPlot_lSetOwner
Hooks
static bool BeforeCvLuaPlot_lSetOwner(lua_State* L, int& result);static void AfterCvLuaPlot_lSetOwner(lua_State* L, int& result);static int ReplaceCvLuaPlot_lSetOwner(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lSetOwner>(host, &BeforeCvLuaPlot_lSetOwner);CivRegisterAfter<CivHooks::CvLuaPlot_lSetOwner>(host, &AfterCvLuaPlot_lSetOwner);CivRegisterReplace<CivHooks::CvLuaPlot_lSetOwner>(host, &ReplaceCvLuaPlot_lSetOwner);
Code
1360//void setOwner(PlayerTypes eNewValue, int iAcquiringCityID, bool bCheckUnits = true, bool bUpdateResources = true);1361int CvLuaPlot::lSetOwner(lua_State* L)1362{1363 return BasicLuaMethod(L, &CvPlot::setOwner);1364}
Calls
CvLuaMethodWrapper::BasicLuaMethod- CvPlot::setOwner(PlayerTypes, int, bool, bool)