Bazaar developer reference

CvLuaPlayer::lSetNumPlotsBought(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 8048
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lSetNumPlotsBought

Hooks

static bool BeforeCvLuaPlayer_lSetNumPlotsBought(lua_State* L, int& result);static void AfterCvLuaPlayer_lSetNumPlotsBought(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lSetNumPlotsBought(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lSetNumPlotsBought>(host, &BeforeCvLuaPlayer_lSetNumPlotsBought);CivRegisterAfter<CivHooks::CvLuaPlayer_lSetNumPlotsBought>(host, &AfterCvLuaPlayer_lSetNumPlotsBought);CivRegisterReplace<CivHooks::CvLuaPlayer_lSetNumPlotsBought>(host, &ReplaceCvLuaPlayer_lSetNumPlotsBought);

Code

8047//void SetNumPlotsBought(int iValue);8048int CvLuaPlayer::lSetNumPlotsBought(lua_State* L)8049{8050	return BasicLuaMethod(L, &CvPlayerAI::SetNumPlotsBought);8051}

Calls

Called by