Bazaar developer reference

CvLuaCity::lGetProductionNeeded(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1333
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetProductionNeeded

Hooks

static bool BeforeCvLuaCity_lGetProductionNeeded(lua_State* L, int& result);static void AfterCvLuaCity_lGetProductionNeeded(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetProductionNeeded(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetProductionNeeded>(host, &BeforeCvLuaCity_lGetProductionNeeded);CivRegisterAfter<CivHooks::CvLuaCity_lGetProductionNeeded>(host, &AfterCvLuaCity_lGetProductionNeeded);CivRegisterReplace<CivHooks::CvLuaCity_lGetProductionNeeded>(host, &ReplaceCvLuaCity_lGetProductionNeeded);

Code

1332//int getProductionNeeded();1333int CvLuaCity::lGetProductionNeeded(lua_State* L)1334{1335	return BasicLuaMethod(L, &CvCity::getProductionNeeded);1336}

Calls

Called by