diff --git a/src/GameKit/GameKit.cs b/src/GameKit/GameKit.cs index e04963aa8374..d42c6a655936 100644 --- a/src/GameKit/GameKit.cs +++ b/src/GameKit/GameKit.cs @@ -220,6 +220,7 @@ public enum GKError : long { ICloudUnavailable = 35, LockdownMode = 36, AppUnlisted = 37, + DebugMode = 38, FriendListDescriptionMissing = 100, FriendListRestricted = 101, FriendListDenied = 102, @@ -434,6 +435,10 @@ public enum GKGameCenterViewControllerState : long { // NSInteger -> GKMatchmaker.h [Native] + [Deprecated (PlatformName.iOS, 18, 4, message: "Use 'GKInviteRecipientResponse' instead.")] + [Deprecated (PlatformName.MacOSX, 15, 4, message: "Use 'GKInviteRecipientResponse' instead.")] + [Deprecated (PlatformName.TvOS, 18, 4, message: "Use 'GKInviteRecipientResponse' instead.")] + [Deprecated (PlatformName.MacCatalyst, 18, 4, message: "Use 'GKInviteRecipientResponse' instead.")] public enum GKInviteeResponse : long { /// To be added. Accepted = 0, diff --git a/src/gamekit.cs b/src/gamekit.cs index 46c312f55aa4..3dfaf205f623 100644 --- a/src/gamekit.cs +++ b/src/gamekit.cs @@ -1874,6 +1874,10 @@ interface GKAchievementDescription : NSSecureCoding { [Export ("rarityPercent", ArgumentSemantic.Copy)] [NullAllowed] NSNumber RarityPercent { get; } + + [TV (18, 4), Mac (15, 4), iOS (18, 4), MacCatalyst (18, 4)] + [Export ("releaseState", ArgumentSemantic.Assign)] + GKReleaseState ReleaseState { get; } } /// @@ -3188,4 +3192,12 @@ interface GKMatchedPlayers { [NullAllowed, Export ("playerProperties")] NSDictionary> PlayerProperties { get; } } + + [TV (18, 4), Mac (15, 4), iOS (18, 4), MacCatalyst (18, 4)] + [Native] + public enum GKReleaseState : ulong { + Unknown, + Released, + Prereleased, + } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 89e8af3bd718..822adfa9af3c 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -8043,6 +8043,7 @@ F:GameKit.GKError.ApiNotAvailable F:GameKit.GKError.ApiObsolete F:GameKit.GKError.AppUnlisted F:GameKit.GKError.ConnectionTimeout +F:GameKit.GKError.DebugMode F:GameKit.GKError.FriendListDenied F:GameKit.GKError.FriendListDescriptionMissing F:GameKit.GKError.FriendListRestricted @@ -8067,6 +8068,9 @@ F:GameKit.GKMatchmakingMode.NearbyOnly F:GameKit.GKMatchSendDataMode.Reliable F:GameKit.GKMatchSendDataMode.Unreliable F:GameKit.GKPeerConnectionState.ConnectedRelay +F:GameKit.GKReleaseState.Prereleased +F:GameKit.GKReleaseState.Released +F:GameKit.GKReleaseState.Unknown F:GameplayKit.GKBox.Max F:GameplayKit.GKBox.Min F:GameplayKit.GKGameModel.MaxScore @@ -67473,6 +67477,7 @@ T:GameKit.GKPlayerPhotoLoaded T:GameKit.GKPlayersEventArgs T:GameKit.GKPlayersHandler T:GameKit.GKQueryHandler +T:GameKit.GKReleaseState T:GameKit.GKScoresLoadedHandler T:GameKit.GKSendDataMode T:GameKit.GKSessionMode diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-GameKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-GameKit.todo deleted file mode 100644 index b66fb1ac048a..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-GameKit.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum! GKReleaseState not bound -!missing-enum-value! GKError native value GKErrorDebugMode = 38 not bound -!missing-selector! GKAchievementDescription::releaseState not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-GameKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-GameKit.todo deleted file mode 100644 index b66fb1ac048a..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-GameKit.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum! GKReleaseState not bound -!missing-enum-value! GKError native value GKErrorDebugMode = 38 not bound -!missing-selector! GKAchievementDescription::releaseState not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-GameKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-GameKit.todo deleted file mode 100644 index b66fb1ac048a..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-GameKit.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum! GKReleaseState not bound -!missing-enum-value! GKError native value GKErrorDebugMode = 38 not bound -!missing-selector! GKAchievementDescription::releaseState not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameKit.todo deleted file mode 100644 index b66fb1ac048a..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameKit.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum! GKReleaseState not bound -!missing-enum-value! GKError native value GKErrorDebugMode = 38 not bound -!missing-selector! GKAchievementDescription::releaseState not bound