Bazaar developer reference

CvLuaCity::lChangeWonderProductionModifier(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2773
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lChangeWonderProductionModifier

Hooks

static bool BeforeCvLuaCity_lChangeWonderProductionModifier(lua_State* L, int& result);static void AfterCvLuaCity_lChangeWonderProductionModifier(lua_State* L, int& result);static int ReplaceCvLuaCity_lChangeWonderProductionModifier(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lChangeWonderProductionModifier>(host, &BeforeCvLuaCity_lChangeWonderProductionModifier);CivRegisterAfter<CivHooks::CvLuaCity_lChangeWonderProductionModifier>(host, &AfterCvLuaCity_lChangeWonderProductionModifier);CivRegisterReplace<CivHooks::CvLuaCity_lChangeWonderProductionModifier>(host, &ReplaceCvLuaCity_lChangeWonderProductionModifier);

Code

2772//void ChangeWonderProductionModifier(int iChange);2773int CvLuaCity::lChangeWonderProductionModifier(lua_State* L)2774{2775	return BasicLuaMethod(L, &CvCity::ChangeWonderProductionModifier);2776}

Calls

Called by