Creates a new instance of InventoryTransaction.
The type of the inventory transaction.
The actions of the inventory transaction.
Optional
itemUse: null | ItemUseInventoryTransactionThe item use of the inventory transaction.
Optional
itemUseOnEntity: null | ItemUseOnEntityInventoryTransactionThe item use on entity of the inventory transaction.
Optional
itemRelease: null | ItemReleaseInventoryTransactionThe item release of the inventory transaction.
Readonly
actionsThe actions of the inventory transaction.
Readonly
itemThe item release of the inventory transaction.
Readonly
itemThe item use of the inventory transaction.
Readonly
itemThe item use on entity of the inventory transaction.
Readonly
typeThe type of the inventory transaction.
Static
readReads the data type from a binary stream.
The data type.
Static
writeWrites the data type to a binary stream.
Represents an inventory transaction.