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