Preparing search index...
The search index is not available
Wayward Types Viewer | 2.13.5-beta
Wayward Types Viewer
utilities/random/generators/LegacySeededGenerator
LegacySeededGenerator
Class LegacySeededGenerator
Legacy seeded generator based on simple maths
Hierarchy
SeededGenerator
<
number
>
LegacySeededGenerator
Index
Constructors
constructor
Properties
requires
Synchronization
state
Methods
advance
clone
clone
State
generate
State
get
get
History
get
Next
State
get
Result
get
Seed
pop
Seed
push
Seed
set
Seed
start
History
stop
History
take
History
Constructors
constructor
new
Legacy
Seeded
Generator
(
requiresSynchronization
:
boolean
, initialState
?:
number
)
:
LegacySeededGenerator
Parameters
requiresSynchronization:
boolean
Optional
initialState:
number
Returns
LegacySeededGenerator
Properties
requires
Synchronization
requires
Synchronization
:
boolean
Protected
state
state
:
number
Methods
advance
advance
(
)
:
LegacySeededGenerator
Returns
LegacySeededGenerator
clone
clone
(
requiresSynchronization
?:
boolean
, initialState
?:
number
)
:
any
Parameters
Optional
requiresSynchronization:
boolean
Optional
initialState:
number
Returns
any
clone
State
clone
State
(
)
:
number
Returns
number
Protected
generate
State
generate
State
(
)
:
number
Returns
number
get
get
(
)
:
number
Returns
number
get
History
get
History
(
)
:
undefined
|
IRandomHistory
<
number
>
[]
Returns
undefined
|
IRandomHistory
<
number
>
[]
get
Next
State
get
Next
State
(
state
:
number
)
:
number
Parameters
state:
number
Returns
number
Protected
get
Result
get
Result
(
state
:
number
)
:
number
Parameters
state:
number
Returns
number
get
Seed
get
Seed
(
)
:
number
Returns
number
pop
Seed
pop
Seed
(
)
:
number
Returns
number
push
Seed
push
Seed
(
newSeed
?:
number
)
:
void
Parameters
Optional
newSeed:
number
Returns
void
set
Seed
set
Seed
(
newSeed
:
number
)
:
void
Parameters
newSeed:
number
Returns
void
start
History
start
History
(
maxHistory
?:
number
)
:
void
Parameters
maxHistory:
number
= 100
Returns
void
stop
History
stop
History
(
)
:
IRandomHistory
<
number
>
[]
Returns
IRandomHistory
<
number
>
[]
take
History
take
History
(
)
:
undefined
|
IRandomHistory
<
number
>
[]
Returns
undefined
|
IRandomHistory
<
number
>
[]
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
Legacy
Seeded
Generator
constructor
requires
Synchronization
state
advance
clone
clone
State
generate
State
get
get
History
get
Next
State
get
Result
get
Seed
pop
Seed
push
Seed
set
Seed
start
History
stop
History
take
History
Generated using
TypeDoc
Legacy seeded generator based on simple maths