共用方式為


GKMatchDelegate_Extensions.StateChangedForPlayer 方法

定義

當玩家的線上狀態變更時所呼叫的方法。

public static void StateChangedForPlayer (this GameKit.IGKMatchDelegate This, GameKit.GKMatch match, GameKit.GKPlayer player, GameKit.GKPlayerConnectionState state);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static void StateChangedForPlayer (this GameKit.IGKMatchDelegate This, GameKit.GKMatch match, GameKit.GKPlayer player, GameKit.GKPlayerConnectionState state);
static member StateChangedForPlayer : GameKit.IGKMatchDelegate * GameKit.GKMatch * GameKit.GKPlayer * GameKit.GKPlayerConnectionState -> unit

參數

This
IGKMatchDelegate

這個擴充方法運作所在的實例。

match
GKMatch
player
GKPlayer
屬性

適用於