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
readRead a value from the stream.
The BinaryStream to read from.
The value read from the stream.
Static
writeWrite a value to the stream.
The BinaryStream to write to.
The value to write.
Represents an inventory transaction.