CvLuaGame::lGetVoteCast(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 1375
- Class
- CvLuaGame
- Hook name
CivHooks::CvLuaGame_lGetVoteCast
Hooks
static bool BeforeCvLuaGame_lGetVoteCast(lua_State* L, int& result);static void AfterCvLuaGame_lGetVoteCast(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetVoteCast(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetVoteCast>(host, &BeforeCvLuaGame_lGetVoteCast);CivRegisterAfter<CivHooks::CvLuaGame_lGetVoteCast>(host, &AfterCvLuaGame_lGetVoteCast);CivRegisterReplace<CivHooks::CvLuaGame_lGetVoteCast>(host, &ReplaceCvLuaGame_lGetVoteCast);
Code
1374//TeamTypes GetVoteCast();1375int CvLuaGame::lGetVoteCast(lua_State* L)1376{1377 return BasicLuaMethod(L, &CvGame::GetVoteCast);1378}
Calls
- CvGame::GetVoteCast(TeamTypes) const
CvLuaMethodWrapper::BasicLuaMethod