← Type index

InventorySource

Object datagramWire order
0Source Typevaruint32 · variable (up to 5 bytes)
1Container IDint8 · 1 byte
2Bit Flagsvaruint32 · variable (up to 5 bytes)

Fields

3 top-level fields
  1. 0Source TypeThe inventory source type.CompressionEnum-as-ValueInventorySourceTypeas varuint32
    1. 0Container Inventory
    2. 1Global Inventory
    3. 2World Interaction
    4. 3Creative Inventory
    5. 4Non Implemented Feature TODO
  2. 1Container IDoptionalContainer window ID. Present only for ContainerInventory and NonImplementedFeatureTODO source types.Compressionint8
  3. 2Bit FlagsoptionalSource flags. Present only for WorldInteraction source type.CompressionEnum-as-ValueInventorySourceFlagsas varuint32
    1. 0No Flag
    2. 1World Interaction Random

Packet references

6 references
  1. InventoryTransactionPacket
    Transaction › InventoryMismatchData › InventoryMismatchData › Actions › InventoryTransaction › Actions › InventoryAction › Source › InventorySource
  2. InventoryTransactionPacket
    Transaction › ItemReleaseInventoryTransaction › ItemReleaseInventoryTransaction › Actions › InventoryTransaction › Actions › InventoryAction › Source › InventorySource
  3. InventoryTransactionPacket
    Transaction › ItemUseInventoryTransaction › ItemUseInventoryTransaction › Actions › InventoryTransaction › Actions › InventoryAction › Source › InventorySource
  4. InventoryTransactionPacket
    Transaction › ItemUseOnActorInventoryTransaction › ItemUseOnActorInventoryTransaction › Actions › InventoryTransaction › Actions › InventoryAction › Source › InventorySource
  5. InventoryTransactionPacket
    Transaction › NormalTransactionData › NormalTransactionData › Actions › InventoryTransaction › Actions › InventoryAction › Source › InventorySource
  6. PlayerAuthInputPacket
    Item Use Transaction › PackedItemUseLegacyInventoryTransaction › Item Use Transaction › ItemUseInventoryTransaction › Actions › InventoryTransaction › Actions › InventoryAction › Source › InventorySource

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.