Bazaar developer reference

CvLuaPlayer::lChangeNumPlotsBought(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 8054
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lChangeNumPlotsBought

Hooks

static bool BeforeCvLuaPlayer_lChangeNumPlotsBought(lua_State* L, int& result);static void AfterCvLuaPlayer_lChangeNumPlotsBought(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lChangeNumPlotsBought(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lChangeNumPlotsBought>(host, &BeforeCvLuaPlayer_lChangeNumPlotsBought);CivRegisterAfter<CivHooks::CvLuaPlayer_lChangeNumPlotsBought>(host, &AfterCvLuaPlayer_lChangeNumPlotsBought);CivRegisterReplace<CivHooks::CvLuaPlayer_lChangeNumPlotsBought>(host, &ReplaceCvLuaPlayer_lChangeNumPlotsBought);

Code

8053//void ChangeNumPlotsBought(int iChange);8054int CvLuaPlayer::lChangeNumPlotsBought(lua_State* L)8055{8056	return BasicLuaMethod(L, &CvPlayerAI::ChangeNumPlotsBought);8057}

Calls

Called by