namespace GameplayKit
{
[Protocol(Name = "GKGameModel", WrapperType = typeof(GKGameModelWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetPlayers", ReturnType = typeof(IGKGameModelPlayer[]), Selector = "players")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetActivePlayer", ReturnType = typeof(IGKGameModelPlayer), Selector = "activePlayer")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetGameModel", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IGKGameModel) }, Selector = "setGameModel:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ApplyGameModelUpdate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IGKGameModelUpdate) }, Selector = "applyGameModelUpdate:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UnapplyGameModelUpdate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IGKGameModelUpdate) }, Selector = "unapplyGameModelUpdate:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetGameModelUpdates", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IGKGameModelPlayer) }, ReturnType = typeof(IGKGameModelUpdate[]), Selector = "gameModelUpdatesForPlayer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetScore", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IGKGameModelPlayer) }, ReturnType = typeof(IntPtr), Selector = "scoreForPlayer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsWin", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IGKGameModelPlayer) }, ReturnType = typeof(bool), Selector = "isWinForPlayer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsLoss", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IGKGameModelPlayer) }, ReturnType = typeof(bool), Selector = "isLossForPlayer:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("tvos")]
public interface IGKGameModel : INSCopying, INativeObject, IDisposable
}
nuget.org | 0.0 % |
---|---|
Assembly | Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Help | Documentation |
.NET | 6.0-ios6.0-maccatalyst6.0-macos6.0-tvos7.0-ios7.0-maccatalyst7.0-macos7.0-tvos8.0-ios8.0-maccatalyst8.0-macos8.0-tvos9.0-ios9.0-maccatalyst9.0-macos9.0-tvos |
Xamarin iOS | 0.0 |
Xamarin macOS | 0.0 |
Xamarin tvOS | 0.0 |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|