Skip to content
On this page

Athena.systems.inventory.events

Modules

Functions

invoke

Usage

Athena.systems.inventory.events.invoke<K>(player, event, ...args): void

Invoke an inventory event.

Export

Type parameters

NameType
Kextends "onDrop"

Parameters

NameType
playerPlayer
eventK
...argsInventoryEventTriggers[K]

Returns

void

Defined in

server/systems/inventory/events.ts:35


on

Usage

Athena.systems.inventory.events.on<K>(event, callback): void

Listen for an invoked inventory event.

Export

Type parameters

NameType
Kextends "onDrop"

Parameters

NameType
eventK
callbackInventoryEventCallbacks[K]

Returns

void

Defined in

server/systems/inventory/events.ts:57

Created by Stuyk | Est. 2020