Partager via


GKMatchDelegate.StateChanged(GKMatch, String, GKPlayerConnectionState) Méthode

Définition

[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

Paramètres

match
GKMatch
playerId
String
Attributs

S’applique à