Bazaar developer reference

CvLuaCity::lGetFeatureProduction(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2903
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetFeatureProduction

Hooks

static bool BeforeCvLuaCity_lGetFeatureProduction(lua_State* L, int& result);static void AfterCvLuaCity_lGetFeatureProduction(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetFeatureProduction(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetFeatureProduction>(host, &BeforeCvLuaCity_lGetFeatureProduction);CivRegisterAfter<CivHooks::CvLuaCity_lGetFeatureProduction>(host, &AfterCvLuaCity_lGetFeatureProduction);CivRegisterReplace<CivHooks::CvLuaCity_lGetFeatureProduction>(host, &ReplaceCvLuaCity_lGetFeatureProduction);

Code

2902//int getFeatureProduction();2903int CvLuaCity::lGetFeatureProduction(lua_State* L)2904{2905	return BasicLuaMethod(L, &CvCity::getFeatureProduction);2906}

Calls

Called by