Preparing search index...
The search index is not available
Wayward Types Viewer | 2.13.5-beta
Wayward Types Viewer
game/options/modifiers/milestone/MilestoneModifier
MilestoneModifierInstance
Class MilestoneModifierInstance<DATA>
Type Parameters
DATA =
any
Hierarchy
GameplayModifierInstance
<
Milestone
,
[
default
?
]
,
DATA
>
MilestoneModifierInstance
Index
Constructors
constructor
Properties
args
id
options
random
Accessors
player
Methods
add
Options
clear
Data
get
Data
get
Default
Title
get
Title
is
Enabled
For
Player
set
Data
set
Options
set
Title
Constructors
constructor
new
Milestone
Modifier
Instance
<
DATA
>
(
id
:
Milestone
, random
:
Random
<
IRandomGenerator
<
any
>
>
,
...
args
:
[
default
<
number
>
?
]
)
:
MilestoneModifierInstance
<
DATA
>
Type Parameters
DATA =
any
Parameters
id:
Milestone
random:
Random
<
IRandomGenerator
<
any
>
>
Rest
...
args:
[
default
<
number
>
?
]
Returns
MilestoneModifierInstance
<
DATA
>
Properties
Protected
Readonly
args
args
:
[
default
<
number
>
?
]
Readonly
id
id
:
Milestone
options
options
:
IGameOptionsPartial
= {}
Readonly
random
random
:
Random
<
IRandomGenerator
<
any
>
>
Accessors
Protected
player
get
player
(
)
:
undefined
|
default
<
number
>
Returns
undefined
|
default
<
number
>
Methods
add
Options
add
Options
(
options
:
IGameOptionsPartial
)
:
MilestoneModifierInstance
<
DATA
>
Parameters
options:
IGameOptionsPartial
Returns
MilestoneModifierInstance
<
DATA
>
clear
Data
clear
Data
(
)
:
MilestoneModifierInstance
<
DATA
>
Returns
MilestoneModifierInstance
<
DATA
>
get
Data
get
Data
(
)
:
undefined
|
DATA
Returns
undefined
|
DATA
Protected
get
Default
Title
get
Default
Title
(
)
:
default
Returns
default
get
Title
get
Title
(
)
:
default
Returns
default
is
Enabled
For
Player
is
Enabled
For
Player
(
entity
:
default
<
unknown
,
number
,
unknown
,
unknown
>
)
:
boolean
Parameters
entity:
default
<
unknown
,
number
,
unknown
,
unknown
>
Returns
boolean
set
Data
set
Data
(
data
?:
DATA
)
:
MilestoneModifierInstance
<
DATA
>
Parameters
Optional
data:
DATA
Returns
MilestoneModifierInstance
<
DATA
>
set
Options
set
Options
(
options
:
IGameOptionsPartial
)
:
MilestoneModifierInstance
<
DATA
>
Parameters
options:
IGameOptionsPartial
Returns
MilestoneModifierInstance
<
DATA
>
set
Title
set
Title
(
initializer
:
(
(
defaultTitle
:
default
)
=>
default
)
)
:
MilestoneModifierInstance
<
DATA
>
Parameters
initializer:
(
(
defaultTitle
:
default
)
=>
default
)
(
defaultTitle
:
default
)
:
default
Parameters
defaultTitle:
default
Returns
default
Returns
MilestoneModifierInstance
<
DATA
>
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
Milestone
Modifier
Instance
constructor
args
id
options
random
player
add
Options
clear
Data
get
Data
get
Default
Title
get
Title
is
Enabled
For
Player
set
Data
set
Options
set
Title
Generated using
TypeDoc