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 who's GetPlayerId(IGKGameModelPlayer) value is the same as that of player
.
[Foundation.Export("gameModelUpdatesForPlayer:")]
[Foundation.Preserve(Conditional=true)]
public GameplayKit.IGKGameModelUpdate[] GetGameModelUpdates (GameplayKit.IGKGameModelPlayer player);
abstract member GetGameModelUpdates : GameplayKit.IGKGameModelPlayer -> GameplayKit.IGKGameModelUpdate[]
Parameters
- player
- IGKGameModelPlayer
Returns
- Attributes
Remarks
The GKMinMaxStrategist may allocate many IGKGameModelPlayer objects with identical GetPlayerId(IGKGameModelPlayer) values. When comparing IGKGameModelPlayer instances, developers should rely on GetPlayerId(IGKGameModelPlayer) values, not reference equality.