CvLuaLeague::lDoVoteRepeal(lua_State *)
- Defined in
- Lua/CvLuaLeague.cpp, line 573
- Class
- CvLuaLeague
- Not a hook point
- member without a separate declaration
Code
572//void DoVoteRepeal(int iProposal, PlayerTypes iPlayer, int iNumVotes, int iChoice);573int CvLuaLeague::lDoVoteRepeal(lua_State* L)574{575 CvLeague* pLeague = GetInstance(L);576 const int iProposal = lua_tointeger(L, 2);577 const PlayerTypes ePlayer = (PlayerTypes) lua_tointeger(L, 3);578 const int iNumVotes = lua_tointeger(L, 4);579 const int iChoice = lua_tointeger(L, 5);580581 pLeague->DoVoteRepeal(iProposal, ePlayer, iNumVotes, iChoice);582 return 0;583}
Calls
- CvLeague::DoVoteRepeal(int, PlayerTypes, int, int)
CvLuaScopedInstance::GetInstancelua_tointeger