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/GameplayModifiersManager
GameplayModifiersCollection
Class GameplayModifiersCollection<MODIFIER, ID, INSTANCE, INSTANCE_ARGS>
Type Parameters
MODIFIER
extends
default
<
number
,
GameplayModifierInstance
<
number
,
any
[]
>
,
any
[]
>
ID
extends
GetModifierId
<
MODIFIER
>
=
GetModifierId
<
MODIFIER
>
INSTANCE
extends
GetModifierInstance
<
MODIFIER
>
=
GetModifierInstance
<
MODIFIER
>
INSTANCE_ARGS
extends
GetModifierInstanceArgs
<
MODIFIER
>
=
GetModifierInstanceArgs
<
MODIFIER
>
Hierarchy
Host
<
IGameplayModifiersCollectionEvents
>
GameplayModifiersCollection
ChallengeModifiersCollection
IslandModifiersCollection
Index
Constructors
constructor
Properties
args
event
initialized
Modifiers
manager
Methods
has
Any
initialize
initialized
options
uninitialize
Constructors
constructor
new
Gameplay
Modifiers
Collection
<
MODIFIER
,
ID
,
INSTANCE
,
INSTANCE_ARGS
>
(
manager
:
default
<
MODIFIER
,
GetModifierId
<
MODIFIER
>
,
GetModifierInstanceArgs
<
MODIFIER
>
>
,
...
args
:
INSTANCE_ARGS
)
:
GameplayModifiersCollection
<
MODIFIER
,
ID
,
INSTANCE
,
INSTANCE_ARGS
>
Type Parameters
MODIFIER
extends
default
<
number
,
GameplayModifierInstance
<
number
,
any
[]
,
any
>
,
any
[]
,
MODIFIER
>
ID
extends
number
=
GetModifierId
<
MODIFIER
>
INSTANCE
extends
GameplayModifierInstance
<
number
,
any
[]
,
any
,
INSTANCE
>
=
GetModifierInstance
<
MODIFIER
>
INSTANCE_ARGS
extends
any
[]
=
GetModifierInstanceArgs
<
MODIFIER
>
Parameters
manager:
default
<
MODIFIER
,
GetModifierId
<
MODIFIER
>
,
GetModifierInstanceArgs
<
MODIFIER
>
>
Rest
...
args:
INSTANCE_ARGS
Returns
GameplayModifiersCollection
<
MODIFIER
,
ID
,
INSTANCE
,
INSTANCE_ARGS
>
Properties
Protected
Readonly
args
args
:
INSTANCE_ARGS
Readonly
event
event
:
IEventEmitter
<
GameplayModifiersCollection
<
MODIFIER
,
ID
,
INSTANCE
,
INSTANCE_ARGS
>
,
IGameplayModifiersCollectionEvents
>
Readonly
initialized
Modifiers
initialized
Modifiers
:
Map
<
ID
,
INSTANCE
>
= ...
Protected
Readonly
manager
manager
:
default
<
MODIFIER
,
GetModifierId
<
MODIFIER
>
,
GetModifierInstanceArgs
<
MODIFIER
>
>
Methods
has
Any
has
Any
(
)
:
boolean
Returns
boolean
initialize
initialize
(
source
:
StringableObject
, ids
:
Iterable
<
ID
>
, uninitializeExisting
?:
boolean
)
:
INSTANCE
[]
Parameters
source:
StringableObject
ids:
Iterable
<
ID
>
uninitializeExisting:
boolean
= true
Returns
INSTANCE
[]
initialized
initialized
(
)
:
IteratorObject
<
ID
>
Returns
IteratorObject
<
ID
>
options
options
(
)
:
Stream
<
IGameOptionsPartial
>
Returns
Stream
<
IGameOptionsPartial
>
uninitialize
uninitialize
(
source
:
StringableObject
)
:
void
Parameters
source:
StringableObject
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
Gameplay
Modifiers
Collection
constructor
args
event
initialized
Modifiers
manager
has
Any
initialize
initialized
options
uninitialize
Generated using
TypeDoc