enum re
InventoryChangeKind
re.InventoryChangeKind
- 7 values
- base type byte
- 1 byte
The type of an inventory change in InventoryChanged and InventoryChangeRequested
Values
| Name | Value | Hex | Description | |
|---|---|---|---|---|
Transfer | 0 | 0x0 | An item moved between two inventories, by a move or a drop. The server checked that the source contains the item, so unlike client reports it can't be faked | |
Added | 1 | 0x1 | The client reports that the game added an item to the player's inventory. InventoryChanged also uses it for API adds to inventories that aren't a player's | |
Removed | 2 | 0x2 | The client reports that the game removed an item from the player's inventory. InventoryChanged also uses it for API removals from inventories that aren't a player's. Removals never wait for approval | |
Updated | 3 | 0x3 | The client reports that the game changed an item in the player's inventory, such as its stats, parts or modifiers | |
Initial | 4 | 0x4 | An item the player had when their inventory was first reported after joining | |
Claimed | 5 | 0x5 | An item from a container's loot roll or from a drop the game spawned, which became the entity's world inventory | |
Generated | 6 | 0x6 | The first stats the client generated for an item the server created from its record, for example with AddItem. Later changes are Updated. Rejecting it removes a unique item and resets a stack to its record's state |