Bazaar developer reference

CvLuaCity::lGetLocalResourceWonderProductionMod(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2779
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetLocalResourceWonderProductionMod

Hooks

static bool BeforeCvLuaCity_lGetLocalResourceWonderProductionMod(lua_State* L, int& result);static void AfterCvLuaCity_lGetLocalResourceWonderProductionMod(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetLocalResourceWonderProductionMod(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetLocalResourceWonderProductionMod>(host, &BeforeCvLuaCity_lGetLocalResourceWonderProductionMod);CivRegisterAfter<CivHooks::CvLuaCity_lGetLocalResourceWonderProductionMod>(host, &AfterCvLuaCity_lGetLocalResourceWonderProductionMod);CivRegisterReplace<CivHooks::CvLuaCity_lGetLocalResourceWonderProductionMod>(host, &ReplaceCvLuaCity_lGetLocalResourceWonderProductionMod);

Code

2778//int GetLocalResourceWonderProductionMod(BuildingTypes eBuilding);2779int CvLuaCity::lGetLocalResourceWonderProductionMod(lua_State* L)2780{2781	return BasicLuaMethod(L, &CvCity::GetLocalResourceWonderProductionMod);2782}

Calls

Called by