Share via


IGKGameModel.GetGameModelUpdates(IGKGameModelPlayer) Method

Definition

The set of legal moves available to the player whose PlayerId value is the same as that of player.

[Foundation.Export("gameModelUpdatesForPlayer:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual GameplayKit.IGKGameModelUpdate[]? GetGameModelUpdates(GameplayKit.IGKGameModelPlayer player);
[<Foundation.Export("gameModelUpdatesForPlayer:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGameModelUpdates : GameplayKit.IGKGameModelPlayer -> GameplayKit.IGKGameModelUpdate[]
override this.GetGameModelUpdates : GameplayKit.IGKGameModelPlayer -> GameplayKit.IGKGameModelUpdate[]

Parameters

Returns

Attributes

Remarks

The GKMinMaxStrategist may allocate many IGKGameModelPlayer objects with identical PlayerId values. When comparing IGKGameModelPlayer instances, developers should rely on PlayerId values, not reference equality.

Applies to