Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 3, 2022 23:47
Show Gist options
  • Save vs-mobiletools-engineering-service2/14cc2b05de801a7dc1b81ef723c581ea to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/14cc2b05de801a7dc1b81ef723c581ea to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/ios/generated-sources/GameKit/GKBasePlayer.g.cs b/new/dotnet/ios/generated-sources/GameKit/GKBasePlayer.g.cs
index 681b538..4ce992a 100644
--- a/old/dotnet/ios/generated-sources/GameKit/GKBasePlayer.g.cs
+++ b/new/dotnet/ios/generated-sources/GameKit/GKBasePlayer.g.cs
@@ -104,12 +104,44 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.12.0")]
[SupportedOSPlatform ("tvos10.0.0")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
public virtual string? PlayerID {
[Export ("playerID", ArgumentSemantic.Retain)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0.0")]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0.0")]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.12.0")]
[SupportedOSPlatform ("tvos10.0.0")]
diff --git a/old/dotnet/maccatalyst/generated-sources/GameKit/GKBasePlayer.g.cs b/new/dotnet/maccatalyst/generated-sources/GameKit/GKBasePlayer.g.cs
index 6a38e37..a5b8a86 100644
--- a/old/dotnet/maccatalyst/generated-sources/GameKit/GKBasePlayer.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/GameKit/GKBasePlayer.g.cs
@@ -104,12 +104,44 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.12.0")]
[SupportedOSPlatform ("tvos10.0.0")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
public virtual string? PlayerID {
[Export ("playerID", ArgumentSemantic.Retain)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0.0")]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0.0")]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.12.0")]
[SupportedOSPlatform ("tvos10.0.0")]
diff --git a/old/dotnet/macos/generated-sources/GameKit/GKBasePlayer.g.cs b/new/dotnet/macos/generated-sources/GameKit/GKBasePlayer.g.cs
index acdc3b8..6c81b4e 100644
--- a/old/dotnet/macos/generated-sources/GameKit/GKBasePlayer.g.cs
+++ b/new/dotnet/macos/generated-sources/GameKit/GKBasePlayer.g.cs
@@ -103,12 +103,44 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.12.0")]
[SupportedOSPlatform ("tvos10.0.0")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
public virtual string? PlayerID {
[Export ("playerID", ArgumentSemantic.Retain)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0.0")]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0.0")]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.12.0")]
[SupportedOSPlatform ("tvos10.0.0")]
diff --git a/old/dotnet/tvos/generated-sources/GameKit/GKBasePlayer.g.cs b/new/dotnet/tvos/generated-sources/GameKit/GKBasePlayer.g.cs
index 08f86e7..b21ffea 100644
--- a/old/dotnet/tvos/generated-sources/GameKit/GKBasePlayer.g.cs
+++ b/new/dotnet/tvos/generated-sources/GameKit/GKBasePlayer.g.cs
@@ -95,12 +95,44 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.12.0")]
[SupportedOSPlatform ("tvos10.0.0")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
public virtual string? PlayerID {
[Export ("playerID", ArgumentSemantic.Retain)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0.0")]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.0 Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0.0")]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.12.0")]
[SupportedOSPlatform ("tvos10.0.0")]
diff --git a/old/ios/native/GameKit/GKBasePlayer.g.cs b/new/ios/native/GameKit/GKBasePlayer.g.cs
index 798c100..4d8e133 100644
--- a/old/ios/native/GameKit/GKBasePlayer.g.cs
+++ b/new/ios/native/GameKit/GKBasePlayer.g.cs
@@ -95,7 +95,15 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
public virtual string? PlayerID {
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
[Export ("playerID", ArgumentSemantic.Retain)]
get {
global::UIKit.UIApplication.EnsureUIThread ();
diff --git a/old/mac/full/GameKit/GKBasePlayer.g.cs b/new/mac/full/GameKit/GKBasePlayer.g.cs
index d3d5158..028d00f 100644
--- a/old/mac/full/GameKit/GKBasePlayer.g.cs
+++ b/new/mac/full/GameKit/GKBasePlayer.g.cs
@@ -94,7 +94,15 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
public virtual string? PlayerID {
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
[Export ("playerID", ArgumentSemantic.Retain)]
get {
if (IsDirectBinding) {
diff --git a/old/mac/mobile/GameKit/GKBasePlayer.g.cs b/new/mac/mobile/GameKit/GKBasePlayer.g.cs
index d3d5158..028d00f 100644
--- a/old/mac/mobile/GameKit/GKBasePlayer.g.cs
+++ b/new/mac/mobile/GameKit/GKBasePlayer.g.cs
@@ -94,7 +94,15 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
public virtual string? PlayerID {
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
[Export ("playerID", ArgumentSemantic.Retain)]
get {
if (IsDirectBinding) {
diff --git a/old/tvos/tvos/GameKit/GKBasePlayer.g.cs b/new/tvos/tvos/GameKit/GKBasePlayer.g.cs
index 59de96c..4804da6 100644
--- a/old/tvos/tvos/GameKit/GKBasePlayer.g.cs
+++ b/new/tvos/tvos/GameKit/GKBasePlayer.g.cs
@@ -86,7 +86,15 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
public virtual string? PlayerID {
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
[Export ("playerID", ArgumentSemantic.Retain)]
get {
global::UIKit.UIApplication.EnsureUIThread ();
diff --git a/old/watch/watch/GameKit/GKBasePlayer.g.cs b/new/watch/watch/GameKit/GKBasePlayer.g.cs
index 214fa5d..d7b6867 100644
--- a/old/watch/watch/GameKit/GKBasePlayer.g.cs
+++ b/new/watch/watch/GameKit/GKBasePlayer.g.cs
@@ -75,7 +75,15 @@ namespace GameKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
public virtual string? PlayerID {
+ [Deprecated (PlatformName.iOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.TvOS, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
+ [Deprecated (PlatformName.MacOSX, 13,0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")]
[Export ("playerID", ArgumentSemantic.Retain)]
get {
if (IsDirectBinding) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment