GKMatchmakerViewController.SetHostedPlayerConnected Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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