GKInviteEventListener.DidRequestMatch 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
DidRequestMatch(GKPlayer, GKPlayer[]) | |
DidRequestMatch(GKPlayer, String[]) |
開發人員不應該使用此已被取代的方法。 開發人員應該改用 'DidRequestMatch (GKPlayer 播放機、GKPlayer[] recipientPlayers) '。 |
DidRequestMatch(GKPlayer, GKPlayer[])
[Foundation.Export("player:didRequestMatchWithRecipients:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidRequestMatch (GameKit.GKPlayer player, GameKit.GKPlayer[] recipientPlayers);
abstract member DidRequestMatch : GameKit.GKPlayer * GameKit.GKPlayer[] -> unit
override this.DidRequestMatch : GameKit.GKPlayer * GameKit.GKPlayer[] -> unit
參數
- player
- GKPlayer
- recipientPlayers
- GKPlayer[]
- 屬性
適用於
DidRequestMatch(GKPlayer, String[])
開發人員不應該使用此已被取代的方法。 開發人員應該改用 'DidRequestMatch (GKPlayer 播放機、GKPlayer[] recipientPlayers) '。
[Foundation.Export("player:didRequestMatchWithPlayers:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'DidRequestMatch (GKPlayer player, GKPlayer[] recipientPlayers)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidRequestMatch (GameKit.GKPlayer player, string[] playerIDs);
abstract member DidRequestMatch : GameKit.GKPlayer * string[] -> unit
override this.DidRequestMatch : GameKit.GKPlayer * string[] -> unit
參數
- player
- GKPlayer
- playerIDs
- String[]
- 屬性