Bazaar developer reference

CvLuaGame::lChangeNumVotesForTeam(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1399
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lChangeNumVotesForTeam

Hooks

static bool BeforeCvLuaGame_lChangeNumVotesForTeam(lua_State* L, int& result);static void AfterCvLuaGame_lChangeNumVotesForTeam(lua_State* L, int& result);static int ReplaceCvLuaGame_lChangeNumVotesForTeam(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lChangeNumVotesForTeam>(host, &BeforeCvLuaGame_lChangeNumVotesForTeam);CivRegisterAfter<CivHooks::CvLuaGame_lChangeNumVotesForTeam>(host, &AfterCvLuaGame_lChangeNumVotesForTeam);CivRegisterReplace<CivHooks::CvLuaGame_lChangeNumVotesForTeam>(host, &ReplaceCvLuaGame_lChangeNumVotesForTeam);

Code

1398//int ChangeNumVotesForTeam(TeamTypes eTeam, int iChange);1399int CvLuaGame::lChangeNumVotesForTeam(lua_State* L)1400{1401	return BasicLuaMethod(L, &CvGame::ChangeNumVotesForTeam);1402}

Calls

Called by