Skip to content

Commit 1526439

Browse files
PlayFab SDK TeamPlayFab SDK Team
PlayFab SDK Team
authored and
PlayFab SDK Team
committed
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230915
2 parents 22f5998 + 1b33673 commit 1526439

27 files changed

+265
-3309
lines changed

PlayFabSDK/source/PlayFabAdminAPI.cs

-84
Original file line numberDiff line numberDiff line change
@@ -1068,62 +1068,6 @@ public static async Task<PlayFabResult<GetDataReportResult>> GetDataReportAsync(
10681068
return new PlayFabResult<GetDataReportResult> { Result = result, CustomData = customData };
10691069
}
10701070

1071-
/// <summary>
1072-
/// Retrieves the details for a specific completed session, including links to standard out and standard error logs
1073-
/// </summary>
1074-
[Obsolete("Use 'MultiplayerServer/GetMultiplayerSessionLogsBySessionId' instead", true)]
1075-
public static async Task<PlayFabResult<GetMatchmakerGameInfoResult>> GetMatchmakerGameInfoAsync(GetMatchmakerGameInfoRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
1076-
{
1077-
await new PlayFabUtil.SynchronizationContextRemover();
1078-
1079-
var requestContext = request?.AuthenticationContext ?? PlayFabSettings.staticPlayer;
1080-
var requestSettings = PlayFabSettings.staticSettings;
1081-
if (requestSettings.DeveloperSecretKey == null) throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "DeveloperSecretKey must be set in your local or global settings to call this method");
1082-
1083-
1084-
var httpResult = await PlayFabHttp.DoPost("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", requestSettings.DeveloperSecretKey, extraHeaders);
1085-
if (httpResult is PlayFabError)
1086-
{
1087-
var error = (PlayFabError)httpResult;
1088-
PlayFabSettings.GlobalErrorHandler?.Invoke(error);
1089-
return new PlayFabResult<GetMatchmakerGameInfoResult> { Error = error, CustomData = customData };
1090-
}
1091-
1092-
var resultRawJson = (string)httpResult;
1093-
var resultData = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer).DeserializeObject<PlayFabJsonSuccess<GetMatchmakerGameInfoResult>>(resultRawJson);
1094-
var result = resultData.data;
1095-
1096-
return new PlayFabResult<GetMatchmakerGameInfoResult> { Result = result, CustomData = customData };
1097-
}
1098-
1099-
/// <summary>
1100-
/// Retrieves the details of defined game modes for the specified game server executable
1101-
/// </summary>
1102-
[Obsolete("No longer available", true)]
1103-
public static async Task<PlayFabResult<GetMatchmakerGameModesResult>> GetMatchmakerGameModesAsync(GetMatchmakerGameModesRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
1104-
{
1105-
await new PlayFabUtil.SynchronizationContextRemover();
1106-
1107-
var requestContext = request?.AuthenticationContext ?? PlayFabSettings.staticPlayer;
1108-
var requestSettings = PlayFabSettings.staticSettings;
1109-
if (requestSettings.DeveloperSecretKey == null) throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "DeveloperSecretKey must be set in your local or global settings to call this method");
1110-
1111-
1112-
var httpResult = await PlayFabHttp.DoPost("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", requestSettings.DeveloperSecretKey, extraHeaders);
1113-
if (httpResult is PlayFabError)
1114-
{
1115-
var error = (PlayFabError)httpResult;
1116-
PlayFabSettings.GlobalErrorHandler?.Invoke(error);
1117-
return new PlayFabResult<GetMatchmakerGameModesResult> { Error = error, CustomData = customData };
1118-
}
1119-
1120-
var resultRawJson = (string)httpResult;
1121-
var resultData = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer).DeserializeObject<PlayFabJsonSuccess<GetMatchmakerGameModesResult>>(resultRawJson);
1122-
var result = resultData.data;
1123-
1124-
return new PlayFabResult<GetMatchmakerGameModesResult> { Result = result, CustomData = customData };
1125-
}
1126-
11271071
/// <summary>
11281072
/// Get the list of titles that the player has played
11291073
/// </summary>
@@ -2029,34 +1973,6 @@ public static async Task<PlayFabResult<ListVirtualCurrencyTypesResult>> ListVirt
20291973
return new PlayFabResult<ListVirtualCurrencyTypesResult> { Result = result, CustomData = customData };
20301974
}
20311975

