Compartir a través de


GKLocalPlayer.LoadFriendPlayers(Action<GKPlayer[],NSError>) Método

Definición

Carga una matriz de los identificadores de amigos del jugador local y la pasa a completionHandler, junto con un objeto de error que es null si no se produjo ningún error.

[Foundation.Export("loadFriendPlayersWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual void LoadFriendPlayers (Action<GameKit.GKPlayer[],Foundation.NSError> completionHandler);
[Foundation.Export("loadFriendPlayersWithCompletionHandler:")]
[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 LoadFriendPlayers (Action<GameKit.GKPlayer[],Foundation.NSError> completionHandler);
abstract member LoadFriendPlayers : Action<GameKit.GKPlayer[], Foundation.NSError> -> unit
override this.LoadFriendPlayers : Action<GameKit.GKPlayer[], Foundation.NSError> -> unit

Parámetros

completionHandler
Action<GKPlayer[],NSError>

Se agregará.

Este parámetro puede ser null.

Atributos

Se aplica a