Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
23 lines
569 B
TypeScript
23 lines
569 B
TypeScript
import { ClientInventory, onEquipItem, onMoveItemContainer, onUnequipItem } from "/Scripts/client/entity/inventory";
|
|
import { Namespace } from "/Scripts/types/namespace";
|
|
|
|
|
|
/**
|
|
* The client namespace type
|
|
*/
|
|
export interface NamespaceClient extends Namespace {
|
|
inventory: ClientInventory,
|
|
}
|
|
|
|
/**
|
|
* The client namespace (should contain all client callbacks, data, etc)
|
|
*/
|
|
export const Client: NamespaceClient = {
|
|
inventory: {
|
|
onMoveItemContainer: onMoveItemContainer,
|
|
onEquipItem: onEquipItem,
|
|
onUnequipItem: onUnequipItem,
|
|
},
|
|
}
|
|
|