Static methods

staticuniformFrequencyList(values:Array<Int>, frequencies:Array<Float>, size:Int):Array<Int>

Generate an uniform list of the requested size, containing values uniformly repartited from frequencies.

Parameters:

values

the values to put in list

probabilities

the corresponding probability for each value

size

the size of the final list

staticuniqueId():String

Provides an identifier which is garanteed to be unique on the current session. It however doesn't garantee that this identifier is not predictable.

staticinlinebase62Id(?val:Int):String

staticdecodeChangesetData(rawData:String):{serializedMap:Map<String, {type:String, props:Dynamic, id:String}>, serialized:Null<Dynamic>}

Available on clay

staticdecodeChangesetData(rawData:String):{serializedMap:Map<String, {type:String, props:Dynamic, id:String}>, serialized:Dynamic}

Available on unity