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


GKMatchDelegate.StateChangedForPlayer Метод

Определение

Метод, вызываемый при изменении состояния подключения игрока.

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

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