From 41b9617ede8e92c618ca2ce797cbd247fe646e82 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Fri, 12 Jan 2024 00:11:11 +0000 Subject: [PATCH] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240111 --- PlayFabSDK/source/PlayFabMultiplayerModels.cs | 36 +++++++++++++++---- PlayFabSDK/source/PlayFabSDK.csproj | 4 +-- PlayFabSDK/source/PlayFabSettings.cs | 6 ++-- .../source/PlayFabCloudScriptPlugin.csproj | 6 ++-- .../PlayFabSDK/PlayFabMultiplayerModels.cs | 36 +++++++++++++++---- .../PlayFabSDK/PlayFabSDK.csproj | 4 +-- .../PlayFabSDK/PlayFabSettings.cs | 6 ++-- 7 files changed, 73 insertions(+), 25 deletions(-) diff --git a/PlayFabSDK/source/PlayFabMultiplayerModels.cs b/PlayFabSDK/source/PlayFabMultiplayerModels.cs index 3b7cbaa1..db134a7f 100644 --- a/PlayFabSDK/source/PlayFabMultiplayerModels.cs +++ b/PlayFabSDK/source/PlayFabMultiplayerModels.cs @@ -3910,6 +3910,11 @@ public class Lobby /// public Dictionary SearchData ; + /// + /// Preview: Lobby joined server. This is not the server owner, rather the server that has joined a client owned lobby. + /// + public LobbyServer Server ; + /// /// A flag which determines if connections are used. Defaults to true. Only set on create. /// @@ -3921,6 +3926,25 @@ public class LobbyEmptyResult : PlayFabResultCommon { } + public class LobbyServer + { + /// + /// Opaque string, stored on a Subscribe call, which indicates the connection a joined server has with PubSub. + /// + public string PubSubConnectionHandle ; + + /// + /// Key-value pairs specific to the joined server. + /// + public Dictionary ServerData ; + + /// + /// The server entity key. + /// + public EntityKey ServerEntity ; + + } + public class LobbySummary { /// @@ -5530,12 +5554,6 @@ public class UpdateLobbyAsServerRequest : PlayFabRequestCommon /// public string LobbyId ; - /// - /// The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined - /// server). When changing the server the previous server will automatically be unsubscribed. - /// - public EntityKey Server ; - /// /// The private key-value pairs which are visible to all entities in the lobby and modifiable by the joined server. /// Optional. Sets or updates key-value pairs on the lobby. Only the current lobby lobby server can set serverData. Keys may @@ -5552,6 +5570,12 @@ public class UpdateLobbyAsServerRequest : PlayFabRequestCommon /// public List ServerDataToDelete ; + /// + /// The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined + /// server). When changing the server the previous server will automatically be unsubscribed. + /// + public EntityKey ServerEntity ; + } /// diff --git a/PlayFabSDK/source/PlayFabSDK.csproj b/PlayFabSDK/source/PlayFabSDK.csproj index f70ffb4d..a702bec4 100644 --- a/PlayFabSDK/source/PlayFabSDK.csproj +++ b/PlayFabSDK/source/PlayFabSDK.csproj @@ -8,7 +8,7 @@ 512 PlayFabAllSDK - 1.172.240105 + 1.173.240111 PlayFab CSharp Sdk Microsoft Microsoft @@ -21,7 +21,7 @@ PlayFab PlayFabSDK PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native - https://docs.microsoft.com/gaming/playfab/release-notes#240105 + https://docs.microsoft.com/gaming/playfab/release-notes#240111 en 1 1 diff --git a/PlayFabSDK/source/PlayFabSettings.cs b/PlayFabSDK/source/PlayFabSettings.cs index 278324c4..6ddb0246 100644 --- a/PlayFabSDK/source/PlayFabSettings.cs +++ b/PlayFabSDK/source/PlayFabSettings.cs @@ -6,9 +6,9 @@ namespace PlayFab { public class PlayFabSettings { - public const string SdkVersion = "1.172.240105"; - public const string BuildIdentifier = "adobuild_csharpsdk_116"; - public const string SdkVersionString = "CSharpSDK-1.172.240105"; + public const string SdkVersion = "1.173.240111"; + public const string BuildIdentifier = "adobuild_csharpsdk_114"; + public const string SdkVersionString = "CSharpSDK-1.173.240111"; /// This is only for customers running a private cluster. Generally you shouldn't touch this public static string DefaultProductionEnvironmentUrl = "playfabapi.com"; diff --git a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj index 9f67c547..2c79e8a3 100644 --- a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj +++ b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj @@ -8,7 +8,7 @@ 512 PlayFabCloudScriptPlugin - 1.172.240105-alpha + 1.173.240111-alpha PlayFab CSharp CloudScript Plugin Microsoft Microsoft @@ -21,7 +21,7 @@ PlayFabCloudScriptPlugin Copyright 2024 PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native - https://docs.microsoft.com/gaming/playfab/release-notes#240105 + https://docs.microsoft.com/gaming/playfab/release-notes#240111 en 1 1 @@ -45,7 +45,7 @@ - + diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabMultiplayerModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabMultiplayerModels.cs index 3b7cbaa1..db134a7f 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabMultiplayerModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabMultiplayerModels.cs @@ -3910,6 +3910,11 @@ public class Lobby /// public Dictionary SearchData ; + /// + /// Preview: Lobby joined server. This is not the server owner, rather the server that has joined a client owned lobby. + /// + public LobbyServer Server ; + /// /// A flag which determines if connections are used. Defaults to true. Only set on create. /// @@ -3921,6 +3926,25 @@ public class LobbyEmptyResult : PlayFabResultCommon { } + public class LobbyServer + { + /// + /// Opaque string, stored on a Subscribe call, which indicates the connection a joined server has with PubSub. + /// + public string PubSubConnectionHandle ; + + /// + /// Key-value pairs specific to the joined server. + /// + public Dictionary ServerData ; + + /// + /// The server entity key. + /// + public EntityKey ServerEntity ; + + } + public class LobbySummary { /// @@ -5530,12 +5554,6 @@ public class UpdateLobbyAsServerRequest : PlayFabRequestCommon /// public string LobbyId ; - /// - /// The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined - /// server). When changing the server the previous server will automatically be unsubscribed. - /// - public EntityKey Server ; - /// /// The private key-value pairs which are visible to all entities in the lobby and modifiable by the joined server. /// Optional. Sets or updates key-value pairs on the lobby. Only the current lobby lobby server can set serverData. Keys may @@ -5552,6 +5570,12 @@ public class UpdateLobbyAsServerRequest : PlayFabRequestCommon /// public List ServerDataToDelete ; + /// + /// The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined + /// server). When changing the server the previous server will automatically be unsubscribed. + /// + public EntityKey ServerEntity ; + } /// diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj index f70ffb4d..a702bec4 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj @@ -8,7 +8,7 @@ 512 PlayFabAllSDK - 1.172.240105 + 1.173.240111 PlayFab CSharp Sdk Microsoft Microsoft @@ -21,7 +21,7 @@ PlayFab PlayFabSDK PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native - https://docs.microsoft.com/gaming/playfab/release-notes#240105 + https://docs.microsoft.com/gaming/playfab/release-notes#240111 en 1 1 diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs index 278324c4..6ddb0246 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs @@ -6,9 +6,9 @@ namespace PlayFab { public class PlayFabSettings { - public const string SdkVersion = "1.172.240105"; - public const string BuildIdentifier = "adobuild_csharpsdk_116"; - public const string SdkVersionString = "CSharpSDK-1.172.240105"; + public const string SdkVersion = "1.173.240111"; + public const string BuildIdentifier = "adobuild_csharpsdk_114"; + public const string SdkVersionString = "CSharpSDK-1.173.240111"; /// This is only for customers running a private cluster. Generally you shouldn't touch this public static string DefaultProductionEnvironmentUrl = "playfabapi.com";