xamarinmac
namespace GameplayKit
{
[Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
[Protocol(Name = "GKRandom", WrapperType = typeof(GKRandomWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNextInt", ReturnType = typeof(nint), Selector = "nextInt")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNextUniform", ReturnType = typeof(float), Selector = "nextUniform")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNextBool", ReturnType = typeof(bool), Selector = "nextBool")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNextInt", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(nuint) }, ReturnType = typeof(nuint), Selector = "nextIntWithUpperBound:")]
public interface IGKRandom : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("nextBool")]
[Preserve(Conditional = true)]
bool GetNextBool();
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to xamarinmac | |
Assembly | Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |