次の方法で共有


IGKLocalPlayerListener インターフェイス

定義

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

[Foundation.Protocol(Name="GKLocalPlayerListener", WrapperType=typeof(GameKit.GKLocalPlayerListenerWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKLocalPlayerListener : GameKit.IGKChallengeListener, GameKit.IGKInviteEventListener, GameKit.IGKSavedGameListener, GameKit.IGKTurnBasedEventListener, IDisposable
type IGKLocalPlayerListener = interface
    interface INativeObject
    interface IDisposable
    interface IGKChallengeListener
    interface IGKInviteEventListener
    interface IGKSavedGameListener
    interface IGKTurnBasedEventListener
派生
属性
実装

注釈

このインターフェイスには、 で GKLocalPlayerListener定義されているプロトコルから必要なメソッド (存在する場合) が含まれています。

開発者がこのインターフェイスを実装するクラスを作成する場合、実装メソッドは、プロトコルで定義されているメソッドの一致するシグネチャを使用して Objective-C に自動的に GKLocalPlayerListener エクスポートされます。

省略可能なメソッド (ある場合) は、 GameKit.GKLocalPlayerListener_Extensions クラスによって インターフェイスの拡張メソッドとして提供され、開発者はプロトコルで任意のメソッドを呼び出すことができます。

プロパティ

Handle

アンマネージ オブジェクト表現へのハンドル (ポインター)。

(継承元 INativeObject)

拡張メソッド

DidCompleteChallenge(IGKChallengeListener, GKPlayer, GKChallenge, GKPlayer)

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

DidReceiveChallenge(IGKChallengeListener, GKPlayer, GKChallenge)

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

IssuedChallengeWasCompleted(IGKChallengeListener, GKPlayer, GKChallenge, GKPlayer)

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

WantsToPlayChallenge(IGKChallengeListener, GKPlayer, GKChallenge)

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

DidAcceptInvite(IGKInviteEventListener, GKPlayer, GKInvite)

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

DidRequestMatch(IGKInviteEventListener, GKPlayer, GKPlayer[])

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

DidRequestMatch(IGKInviteEventListener, GKPlayer, String[])

開発者は、この非推奨のメソッドを使用しないでください。 開発者は、代わりに 'DidRequestMatch (GKPlayer プレーヤー,GKPlayer[] recipientPlayers)' を使用する必要があります。

DidModifySavedGame(IGKSavedGameListener, GKPlayer, GKSavedGame)

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

HasConflictingSavedGames(IGKSavedGameListener, GKPlayer, GKSavedGame[])

プロトコル GKLocalPlayerListenerの必要なメソッド (存在する場合) を表すインターフェイス。

DidRequestMatchWithOtherPlayers(IGKTurnBasedEventListener, GKPlayer, GKPlayer[])

との一致playersToInviteを要求したときにplayer呼び出されるメソッド。

DidRequestMatchWithPlayers(IGKTurnBasedEventListener, GKPlayer, String[])

開発者は、この非推奨のメソッドを使用しないでください。 開発者は、代わりに 'DidRequestMatchWithOtherPlayers' を使用する必要があります。

MatchEnded(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch)

が終了した後に match 呼び出されるメソッド。

ReceivedExchangeCancellation(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchange, GKTurnBasedMatch)

の取り消exchangeし後playerに呼び出されるメソッド。

ReceivedExchangeReplies(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchangeReply[], GKTurnBasedExchange, GKTurnBasedMatch)

が完了した後にexchangeplayer呼び出されるメソッド。

ReceivedExchangeRequest(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchange, GKTurnBasedMatch)

の要求exchangeを受信したときにplayer呼び出されるメソッド。

ReceivedTurnEvent(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch, Boolean)

のターン playerをアクティブにするために呼び出されるメソッド。

WantsToQuitMatch(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch)

の後 player に呼び出されるメソッドは、一致を終了することを望んでいることを示します。

適用対象