編輯

共用方式為


GKTurnBasedEventHandlerDelegate_Extensions Class

Definition

Extension methods to the IGKTurnBasedEventHandlerDelegate interface to support all the methods from the GKTurnBasedEventHandlerDelegate protocol.

public static class GKTurnBasedEventHandlerDelegate_Extensions
type GKTurnBasedEventHandlerDelegate_Extensions = class
Inheritance
GKTurnBasedEventHandlerDelegate_Extensions

Remarks

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

Methods

HandleMatchEnded(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch)

Developers should not use this deprecated method.

HandleTurnEvent(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch, Boolean)
HandleTurnEventForMatch(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch)

Applies to