Gen.Gen Type
Generates engine-specific values on-demand.
Static members
Static member | Description |
|
|
Full Usage:
Gen.id32
Returns: uint32
|
|
Full Usage:
Gen.id64
Returns: uint64
|
|
Full Usage:
Gen.id64AndNameIf nameOpt
Parameters:
string option
Returns: uint64 * string
|
|
Full Usage:
Gen.id64AndSurnamesIf surnamesOpt
Parameters:
string array option
Returns: uint64 * string array
|
|
|
|
Full Usage:
Gen.isNameGenerated name
Parameters:
string
Returns: bool
|
|
Full Usage:
Gen.name
Returns: string
|
|
Full Usage:
Gen.nameForEditor dispatcherName
Parameters:
string
Returns: string
|
|
Full Usage:
Gen.random
Returns: int
|
|
Full Usage:
Gen.random1 ceiling
Parameters:
int
Returns: int
|
|
Full Usage:
Gen.random2 minValue ceiling
Parameters:
int
ceiling : int
Returns: int
|
|
Full Usage:
Gen.randomItem seq
Parameters:
'a seq
Returns: 'a
|
|
Full Usage:
Gen.randomItemOpt seq
Parameters:
'a seq
Returns: 'a option
|
|
Full Usage:
Gen.randomItemOrDefault default_ seq
Parameters:
'a
seq : 'a seq
Returns: 'a
|
|
|
|
|
|
Full Usage:
Gen.randomb
Returns: bool
|
|
Full Usage:
Gen.randomd
Returns: float
|
|
Full Usage:
Gen.randomd1 ceiling
Parameters:
float
Returns: float
|
|
Full Usage:
Gen.randomf
Returns: single
|
|
Full Usage:
Gen.randomf1 ceiling
Parameters:
single
Returns: single
|
|
Full Usage:
Gen.randomize seq
Parameters:
'a seq
Returns: 'a seq
|
|
Full Usage:
Gen.randoml
Returns: int64
|
|
Full Usage:
Gen.randomu
Returns: uint
|
|
Full Usage:
Gen.randomul
Returns: uint64
|
|
Full Usage:
Gen.randomy
Returns: byte
|
|
Full Usage:
Gen.randomy1 ceiling
Parameters:
byte
Returns: byte
|