Creates an instance of InventorySource.
The source type of the inventory action.
Optional
containerId: null | ContainerIdThe container id of the inventory source.
Optional
bitFlags: null | numberThe bit flags of the inventory source.
Readonly
bitThe bit flags of the inventory source. If the source type is not GlobalInteraction, then this value will not be present.
Readonly
containerThe container id of the inventory source. If the source type is not ContainerInventory, then this value will not be present.
Readonly
typeThe source type of the inventory action.
Static
readReads the data type from a binary stream.
The data type.
Static
writeWrites the data type to a binary stream.
Represents the source of an inventory action.