HostData.playerLimit

var playerLimit : int

Description

Maximum players limit

JavaScript
// Requests info from the master server and prints
// the gameType of each host

function Start() {
var hostData : HostData[] = MasterServer.PollHostList();
for(var element : HostData in hostData) {
Debug.Log(element.gameName + " max spots: " + element.playerLimit);
}
}