Bazaar developer reference

CvLuaGame::lChangePlotExtraCost(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1780
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lChangePlotExtraCost

Hooks

static bool BeforeCvLuaGame_lChangePlotExtraCost(lua_State* L, int& result);static void AfterCvLuaGame_lChangePlotExtraCost(lua_State* L, int& result);static int ReplaceCvLuaGame_lChangePlotExtraCost(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lChangePlotExtraCost>(host, &BeforeCvLuaGame_lChangePlotExtraCost);CivRegisterAfter<CivHooks::CvLuaGame_lChangePlotExtraCost>(host, &AfterCvLuaGame_lChangePlotExtraCost);CivRegisterReplace<CivHooks::CvLuaGame_lChangePlotExtraCost>(host, &ReplaceCvLuaGame_lChangePlotExtraCost);

Code

1779//void changePlotExtraCost(int iX, int iY, int iExtraCost);1780int CvLuaGame::lChangePlotExtraCost(lua_State* L)1781{1782	return BasicLuaMethod(L, &CvGame::changePlotExtraCost);1783}

Calls

Called by