Bazaar developer reference

CvLuaGame::lSetNumVotesForTeam(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1393
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lSetNumVotesForTeam

Hooks

static bool BeforeCvLuaGame_lSetNumVotesForTeam(lua_State* L, int& result);static void AfterCvLuaGame_lSetNumVotesForTeam(lua_State* L, int& result);static int ReplaceCvLuaGame_lSetNumVotesForTeam(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lSetNumVotesForTeam>(host, &BeforeCvLuaGame_lSetNumVotesForTeam);CivRegisterAfter<CivHooks::CvLuaGame_lSetNumVotesForTeam>(host, &AfterCvLuaGame_lSetNumVotesForTeam);CivRegisterReplace<CivHooks::CvLuaGame_lSetNumVotesForTeam>(host, &ReplaceCvLuaGame_lSetNumVotesForTeam);

Code

1392//int SetNumVotesForTeam(TeamTypes eTeam, int iValue);1393int CvLuaGame::lSetNumVotesForTeam(lua_State* L)1394{1395	return BasicLuaMethod(L, &CvGame::SetNumVotesForTeam);1396}

Calls

Called by