IGKGameModel.GetGameModelUpdates(IGKGameModelPlayer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- player
- IGKGameModelPlayer
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.