net6.0-maccatalyst
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("ios9.0")]
[SupportedOSPlatform("macos10.11")]
[SupportedOSPlatform("maccatalyst9.0")]
[SupportedOSPlatform("tvos9.0")]
public interface IGKGameModel : INSCopying, INativeObject, IDisposable
}
nuget.org | 0.0 %
Reference this API |
---|---|
Assembly | Microsoft.MacCatalyst , Version=15.4.700.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 |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|