Upravit

Sdílet prostřednictvím


GKChallengeEventHandlerDelegate_Extensions Class

Definition

Extension methods to the IGKChallengeEventHandlerDelegate interface to support all the methods from the GKChallengeEventHandlerDelegate protocol.

public static class GKChallengeEventHandlerDelegate_Extensions
type GKChallengeEventHandlerDelegate_Extensions = class
Inheritance
GKChallengeEventHandlerDelegate_Extensions

Remarks

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

Methods

LocalPlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
LocalPlayerReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
LocalPlayerSelectedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
RemotePlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForLocallyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForLocallyReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForRemotelyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Applies to