OverviewPacketsInteract
ID 0x21 · 33Client → ServerPlayer
Interact
Used for inventory button press and in _updateInteraction() for a variety of purposes. From the client.
interact.bin
struct Interact {
Action Action;
ActorRuntimeID TargetId;
optional byte + Vec3 Pos;
}Structure
| Field | Type | Description |
|---|---|---|
| Action | Action | |
| Target Id | ActorRuntimeID | |
| Pos | optional byte + Vec3 | Presence flag on the wire; value omitted when absent. |
Structure of Vec3
| Field | Type | Description |
|---|---|---|
| X | float32 (LE) | |
| Y | float32 (LE) | |
| Z | float32 (LE) |
Notes
- No special notes.
