GKMatchDelegate.StateChanged(GKMatch, String, GKPlayerConnectionState) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Foundation.Export("match:player:didChangeState:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'StateChangedForPlayer (GKMatch,GKPlayer,GKPlayerConnectionState)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.None, "Use 'StateChangedForPlayer (GKMatch,GKPlayer,GKPlayerConnectionState)' instead.")]
public virtual void StateChanged (GameKit.GKMatch match, string playerId, GameKit.GKPlayerConnectionState state);
[Foundation.Export("match:player:didChangeState:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'StateChangedForPlayer (GKMatch,GKPlayer,GKPlayerConnectionState)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'StateChangedForPlayer (GKMatch,GKPlayer,GKPlayerConnectionState)' instead.")]
public virtual void StateChanged (GameKit.GKMatch match, string playerId, GameKit.GKPlayerConnectionState state);
abstract member StateChanged : GameKit.GKMatch * string * GameKit.GKPlayerConnectionState -> unit
override this.StateChanged : GameKit.GKMatch * string * GameKit.GKPlayerConnectionState -> unit
参数
- match
- GKMatch
- playerId
- String
- state
- GKPlayerConnectionState
- 属性