Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/GameKit/GameKit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ public enum GKError : long {
ICloudUnavailable = 35,
LockdownMode = 36,
AppUnlisted = 37,
DebugMode = 38,
FriendListDescriptionMissing = 100,
FriendListRestricted = 101,
FriendListDenied = 102,
Expand Down Expand Up @@ -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 {
/// <summary>To be added.</summary>
Accepted = 0,
Expand Down
12 changes: 12 additions & 0 deletions src/gamekit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}

/// <include file="../docs/api/GameKit/IGKAchievementViewControllerDelegate.xml" path="/Documentation/Docs[@DocId='T:GameKit.IGKAchievementViewControllerDelegate']/*" />
Expand Down Expand Up @@ -3188,4 +3192,12 @@ interface GKMatchedPlayers {
[NullAllowed, Export ("playerProperties")]
NSDictionary<GKPlayer, NSDictionary<NSString, NSObject>> PlayerProperties { get; }
}

[TV (18, 4), Mac (15, 4), iOS (18, 4), MacCatalyst (18, 4)]
[Native]
public enum GKReleaseState : ulong {
Unknown,
Released,
Prereleased,
}
}
5 changes: 5 additions & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-GameKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/api-annotations-dotnet/macOS-GameKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameKit.todo

This file was deleted.

Loading