Bazaar developer reference

CvLuaPlayer::lGetBuyPlotCost(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 8060
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lGetBuyPlotCost

Hooks

static bool BeforeCvLuaPlayer_lGetBuyPlotCost(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetBuyPlotCost(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetBuyPlotCost(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetBuyPlotCost>(host, &BeforeCvLuaPlayer_lGetBuyPlotCost);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetBuyPlotCost>(host, &AfterCvLuaPlayer_lGetBuyPlotCost);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetBuyPlotCost>(host, &ReplaceCvLuaPlayer_lGetBuyPlotCost);

Code

8059//int GetBuyPlotCost();8060int CvLuaPlayer::lGetBuyPlotCost(lua_State* L)8061{8062	return BasicLuaMethod(L, &CvPlayerAI::GetBuyPlotCost);8063}

Calls

Called by