コード例 #1
0
 public static PlayerAuthServiceClient CreatePlayerAuthClient(Options.Common options)
 {
     return(string.IsNullOrEmpty(options.Environment)
         ? PlayerAuthServiceClient.Create()
         : PlayerAuthServiceClient.Create(GetEndpoint(options.Environment),
                                          GetTokenCredential(options.Environment)));
 }
コード例 #2
0
 public static SnapshotServiceClient CreateSnapshotClient(Options.Common options)
 {
     return(string.IsNullOrEmpty(options.Environment)
         ? SnapshotServiceClient.Create()
         : SnapshotServiceClient.Create(GetEndpoint(options.Environment),
                                        GetTokenCredential(options.Environment)));
 }