Поделиться через


GKMatchDelegate.StateChanged(GKMatch, String, GKPlayerConnectionState) Метод

Определение

[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
Атрибуты

Применяется к