//------------------------------------------------------------------------------ //int GetProjectBuildingCostPerPlayer(BuildingTypes eRewardBuilding); int CvLuaLeague::lGetProjectBuildingCostPerPlayer(lua_State* L) { CvLeague* pLeague = GetInstance(L); const BuildingTypes eRewardBuilding = (BuildingTypes) lua_tointeger(L, 2); const int iValue = pLeague->GetProjectBuildingCostPerPlayer(eRewardBuilding); lua_pushinteger(L, iValue); return 1; }