コード例 #1
0
ファイル: ShardsValues.cs プロジェクト: idkook/shared
 public ShardsValues Add(short shardId, string parameterName, object parameterValue)
 {
     if (Shards.TryGetValue(shardId, out var prms))
     {
         if (prms is null)
         {
             Shards[shardId] = new Dictionary <string, object>()
             {
                 { parameterName, parameterValue }
             };
         }
         else
         {
             prms.Add(parameterName, parameterValue);
         }
     }
     else
     {
         Shards.Add(shardId, new Dictionary <string, object>()
         {
             { parameterName, parameterValue }
         });
     }
     return(this);
 }
コード例 #2
0
        private ShardManager()
        {
            Shards.Add(new ShardEntry
            {
                Name              = "Official EA Servers",
                Address           = "login.ultimaonline.com",
                Port              = 7775,
                IsPreset          = true,
                HasStatusProtocol = false,
                Encryption        = true
            });

            Shards.Add(new ShardEntry
            {
                Name = "UOGamers: Demise", Address = "login.uodemise.com", Port = 2593, IsPreset = true
            });

            Shards.Add(new ShardEntry
            {
                Name = "UOGamers: Hybrid", Address = "login.uohybrid.com", Port = 2593, IsPreset = true
            });

            Shards.Add(new ShardEntry
            {
                Name = "Heritage UO", Address = "play.trueuo.com", Port = 2593, IsPreset = true
            });

            Shards.Add(new ShardEntry
            {
                Name = "UO Forever", Address = "login.uoforever.com", Port = 2599, IsPreset = true
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO Outlands",
                Address           = "play.uooutlands.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = false,
                ShardType         = 2
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO Players",
                Address           = "login.uoplayers.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO:Renaissance",
                Address           = "login.uorenaissance.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true
            });
        }
コード例 #3
0
        private ShardManager()
        {
            Shards.Add(new ShardEntry
            {
                Name = "UOGamers: Demise", Address = "login.uodemise.com", Port = 2593, IsPreset = true
            });

            Shards.Add(new ShardEntry
            {
                Name = "UOGamers: Hybrid", Address = "login.uohybrid.com", Port = 2593, IsPreset = true
            });

            Shards.Add(new ShardEntry
            {
                Name = "Heritage UO", Address = "play.trueuo.com", Port = 2593, IsPreset = true
            });

            Shards.Add(new ShardEntry
            {
                Name = "UO Forever", Address = "login.uoforever.com", Port = 2599, IsPreset = true
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO Outlands",
                Address           = "play.uooutlands.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = false
            });
        }
コード例 #4
0
ファイル: ShardsValues.cs プロジェクト: idkook/shared
 public ShardsValues Add(short shardId)
 {
     if (!Shards.ContainsKey(shardId))
     {
         Shards.Add(shardId, new Dictionary <string, object>());
     }
     return(this);
 }
コード例 #5
0
        private ShardManager()
        {
            Shards.Add(new ShardEntry
            {
                Name              = "Official EA Servers",
                Address           = "login.ultimaonline.com",
                Port              = 7775,
                IsPreset          = true,
                HasStatusProtocol = false,
                Encryption        = true,
                Website           = "http://www.uo.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name     = "UOGamers: Demise",
                Address  = "login.uodemise.com",
                Port     = 2593,
                IsPreset = true,
                Website  = "https://uogdemise.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name     = "UOGamers: Hybrid",
                Address  = "login.uohybrid.com",
                Port     = 2593,
                IsPreset = true,
                Website  = "http://uohybrid.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name     = "Heritage UO",
                Address  = "play.trueuo.com",
                Port     = 2593,
                IsPreset = true,
                Website  = "https://trueuo.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name     = "UO Forever",
                Address  = "login.uoforever.com",
                Port     = 2599,
                IsPreset = true,
                Website  = "https://www.uoforever.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO Outlands",
                Address           = "play.uooutlands.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = false,
                ShardType         = 2,
                Website           = "https://uooutlands.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO Players",
                Address           = "login.uoplayers.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "https://uoplayers.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO Elemental",
                Address           = "login.uoelemental.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "https://uoelemental.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO:Renaissance",
                Address           = "login.uorenaissance.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "http://www.uorenaissance.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UO Evolution",
                Address           = "play.uoevolution.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "http://uoevolution.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "NoTramAos",
                Address           = "notramaos.servegame.com",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "http://notramaos.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "EntropyUO",
                Address           = "entropyuo.ddns.net",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true,
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UOTopia: Awakening",
                Address           = "uotopia.ddns.net",
                Port              = 2593,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "http://uotopia.weebly.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UOTopia: The New Age",
                Address           = "uotopia.ddns.net",
                Port              = 2594,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "http://uotopia.weebly.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UOTopia: Origins",
                Address           = "uotopia.ddns.net",
                Port              = 2595,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "http://uotopia.weebly.com/"
            });

            Shards.Add(new ShardEntry
            {
                Name              = "UOTopia: Legends",
                Address           = "uotopia.ddns.net",
                Port              = 2596,
                IsPreset          = true,
                HasStatusProtocol = true,
                Website           = "http://uotopia.weebly.com/"
            });
        }