2032-
/// <summary>
2033-
/// Updates the build details for the specified game server executable
2034-
/// </summary>
2035-
[Obsolete("No longer available", true)]
2036-
public static async Task<PlayFabResult<ModifyServerBuildResult>> ModifyServerBuildAsync(ModifyServerBuildRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
2037-
{
2038-
await new PlayFabUtil.SynchronizationContextRemover();
2039-
2040-
var requestContext = request?.AuthenticationContext ?? PlayFabSettings.staticPlayer;
2041-
var requestSettings = PlayFabSettings.staticSettings;
2042-
if (requestSettings.DeveloperSecretKey == null) throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "DeveloperSecretKey must be set in your local or global settings to call this method");
2043-
2044-
2045-
var httpResult = await PlayFabHttp.DoPost("/Admin/ModifyServerBuild", request, "X-SecretKey", requestSettings.DeveloperSecretKey, extraHeaders);
2046-
if (httpResult is PlayFabError)
2047-
{
2048-
var error = (PlayFabError)httpResult;
2049-
PlayFabSettings.GlobalErrorHandler?.Invoke(error);
2050-
return new PlayFabResult<ModifyServerBuildResult> { Error = error, CustomData = customData };
2051-
}
2052-
2053-
var resultRawJson = (string)httpResult;
2054-
var resultData = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer).DeserializeObject<PlayFabJsonSuccess<ModifyServerBuildResult>>(resultRawJson);
2055-
var result = resultData.data;
2056-
2057-
return new PlayFabResult<ModifyServerBuildResult> { Result = result, CustomData = customData };
2058-
}
2059-
20601976
/// <summary>
20611977
/// _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
20621978
/// version 2._ Attempts to process an order refund through the original real money payment provider.

PlayFabSDK/source/PlayFabAdminInstanceAPI.cs

-81
Original file line numberDiff line numberDiff line change
@@ -1051,60 +1051,6 @@ public async Task<PlayFabResult<GetDataReportResult>> GetDataReportAsync(GetData
10511051
return new PlayFabResult<GetDataReportResult> { Result = result, CustomData = customData };
10521052
}
10531053

