GKMatchDelegate.StateChangedForPlayer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當玩家的線上狀態變更時所呼叫的方法。
[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
- state
- GKPlayerConnectionState
- 屬性