CvLuaCity::lSetDrafted(lua_State *)
- Defined in
- Lua/CvLuaCity.cpp, line 3093
- Class
- CvLuaCity
- Hook name
CivHooks::CvLuaCity_lSetDrafted
Hooks
static bool BeforeCvLuaCity_lSetDrafted(lua_State* L, int& result);static void AfterCvLuaCity_lSetDrafted(lua_State* L, int& result);static int ReplaceCvLuaCity_lSetDrafted(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lSetDrafted>(host, &BeforeCvLuaCity_lSetDrafted);CivRegisterAfter<CivHooks::CvLuaCity_lSetDrafted>(host, &AfterCvLuaCity_lSetDrafted);CivRegisterReplace<CivHooks::CvLuaCity_lSetDrafted>(host, &ReplaceCvLuaCity_lSetDrafted);
Code
3092//void setDrafted(int iNewValue);3093int CvLuaCity::lSetDrafted(lua_State* L)3094{3095 return BasicLuaMethod(L, &CvCity::setDrafted);3096}
Calls
- CvCity::setDrafted(bool)
CvLuaMethodWrapper::BasicLuaMethod