Bazaar developer reference

CvLuaPlayer::lGetNumPlotsBought(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 8042
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lGetNumPlotsBought

Hooks

static bool BeforeCvLuaPlayer_lGetNumPlotsBought(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetNumPlotsBought(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetNumPlotsBought(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetNumPlotsBought>(host, &BeforeCvLuaPlayer_lGetNumPlotsBought);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetNumPlotsBought>(host, &AfterCvLuaPlayer_lGetNumPlotsBought);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetNumPlotsBought>(host, &ReplaceCvLuaPlayer_lGetNumPlotsBought);

Code

8041//int GetNumPlotsBought();8042int CvLuaPlayer::lGetNumPlotsBought(lua_State* L)8043{8044	return BasicLuaMethod(L, &CvPlayerAI::GetNumPlotsBought);8045}

Calls

Called by