Bazaar developer reference

CvLuaCity::lSetFood(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2859
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lSetFood

Hooks

static bool BeforeCvLuaCity_lSetFood(lua_State* L, int& result);static void AfterCvLuaCity_lSetFood(lua_State* L, int& result);static int ReplaceCvLuaCity_lSetFood(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lSetFood>(host, &BeforeCvLuaCity_lSetFood);CivRegisterAfter<CivHooks::CvLuaCity_lSetFood>(host, &AfterCvLuaCity_lSetFood);CivRegisterReplace<CivHooks::CvLuaCity_lSetFood>(host, &ReplaceCvLuaCity_lSetFood);

Code

2858//void setFood(int iNewValue);2859int CvLuaCity::lSetFood(lua_State* L)2860{2861	return BasicLuaMethod(L, &CvCity::setFood);2862}

Calls

Called by