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
- 屬性