GKMatchDelegate.StateChangedForPlayer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当玩家的连接状态更改时调用的方法。
[Foundation.Export("match:player:didChangeConnectionState:")]
public virtual void StateChangedForPlayer (GameKit.GKMatch match, GameKit.GKPlayer player, GameKit.GKPlayerConnectionState state);
[Foundation.Export("match:player:didChangeConnectionState:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StateChangedForPlayer (GameKit.GKMatch match, GameKit.GKPlayer player, GameKit.GKPlayerConnectionState state);
abstract member StateChangedForPlayer : GameKit.GKMatch * GameKit.GKPlayer * GameKit.GKPlayerConnectionState -> unit
override this.StateChangedForPlayer : GameKit.GKMatch * GameKit.GKPlayer * GameKit.GKPlayerConnectionState -> unit
参数
- match
- GKMatch
- player
- GKPlayer
- state
- GKPlayerConnectionState
- 属性