Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
31 lines
711 B
TypeScript
31 lines
711 B
TypeScript
|
|
|
|
/**
|
|
* Called every time an item is moved to a container
|
|
*/
|
|
export const onMoveItemContainer: Array<Function> = [ ]
|
|
|
|
/**
|
|
* Called every time an item is equipped
|
|
*/
|
|
export const onEquipItem: Array<Function> = [ ]
|
|
|
|
/**
|
|
* Called every time an item is unequipped
|
|
*/
|
|
export const onUnequipItem: Array<Function> = [ ]
|
|
|
|
/**
|
|
* Called every time the server commands the client to move items to another container
|
|
*/
|
|
export const onServerMoveItemContainer: Array<Function> = [ ]
|
|
|
|
/**
|
|
* Callbacks that fire every time the player's entity does specific actions
|
|
*/
|
|
export interface ClientInventory {
|
|
onMoveItemContainer: Array<Function>,
|
|
onEquipItem: Array<Function>,
|
|
onUnequipItem: Array<Function>,
|
|
}
|