public static ClientConnectionInfo MatchMakerConnectionInfo(IClientConfig config)
 {
     return(new ClientConnectionInfo(
                config.GetInt("PortOfMatchMaker"),
                config.GetString("IpOfMatchMaker")));
 }
 public static ClientConnectionInfo DBConnectionInfo(IClientConfig config)
 {
     return(new ClientConnectionInfo(
                config.GetInt("PortOfDB"),
                config.GetString("IpOfDB")));
 }