다음을 통해 공유


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프로토콜의 필수 메서드(있는 경우)가 포함되어 있습니다.

개발자가 이 인터페이스를 구현하는 클래스를 만드는 경우 구현 메서드는 프로토콜에 정의된 GKLocalPlayerListener 메서드의 일치하는 서명과 함께 Objective-C로 자동으로 내보내됩니다.

선택적 메서드(있는 경우)는 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)

에 대한 요청을 받을 때 player 호출되는 메서드입니다 exchange.

ReceivedTurnEvent(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch, Boolean)

에 대한 player턴을 활성화하기 위해 호출되는 메서드입니다.

WantsToQuitMatch(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch)

이후에 player 호출되는 메서드는 일치 항목을 종료하려고 했음을 나타냅니다.

적용 대상