Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
utilities/random/RandomValueGenerator
default
Class default<T>
Abstract
Type Parameters
T
Hierarchy
default
default
default
Implements
ICloneable
Index
Constructors
constructor
Properties
random?
value?
Methods
[SYMBOL_
CLONE]
clone
get
Random
get
Random
Instance
Constructors
constructor
new default
<
T
>
(
random
?:
RandomInstance
|
RandomReference
, value
?:
T
)
:
default
<
T
>
Type Parameters
T
Parameters
Optional
random:
RandomInstance
|
RandomReference
Optional
value:
T
Returns
default
<
T
>
Properties
Optional
random
random
?:
RandomInstance
|
RandomReference
Optional
value
value
?:
T
Methods
Abstract
[SYMBOL_
CLONE]
[SYMBOL_
CLONE]
(
clone
:
(
<
T
>
(
obj
:
T
)
=>
T
)
)
:
default
<
T
>
Parameters
clone:
(
<
T
>
(
obj
:
T
)
=>
T
)
<
T
>
(
obj
:
T
)
:
T
Type Parameters
T
Parameters
obj:
T
Returns
T
Returns
default
<
T
>
Protected
clone
clone
(
clone
:
(
<
T
>
(
obj
:
T
)
=>
T
)
)
:
readonly
[
undefined
|
RandomInstance
|
RandomReference
,
undefined
|
T
]
Parameters
clone:
(
<
T
>
(
obj
:
T
)
=>
T
)
<
T
>
(
obj
:
T
)
:
T
Type Parameters
T
Parameters
obj:
T
Returns
T
Returns
readonly
[
undefined
|
RandomInstance
|
RandomReference
,
undefined
|
T
]
get
Random
get
Random
(
)
:
Random
<
LegacySeededGenerator
|
PCGSeededGenerator
>
Returns
Random
<
LegacySeededGenerator
|
PCGSeededGenerator
>
get
Random
Instance
get
Random
Instance
(
)
:
undefined
|
RandomInstance
Returns
undefined
|
RandomInstance
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
random?
value?
[SYMBOL_
CLONE]
clone
get
Random
get
Random
Instance
Generated using
TypeDoc