GKGameModelPlayer_Extensions Class

Definition

Extension methods to the IGKGameModelPlayer interface to support all the methods from the IGKGameModelPlayer protocol.

public static class GKGameModelPlayer_Extensions
type GKGameModelPlayer_Extensions = class
Inheritance
GKGameModelPlayer_Extensions

Remarks

The extension methods for IGKGameModelPlayer allow developers to treat instances of the interface as having all the optional methods of the original IGKGameModelPlayer protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetPlayerId(IGKGameModelPlayer)

Returns a value identifying the IGKGameModelPlayer.

Applies to