Düzenle

Aracılığıyla paylaş


IGKGameModelPlayer Interface

Definition

A uniquely-identified player of a game. Developers must implement GetPlayerId(IGKGameModelPlayer).

[Foundation.Protocol(Name="GKGameModelPlayer", WrapperType=typeof(GameplayKit.GKGameModelPlayerWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IGKGameModelPlayer : IDisposable, ObjCRuntime.INativeObject
type IGKGameModelPlayer = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Remarks

Developers who implement this interface must implement GetPlayerId(IGKGameModelPlayer). It is incorrectly marked as optional but is, in fact, mandatory and must be implemented.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

GetPlayerId(IGKGameModelPlayer)

Returns a value identifying the IGKGameModelPlayer.

Applies to