Bazaar developer reference

CvLuaPlot::lWaterArea(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1146
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lWaterArea

Hooks

static bool BeforeCvLuaPlot_lWaterArea(lua_State* L, int& result);static void AfterCvLuaPlot_lWaterArea(lua_State* L, int& result);static int ReplaceCvLuaPlot_lWaterArea(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lWaterArea>(host, &BeforeCvLuaPlot_lWaterArea);CivRegisterAfter<CivHooks::CvLuaPlot_lWaterArea>(host, &AfterCvLuaPlot_lWaterArea);CivRegisterReplace<CivHooks::CvLuaPlot_lWaterArea>(host, &ReplaceCvLuaPlot_lWaterArea);

Code

1145//CyArea* waterArea();1146int CvLuaPlot::lWaterArea(lua_State* L)1147{1148	CvPlot* pkPlot = GetInstance(L);1149	CvArea* pkArea = pkPlot->waterArea();1150	CvLuaArea::Push(L, pkArea);1151	return 1;1152}

Calls

Called by