(GSDKConfiguration localConfig)
| 129 | } |
| 130 | |
| 131 | private IDictionary<string, string> CreateConfigMap(GSDKConfiguration localConfig) |
| 132 | { |
| 133 | var finalConfig = new ConcurrentDictionary<string, string>(StringComparer.OrdinalIgnoreCase); |
| 134 | |
| 135 | foreach (KeyValuePair<string, string> certEntry in localConfig.GameCertificates) |
| 136 | { |
| 137 | finalConfig[certEntry.Key] = certEntry.Value; |
| 138 | } |
| 139 | |
| 140 | foreach (KeyValuePair<string, string> metadata in localConfig.BuildMetadata) |
| 141 | { |
| 142 | finalConfig[metadata.Key] = metadata.Value; |
| 143 | } |
| 144 | |
| 145 | foreach (KeyValuePair<string, string> port in localConfig.GamePorts) |
| 146 | { |
| 147 | finalConfig[port.Key] = port.Value; |
| 148 | } |
| 149 | |
| 150 | finalConfig[GameserverSDK.HeartbeatEndpointKey] = localConfig.HeartbeatEndpoint; |
| 151 | finalConfig[GameserverSDK.ServerIdKey] = localConfig.SessionHostId; |
| 152 | finalConfig[GameserverSDK.VmIdKey] = localConfig.VmId; |
| 153 | finalConfig[GameserverSDK.LogFolderKey] = localConfig.LogFolder; |
| 154 | finalConfig[GameserverSDK.SharedContentFolderKey] = localConfig.SharedContentFolder; |
| 155 | finalConfig[GameserverSDK.CertificateFolderKey] = localConfig.CertificateFolder; |
| 156 | finalConfig[GameserverSDK.TitleIdKey] = localConfig.TitleId; |
| 157 | finalConfig[GameserverSDK.BuildIdKey] = localConfig.BuildId; |
| 158 | finalConfig[GameserverSDK.RegionKey] = localConfig.Region; |
| 159 | finalConfig[GameserverSDK.PublicIpV4AddressKey] = localConfig.PublicIpV4Address; |
| 160 | finalConfig[GameserverSDK.FullyQualifiedDomainNameKey] = localConfig.FullyQualifiedDomainName; |
| 161 | |
| 162 | return finalConfig; |
| 163 | } |
| 164 | |
| 165 | public GameServerConnectionInfo GetGameServerConnectionInfo() |
| 166 | { |
nothing calls this directly
no outgoing calls
no test coverage detected