Bazaar developer reference

CvLuaPlot::lGetTeam(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 516
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lGetTeam

Hooks

static bool BeforeCvLuaPlot_lGetTeam(lua_State* L, int& result);static void AfterCvLuaPlot_lGetTeam(lua_State* L, int& result);static int ReplaceCvLuaPlot_lGetTeam(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lGetTeam>(host, &BeforeCvLuaPlot_lGetTeam);CivRegisterAfter<CivHooks::CvLuaPlot_lGetTeam>(host, &AfterCvLuaPlot_lGetTeam);CivRegisterReplace<CivHooks::CvLuaPlot_lGetTeam>(host, &ReplaceCvLuaPlot_lGetTeam);

Code

515//int getTeam();516int CvLuaPlot::lGetTeam(lua_State* L)517{518	return BasicLuaMethod(L, &CvPlot::getTeam);519}

Calls

Called by