d20
TypeScriptstatic d20(): GKRandomDistributionSwift declarationclass func d20() -> Selfclass · iOS 9.0+ · SDK 27.1
class GKRandomDistributionstatic d20(): GKRandomDistributionSwift declarationclass func d20() -> Selfstatic d6(): GKRandomDistributionSwift declarationclass func d6() -> Selfstatic initForDieWithSideCount(sideCount: number): GKRandomDistributionSwift declarationconvenience init(forDieWithSideCount sideCount: Int)static initLowestValueHighestValue(lowestInclusive: number, highestInclusive: number): GKRandomDistributionSwift declarationconvenience init(lowestValue lowestInclusive: Int, highestValue highestInclusive: Int)static initRandomSourceLowestValueHighestValue(source: SDKHandle, lowestInclusive: number, highestInclusive: number): GKRandomDistributionSwift declarationinit(randomSource source: any GKRandom, lowestValue lowestInclusive: Int, highestValue highestInclusive: Int)nextBool(): booleanSwift declarationfunc nextBool() -> BoolnextInt(): numberSwift declarationfunc nextInt() -> IntnextIntUpperBound(upperBound: number): numberSwift declarationfunc nextInt(upperBound: Int) -> IntnextUniform(): numberSwift declarationfunc nextUniform() -> Floatget highestValue(): numberSwift declarationvar highestValue: Int { get }get lowestValue(): numberSwift declarationvar lowestValue: Int { get }get numberOfPossibleOutcomes(): numberSwift declarationvar numberOfPossibleOutcomes: Int { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
GKRandomDistribution.init()
inherited init: cannot prove legal (class declares 3 custom initializers)