- summary: The full state of one running treasure hunt: start map, known steps, flags, tries left.
- area: Game.Treasure.Hunt
The full state of one running treasure hunt: start map, known steps, flags, tries left.
Kind event · Area Game.Treasure.Hunt
Replaces everything you know about the hunt of kind quest_type.
WHAT TO READ
1. quest_type (TreasureHuntType) and start_map_id: where the hunt begins.
2. known_steps (TreasureHuntEvent.TreasureHuntStep): the hints revealed so far, in
order. Each is a direction to follow (to a point of interest, to an NPC hint, or for a
number of maps), a fight, or the final dig.
3. flags (TreasureHuntEvent.TreasureHuntFlag): the flags you placed, one per step.
4. available_retry_count: tries left; -1 means unlimited.
5. portal (TreasureHuntEvent.TreasureHuntPortalInfo): set for a hunt reached
through a portal.
Three int32 members are not named: the official client shows two of them as "step {current + 1}/{total}" (current and total check points) and uses the third when it builds the step list.
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this inferred — the server sends it when a hunt starts and after every validated step or flag change
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | flags | repeated TreasureHuntFlag | The flags you placed. Element type TreasureHuntEvent.TreasureHuntFlag. | never |
| 3 | known_steps | repeated TreasureHuntStep | The steps revealed so far, in order. Element type TreasureHuntEvent.TreasureHuntStep. | never |
| 5 | quest_type | TreasureHuntType | Which kind of hunt this is. A TreasureHuntType. | never |
| 6 | portal | TreasureHuntPortalInfo | Portal details, for a hunt reached through a portal. A TreasureHuntEvent.TreasureHuntPortalInfo; the client reads the portal kind from it. | never |
| 8 | available_retry_count | int32 | Tries left; -1 means unlimited. (count) | never |
| 9 | start_map_id | int64 | The map the hunt starts from. (map id) | never |