Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
game/item/IItem
IContainer
Interface IContainer
Hierarchy
IUncastableContainer
ICastable
IContainer
Implemented by
WorldContainer
default
Index
Properties
[SYMBOL_
CONTAINER_
CACHED_
REFERENCE]?
add
Order?
contained
Items
contained
Within?
container
Type?
sort?
sort
Direction?
stacks?
transient
Items?
Accessors
as
Container
as
Corpse
as
Creature
as
Doodad
as
Entity
as
Human
as
Item
as
Local
Player
asNPC
as
Player
as
Tile
as
Tile
Event
as
Union
is
Local
Player
island
Methods
is
Container
is
Corpse
is
Creature
is
Doodad
is
Entity
is
Human
is
Item
isNPC
is
Player
is
Tile
is
Tile
Event
Properties
Optional
[SYMBOL_
CONTAINER_
CACHED_
REFERENCE]
[SYMBOL_
CONTAINER_
CACHED_
REFERENCE]
?:
ContainerReference
Optional
add
Order
add
Order
?:
number
[]
contained
Items
contained
Items
:
default
[]
Optional
contained
Within
contained
Within
?:
IContainer
Optional
container
Type
container
Type
?:
ContainerType
Optional
sort
sort
?:
ContainerSort
Optional
sort
Direction
sort
Direction
?:
SortDirection
When not provided, uses SortDirection.Ascending
Optional
stacks
stacks
?:
Set
<
ItemType
>
Optional
transient
Items
transient
Items
?:
default
[]
Accessors
as
Container
get
asContainer
(
)
:
undefined
|
this
&
IUncastableContainer
Returns
undefined
|
this
&
IUncastableContainer
as
Corpse
get
asCorpse
(
)
:
undefined
|
default
Returns
undefined
|
default
as
Creature
get
asCreature
(
)
:
undefined
|
default
Returns
undefined
|
default
as
Doodad
get
asDoodad
(
)
:
undefined
|
default
Returns
undefined
|
default
as
Entity
get
asEntity
(
)
:
undefined
|
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
Returns
undefined
|
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
as
Human
get
asHuman
(
)
:
undefined
|
default
<
unknown
,
number
,
NPC
|
Player
>
Returns
undefined
|
default
<
unknown
,
number
,
NPC
|
Player
>
as
Item
get
asItem
(
)
:
undefined
|
default
Returns
undefined
|
default
as
Local
Player
get
asLocalPlayer
(
)
:
undefined
|
default
Returns
undefined
|
default
asNPC
get
asNPC
(
)
:
undefined
|
default
Returns
undefined
|
default
as
Player
get
asPlayer
(
)
:
undefined
|
default
Returns
undefined
|
default
as
Tile
get
asTile
(
)
:
undefined
|
default
Returns
undefined
|
default
as
Tile
Event
get
asTileEvent
(
)
:
undefined
|
default
Returns
undefined
|
default
as
Union
get
asUnion
(
)
:
undefined
|
default
|
default
|
default
|
default
|
default
<
unknown
,
number
,
NPC
|
Player
>
|
default
|
default
|
default
|
default
Returns
undefined
|
default
|
default
|
default
|
default
|
default
<
unknown
,
number
,
NPC
|
Player
>
|
default
|
default
|
default
|
default
is
Local
Player
get
isLocalPlayer
(
)
:
boolean
Returns
boolean
island
get
island
(
)
:
default
Returns
default
Methods
is
Container
is
Container
(
)
:
this
is
IUncastableContainer
Returns
this
is
IUncastableContainer
is
Corpse
is
Corpse
(
)
:
this
is
default
Returns
this
is
default
is
Creature
is
Creature
(
)
:
this
is
default
Returns
this
is
default
is
Doodad
is
Doodad
(
)
:
this
is
default
Returns
this
is
default
is
Entity
is
Entity
(
)
:
this
is
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
Returns
this
is
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
is
Human
is
Human
(
)
:
this
is
default
<
unknown
,
number
,
NPC
|
Player
>
Returns
this
is
default
<
unknown
,
number
,
NPC
|
Player
>
is
Item
is
Item
(
)
:
this
is
default
Returns
this
is
default
isNPC
isNPC
(
)
:
this
is
default
Returns
this
is
default
is
Player
is
Player
(
)
:
this
is
default
Returns
this
is
default
is
Tile
is
Tile
(
)
:
this
is
default
Returns
this
is
default
is
Tile
Event
is
Tile
Event
(
)
:
this
is
default
Returns
this
is
default
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
IContainer
[SYMBOL_
CONTAINER_
CACHED_
REFERENCE]?
add
Order?
contained
Items
contained
Within?
container
Type?
sort?
sort
Direction?
stacks?
transient
Items?
as
Container
as
Corpse
as
Creature
as
Doodad
as
Entity
as
Human
as
Item
as
Local
Player
asNPC
as
Player
as
Tile
as
Tile
Event
as
Union
is
Local
Player
island
is
Container
is
Corpse
is
Creature
is
Doodad
is
Entity
is
Human
is
Item
isNPC
is
Player
is
Tile
is
Tile
Event
Generated using
TypeDoc
When not provided, uses SortDirection.Ascending