Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
24 lines
397 B
TypeScript
24 lines
397 B
TypeScript
import { Entity } from "/Scripts/types/host/entity/entity"
|
|
|
|
|
|
/**
|
|
* A type of entity
|
|
*/
|
|
export type Item = Entity
|
|
|
|
export interface Inventory {
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
* Fires any time an item changes containers
|
|
*/
|
|
export const SIGNAL_MOVE_ITEM: string = "moveItem"
|
|
|
|
/**
|
|
* A callback that fires when an item is moved from one container to another
|
|
*/
|
|
export type MoveItemCallback = (item: Item) => void
|
|
|