GKMatchDelegate_Extensions.StateChangedForPlayer 方法

定义

当玩家的连接状态更改时调用的方法。

public static void StateChangedForPlayer (this GameKit.IGKMatchDelegate This, GameKit.GKMatch match, GameKit.GKPlayer player, GameKit.GKPlayerConnectionState state);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static void StateChangedForPlayer (this GameKit.IGKMatchDelegate This, GameKit.GKMatch match, GameKit.GKPlayer player, GameKit.GKPlayerConnectionState state);
static member StateChangedForPlayer : GameKit.IGKMatchDelegate * GameKit.GKMatch * GameKit.GKPlayer * GameKit.GKPlayerConnectionState -> unit

参数

This
IGKMatchDelegate

此扩展方法在其上运行的实例。

match
GKMatch
player
GKPlayer
属性

适用于