xamarintvos
namespace GameplayKit
{
    [Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
    [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(nint), 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:")]
    public interface IGKGameModel : INSCopying, INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("applyGameModelUpdate:")]
        [Preserve(Conditional = true)]
        void ApplyGameModelUpdate(IGKGameModelUpdate! gameModelUpdate);
    }
}
.NET 6.07.08.09.0
Information specific to xamarintvos
Assembly

Xamarin.TVOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

05/11/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