Bazaar developer reference

CvLuaGame::lGetNumVictoryVotesTallied(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1369
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetNumVictoryVotesTallied

Hooks

static bool BeforeCvLuaGame_lGetNumVictoryVotesTallied(lua_State* L, int& result);static void AfterCvLuaGame_lGetNumVictoryVotesTallied(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetNumVictoryVotesTallied(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetNumVictoryVotesTallied>(host, &BeforeCvLuaGame_lGetNumVictoryVotesTallied);CivRegisterAfter<CivHooks::CvLuaGame_lGetNumVictoryVotesTallied>(host, &AfterCvLuaGame_lGetNumVictoryVotesTallied);CivRegisterReplace<CivHooks::CvLuaGame_lGetNumVictoryVotesTallied>(host, &ReplaceCvLuaGame_lGetNumVictoryVotesTallied);

Code

1368//int GetNumVictoryVotesTallied();1369int CvLuaGame::lGetNumVictoryVotesTallied(lua_State* L)1370{1371	return BasicLuaMethod(L, &CvGame::GetNumVictoryVotesTallied);1372}

Calls

Called by