Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
utilities/random/generators/specific/RandomRange
default
Class default
Hierarchy
default
<
IRange
>
default
Index
Constructors
constructor
Properties
limit?
random?
value?
Methods
[SYMBOL_
CLONE]
clone
float
get
Random
get
Random
Instance
int
int
In
Range
set
Limit
Constructors
constructor
new default
(
)
:
default
Returns
default
new default
(
random
:
RandomInstance
|
RandomReference
, max
:
number
)
:
default
Parameters
random:
RandomInstance
|
RandomReference
max:
number
Returns
default
new default
(
random
:
RandomInstance
|
RandomReference
, min
:
number
, max
:
number
)
:
default
Parameters
random:
RandomInstance
|
RandomReference
min:
number
max:
number
Returns
default
new default
(
random
:
RandomInstance
|
RandomReference
, range
:
IRange
)
:
default
Parameters
random:
RandomInstance
|
RandomReference
range:
IRange
Returns
default
Properties
Optional
limit
limit
?:
number
Optional
random
random
?:
RandomInstance
|
RandomReference
Optional
value
value
?:
IRange
Methods
[SYMBOL_
CLONE]
[SYMBOL_
CLONE]
(
clone
:
(
<
T
>
(
obj
:
T
)
=>
T
)
)
:
default
Parameters
clone:
(
<
T
>
(
obj
:
T
)
=>
T
)
<
T
>
(
obj
:
T
)
:
T
Type Parameters
T
Parameters
obj:
T
Returns
T
Returns
default
Protected
clone
clone
(
clone
:
(
<
T
>
(
obj
:
T
)
=>
T
)
)
:
readonly
[
undefined
|
RandomInstance
|
RandomReference
,
undefined
|
IRange
]
Parameters
clone:
(
<
T
>
(
obj
:
T
)
=>
T
)
<
T
>
(
obj
:
T
)
:
T
Type Parameters
T
Parameters
obj:
T
Returns
T
Returns
readonly
[
undefined
|
RandomInstance
|
RandomReference
,
undefined
|
IRange
]
float
float
(
)
:
number
Returns
number
get
Random
get
Random
(
)
:
Random
<
LegacySeededGenerator
|
PCGSeededGenerator
>
Returns
Random
<
LegacySeededGenerator
|
PCGSeededGenerator
>
get
Random
Instance
get
Random
Instance
(
)
:
undefined
|
RandomInstance
Returns
undefined
|
RandomInstance
int
int
(
)
:
number
Returns
number
int
In
Range
int
In
Range
(
)
:
number
Returns
number
set
Limit
set
Limit
(
limit
?:
number
)
:
default
Parameters
Optional
limit:
number
Returns
default
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
default
constructor
limit?
random?
value?
[SYMBOL_
CLONE]
clone
float
get
Random
get
Random
Instance
int
int
In
Range
set
Limit
Generated using
TypeDoc