Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
game/item/ItemFinder
default
Bus
Class Bus
Hierarchy
Host
<
IBusEvents
>
Bus
Index
Constructors
constructor
Properties
event
Accessors
human
Methods
deregister
dispose
on
Container
Item
Add
on
Container
Item
Remove
on
Item
State
Change
on
Player
Event
register
compute
get
Constructors
constructor
new
Bus
(
human
:
default
<
unknown
,
number
,
NPC
|
Player
>
)
:
Bus
Parameters
human:
default
<
unknown
,
number
,
NPC
|
Player
>
Returns
Bus
Properties
Readonly
event
event
:
IEventEmitter
<
Bus
,
IBusEvents
>
Accessors
human
get
human
(
)
:
undefined
|
default
<
unknown
,
number
,
NPC
|
Player
>
Returns
undefined
|
default
<
unknown
,
number
,
NPC
|
Player
>
Methods
deregister
deregister
(
finder
:
default
)
:
void
Parameters
finder:
default
Returns
void
dispose
dispose
(
)
:
void
Returns
void
Protected
on
Container
Item
Add
on
Container
Item
Add
(
items
:
default
, itemsAdded
:
default
[]
, containerAddedTo
:
IContainer
)
:
void
Parameters
items:
default
itemsAdded:
default
[]
containerAddedTo:
IContainer
Returns
void
Protected
on
Container
Item
Remove
on
Container
Item
Remove
(
items
:
default
, itemsRemoved
:
default
[]
, containerRemovedFrom
?:
IContainer
)
:
void
Parameters
items:
default
itemsRemoved:
default
[]
Optional
containerRemovedFrom:
IContainer
Returns
void
Protected
on
Item
State
Change
on
Item
State
Change
(
item
:
default
)
:
void
Parameters
item:
default
Returns
void
Protected
on
Player
Event
on
Player
Event
(
player
:
default
)
:
void
Parameters
player:
default
Returns
void
register
register
(
finder
:
default
)
:
void
Parameters
finder:
default
Returns
void
Static
compute
compute
(
human
:
default
<
unknown
,
number
,
NPC
|
Player
>
)
:
Bus
Parameters
human:
default
<
unknown
,
number
,
NPC
|
Player
>
Returns
Bus
Static
get
get
(
human
?:
default
<
unknown
,
number
,
NPC
|
Player
>
)
:
undefined
|
Bus
Parameters
Optional
human:
default
<
unknown
,
number
,
NPC
|
Player
>
Returns
undefined
|
Bus
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
Bus
constructor
event
human
deregister
dispose
on
Container
Item
Add
on
Container
Item
Remove
on
Item
State
Change
on
Player
Event
register
compute
get
Generated using
TypeDoc