1054-
/// <summary>
1055-
/// Retrieves the details for a specific completed session, including links to standard out and standard error logs
1056-
/// </summary>
1057-
[Obsolete("Use 'MultiplayerServer/GetMultiplayerSessionLogsBySessionId' instead", true)]
1058-
public async Task<PlayFabResult<GetMatchmakerGameInfoResult>> GetMatchmakerGameInfoAsync(GetMatchmakerGameInfoRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
1059-
{
1060-
await new PlayFabUtil.SynchronizationContextRemover();
1061-
1062-
var requestContext = request?.AuthenticationContext ?? authenticationContext;
1063-
var requestSettings = apiSettings ?? PlayFabSettings.staticSettings;
1064-
if (requestSettings.DeveloperSecretKey == null) throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "DeveloperSecretKey must be set in your local or global settings to call this method");
1065-
1066-
var httpResult = await PlayFabHttp.DoPost("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", requestSettings.DeveloperSecretKey, extraHeaders, requestSettings);
1067-
if (httpResult is PlayFabError)
1068-
{
1069-
var error = (PlayFabError)httpResult;
1070-
PlayFabSettings.GlobalErrorHandler?.Invoke(error);
1071-
return new PlayFabResult<GetMatchmakerGameInfoResult> { Error = error, CustomData = customData };
1072-
}
1073-
1074-
var resultRawJson = (string)httpResult;
1075-
var resultData = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer).DeserializeObject<PlayFabJsonSuccess<GetMatchmakerGameInfoResult>>(resultRawJson);
1076-
var result = resultData.data;
1077-
1078-
return new PlayFabResult<GetMatchmakerGameInfoResult> { Result = result, CustomData = customData };
1079-
}
1080-
1081-
/// <summary>
1082-
/// Retrieves the details of defined game modes for the specified game server executable
1083-
/// </summary>
1084-
[Obsolete("No longer available", true)]
1085-
public async Task<PlayFabResult<GetMatchmakerGameModesResult>> GetMatchmakerGameModesAsync(GetMatchmakerGameModesRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
1086-
{
1087-
await new PlayFabUtil.SynchronizationContextRemover();
1088-
1089-
var requestContext = request?.AuthenticationContext ?? authenticationContext;
1090-
var requestSettings = apiSettings ?? PlayFabSettings.staticSettings;
1091-
if (requestSettings.DeveloperSecretKey == null) throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "DeveloperSecretKey must be set in your local or global settings to call this method");
1092-
1093-
var httpResult = await PlayFabHttp.DoPost("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", requestSettings.DeveloperSecretKey, extraHeaders, requestSettings);
1094-
if (httpResult is PlayFabError)
1095-
{
1096-
var error = (PlayFabError)httpResult;
1097-
PlayFabSettings.GlobalErrorHandler?.Invoke(error);
1098-
return new PlayFabResult<GetMatchmakerGameModesResult> { Error = error, CustomData = customData };
1099-
}
1100-
1101-
var resultRawJson = (string)httpResult;
1102-
var resultData = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer).DeserializeObject<PlayFabJsonSuccess<GetMatchmakerGameModesResult>>(resultRawJson);
1103-
var result = resultData.data;
1104-
1105-
return new PlayFabResult<GetMatchmakerGameModesResult> { Result = result, CustomData = customData };
1106-
}
1107-
11081054
/// <summary>
11091055
/// Get the list of titles that the player has played
11101056
/// </summary>
@@ -1977,33 +1923,6 @@ public async Task<PlayFabResult<ListVirtualCurrencyTypesResult>> ListVirtualCurr
19771923
return new PlayFabResult<ListVirtualCurrencyTypesResult> { Result = result, CustomData = customData };
19781924
}
19791925

1980-
/// <summary>
1981-
/// Updates the build details for the specified game server executable
1982-
/// </summary>
1983-
[Obsolete("No longer available", true)]
1984-
public async Task<PlayFabResult<ModifyServerBuildResult>> ModifyServerBuildAsync(ModifyServerBuildRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
1985-
{
1986-
await new PlayFabUtil.SynchronizationContextRemover();
1987-
1988-
var requestContext = request?.AuthenticationContext ?? authenticationContext;
1989-
var requestSettings = apiSettings ?? PlayFabSettings.staticSettings;
1990-
if (requestSettings.DeveloperSecretKey == null) throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "DeveloperSecretKey must be set in your local or global settings to call this method");
1991-
1992-
var httpResult = await PlayFabHttp.DoPost("/Admin/ModifyServerBuild", request, "X-SecretKey", requestSettings.DeveloperSecretKey, extraHeaders, requestSettings);
1993-
if (httpResult is PlayFabError)
1994-
{
1995-
var error = (PlayFabError)httpResult;
1996-
PlayFabSettings.GlobalErrorHandler?.Invoke(error);
1997-
return new PlayFabResult<ModifyServerBuildResult> { Error = error, CustomData = customData };
1998-
}
1999-
2000-
var resultRawJson = (string)httpResult;
2001-
var resultData = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer).DeserializeObject<PlayFabJsonSuccess<ModifyServerBuildResult>>(resultRawJson);
2002-
var result = resultData.data;
2003-
2004-
return new PlayFabResult<ModifyServerBuildResult> { Result = result, CustomData = customData };
2005-
}
2006-
20071926
/// <summary>
20081927
/// _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
20091928
/// version 2._ Attempts to process an order refund through the original real money payment provider.

0 commit comments

Comments
 (0)