withSIX.Play.Core.Games.Legacy.ServerQuery.ServerMapper.SourceTagParser.HandleTags C# (CSharp) Method

HandleTags() public method

public HandleTags ( ) : void
return void
            public void HandleTags() {
                _server.VerifySignatures = ParseBool("v") ? 2 : 0;
                _server.SvBattleye = ParseBool("b") ? 1 : 0;
                _server.ReqBuild = ParseInt("n");
                _server.Difficulty = ParseInt("i").GetValueOrDefault(0);
                _server.IsDedicated = ParseBool("d");
                _server.PasswordRequired = ParseBool("l");
                _server.GameState = ParseInt("s").GetValueOrDefault(0);
                _server.GameType = ParseString("t");
                _server.ServerPlatform = ParseString("p") == "w" ? ServerPlatform.Windows : ServerPlatform.Linux;
                _server.RequiredVersion = ParseInt("r");
                _server.Language = ParseInt("g");
                _server.Coordinates = ParseCoordinates(ParseString("c"));
            }