Renderer/assets/Scripts/client/client.ts
austin 94c19d7990
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
scripting work
2024-07-10 15:27:05 -04:00

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,
},
}