Condividi tramite


GKMatchmakerViewController.SetHostedPlayerConnected Metodo

Definizione

Overload

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

Parametri

playerID
GKPlayer
connected
Boolean
Attributi

Si applica 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

Parametri

playerID
String
connected
Boolean
Attributi

Si applica a