internal MatchmakingServers()
        {
            bufferedExceptions = new List <Exception>();
            ServerListResponse = new Dictionary <uint, MatchmakingServerListResponse>();
            PingResponse       = new Dictionary <uint, MatchmakingPingResponse>();
            PlayersResponse    = new Dictionary <uint, MatchmakingPlayersResponse>();
            RulesResponse      = new Dictionary <uint, MatchmakingRulesResponse>();

            MatchmakingServerListResponse.Initialize();
            MatchmakingPingResponse.Initialize();
            MatchmakingPlayersResponse.Initialize();
            MatchmakingRulesResponse.Initialize();
        }
 public ServerQueryHandle PingServer(uint ip, ushort port, MatchmakingPingResponse requestServersResponse)
 {
     return new ServerQueryHandle(NativeMethods.MatchmakingServers_PingServer(ip, port, requestServersResponse.ObjectId));
 }
 public ServerQueryHandle PingServer(uint ip, ushort port, MatchmakingPingResponse requestServersResponse)
 {
     return(new ServerQueryHandle(NativeMethods.MatchmakingServers_PingServer(ip, port, requestServersResponse.ObjectId)));
 }