Skip to main content

GameServerSettings

A static class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Settings.

Constants about game servers shared with the Alta API: ping timing, default port and, probably, how servers are ranked for players.

Fields​

MemberWhat it is
const float AbovePenaltyRanking penalty (2) per player above IdealPlayerCount, probably.
const float BelowPenaltyRanking penalty (1) per player below IdealPlayerCount, probably.
const int DefaultPortDefault game server port, 1757.
const int IdealPlayerCountPlayer count (12) treated as ideal when ranking servers, probably.
const bool IsRankingZeroLowestRanking flag, true; probably means a rank of 0 is the worst.
const float MaxPlayabilityTop playability score, 36, probably used in ranking.
const int OnlinePingTimeSeconds (30) between a server's online pings, probably.
static int TimeToAppearOnlineSinceLastPingSeconds (40) since the last ping for which a server still counts as online, probably.