- summary: One scenery object whose visual state the server drives: a door, a lever, a gate, a harvested stump.
- area: Game.Interactive
- confidence: 0.95
One scenery object whose visual state the server drives: a door, a lever, a gate, a harvested stump.
- Kind struct
- Area Game.Interactive
- Named by beta
A map object whose STATE the server owns. Where InteractiveElement says what
you may do with an object, this says what it currently looks like: open or
closed, full or harvested.
state IS AN OPAQUE PER-ELEMENT VALUE, NOT A SHARED ENUM. The client feeds it
straight to its animation layer; what state 2 means depends entirely on the
element type. Compare it against the previous value for the same element rather
than assigning meanings to numbers.
element_id is the SAME id as InteractiveElement.element_id and
InteractiveUsedEvent.element_id. That is what makes the two element families
join: the interactive record tells you a node is harvestable, this one tells you
it is currently full.
cell_id is a single map cell index. A DOFUS map has 560 cells, which is why
the client can safely narrow this value to 16 bits.
on_current_map FALSE MEANS DROP IT, as with interactive elements.
Not sent on its own — it travels inside the stated snapshot or update events. inferred
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | on_current_map | bool | Whether the element belongs to the map the character is standing on. | never |
| 2 | state | int32 | The visual state the server is putting the element into. Opaque and per-element-type: open/closed, full/harvested and so on. The client passes it straight to its animation layer. | never |
| 3 | element_id | int32 | Identity of the stated element, shared with the interactive element of the same object. (interactive element id) | never |
| 4 | cell_id | int32 | The map cell the element stands on. (map cell id) Range: 0-559 on a standard map | never |
Recovered with score 100, confidence 0.95, margin 100 over the runner-up. A margin close to the score means nothing else came near; a thin margin means a decoy nearly won. Members recovered: 4 of 4.
Aucun avis à afficher.