Compartilhar via


GKMatchmakerViewController.SetHostedPlayerConnected Método

Definição

Sobrecargas

SetHostedPlayerConnected(GKPlayer, Boolean)
SetHostedPlayerConnected(String, Boolean)

SetHostedPlayerConnected(GKPlayer, Boolean)

[Foundation.Export("setHostedPlayer:didConnect:")]
[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 SetHostedPlayerConnected (GameKit.GKPlayer playerID, bool connected);
abstract member SetHostedPlayerConnected : GameKit.GKPlayer * bool -> unit
override this.SetHostedPlayerConnected : GameKit.GKPlayer * bool -> unit

Parâmetros

playerID
GKPlayer
connected
Boolean
Atributos

Aplica-se a

SetHostedPlayerConnected(String, Boolean)

[Foundation.Export("setHostedPlayer:connected:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetHostedPlayerConnected (GKPlayer,bool)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'SetHostedPlayerConnected (GKPlayer,bool)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetHostedPlayerConnected (string playerID, bool connected);
abstract member SetHostedPlayerConnected : string * bool -> unit
override this.SetHostedPlayerConnected : string * bool -> unit

Parâmetros

playerID
String
connected
Boolean
Atributos

Aplica-se a