IGKGameModelUpdate.Value Property
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.
Equivalent to the value produced by GetScore(IGKGameModel, IGKGameModelPlayer).
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr Value { [Foundation.Export("value", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setValue:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("value", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)>]
[<set: Foundation.Export("setValue:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)>]
member this.Value : nativeint with get, set
Property Value
nativeint
- Attributes
Remarks
This property is determined by the GetScore(IGKGameModel, IGKGameModelPlayer) when thisIGKGameModelUpdate is applied to the game state of the IGKGameModel. Ultimately, the GetBestMove(IGKGameModelPlayer) method returns the IGKGameModelUpdate with the highest Value. If multiple IGKGameModelUpdate have the same Value and RandomSource is not null, the returned IGKGameModelUpdate is chosen randomly among those with the highest Value.