Beispiel #1
0
 public void AddServer(int gameID, int serverId, string serverName, string serverUrl, string status, string intranetAddress)
 {
     CacheServer cacheServer = new CacheServer();
     cacheServer.AddToCache(new ServerInfo()
     {
         ID = serverId,
         GameID = gameID,
         ServerName = serverName,
         ServerUrl = serverUrl,
         Status = status,
         IntranetAddress = intranetAddress
     });
 }
Beispiel #2
0
        public void AddServer(int gameID, int serverId, string serverName, string serverUrl, string status, string intranetAddress)
        {
            CacheServer cacheServer = new CacheServer();

            cacheServer.AddToCache(new ServerInfo()
            {
                ID              = serverId,
                GameID          = gameID,
                ServerName      = serverName,
                ServerUrl       = serverUrl,
                Status          = status,
                IntranetAddress = intranetAddress
            });
        }