//------------------------------------------------------------------------------ //string GetTextForChoice(ResolutionDecisionTypes eDecision, int iChoice); int CvLuaLeague::lGetTextForChoice(lua_State* L) { CvLeague* pLeague = GetInstance(L); const ResolutionDecisionTypes eDecision = (ResolutionDecisionTypes) lua_tointeger(L, 2); const int iChoice = lua_tointeger(L, 3); const CvString sResult = pLeague->GetTextForChoice(eDecision, iChoice); lua_pushstring(L, sResult); return 1; }