Skip to content
On this page

AthenaClient.systems.inventory.get

Type Aliases

ItemChangeCallback

Ƭ ItemChangeCallback: (items: player[]) => void

Type declaration

Usage

AthenaClient.systems.inventory.get.(items): void

Parameters
NameType
itemsplayer[]
Returns

void

Defined in

client/systems/inventory/get.ts:4


WeightChangeCallback

Ƭ WeightChangeCallback: (weight: number) => void

Type declaration

Usage

AthenaClient.systems.inventory.get.(weight): void

Parameters
NameType
weightnumber
Returns

void

Defined in

client/systems/inventory/get.ts:5

Functions

inventory

Usage

AthenaClient.systems.inventory.get.inventory(): player[]

A list of the current items in the inventory.

Export

Returns

player[]

Defined in

client/systems/inventory/get.ts:31


onInventoryChange

Usage

AthenaClient.systems.inventory.get.onInventoryChange(callback): void

Invoke the callback whenever inventory changes.

Export

Parameters

NameType
callbackItemChangeCallback

Returns

void

Defined in

client/systems/inventory/get.ts:51


onToolbarChange

Usage

AthenaClient.systems.inventory.get.onToolbarChange(callback): void

Invoke the callback whenever the toolbar changes.

Export

Parameters

NameType
callbackItemChangeCallback

Returns

void

Defined in

client/systems/inventory/get.ts:61


onTotalWeightChange

Usage

AthenaClient.systems.inventory.get.onTotalWeightChange(callback): void

Invoke the weight change whenever the total weight changes.

Export

Parameters

NameType
callbackWeightChangeCallback

Returns

void

Defined in

client/systems/inventory/get.ts:71


toolbar

Usage

AthenaClient.systems.inventory.get.toolbar(): player[]

A list of the current items in the toolbar.

Export

Returns

player[]

Defined in

client/systems/inventory/get.ts:21


totalWeight

Usage

AthenaClient.systems.inventory.get.totalWeight(): number

A list of the current total weight of inventory and toolbar.

Export

Returns

number

Defined in

client/systems/inventory/get.ts:41

Created by Stuyk | Est. 2020