Bazaar developer reference

CvLuaCity::lGetProduction(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1321
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetProduction

Hooks

static bool BeforeCvLuaCity_lGetProduction(lua_State* L, int& result);static void AfterCvLuaCity_lGetProduction(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetProduction(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetProduction>(host, &BeforeCvLuaCity_lGetProduction);CivRegisterAfter<CivHooks::CvLuaCity_lGetProduction>(host, &AfterCvLuaCity_lGetProduction);CivRegisterReplace<CivHooks::CvLuaCity_lGetProduction>(host, &ReplaceCvLuaCity_lGetProduction);

Code

1320//int getProduction();1321int CvLuaCity::lGetProduction(lua_State* L)1322{1323	return BasicLuaMethod(L, &CvCity::getProduction);1324}

Calls

Called by