- summary: Announces that a dialog has closed, and which kind it was. Broadcast, not an acknowledgement.
- area: Game.Dialog
- confidence: 0.90
Announces that a dialog has closed, and which kind it was. Broadcast, not an acknowledgement.
- Kind event
- Area Game.Dialog
- Named by beta, gamemapping
IT IS A BROADCAST, NOT AN ACKNOWLEDGEMENT. It says "a dialog of this kind has
closed" - and the server sends it whether YOU closed the dialog or something
else did: you walked away, the NPC ended it, it timed out. Do not treat it as
the receipt for your DialogLeaveRequest.
READ THE TYPE AND DECIDE IF IT IS YOURS. One member, a DialogType. The real
client has six independent services listening to this one event, and each does
nothing unless the type is one of its own - the teleporter service ignores
everything but the teleporter value, the meeting service ignores everything but
its own. Copy that: match on the type, ignore the rest, and never assume the
event that just arrived belongs to the dialog you were in.
WHAT IT MEANS FOR YOUR STATE
THE DIALOG IS ALREADY GONE. This is not permission to close, it is notice that it is closed. Anything you were going to send into that dialog is now too late, and the server will refuse it.
ONE OF THE SERVICES SHUTS ITSELF DOWN when its type arrives, which is a good model: treat the matching type as "tear down whatever I was tracking for that dialog", not as "ask what happened".
IT IS UNCORRELATED. Envelope uid -1, matched by type, with nothing tying it to the request that may or may not have caused it.
THE SECOND DECLARED MEMBER IS PADDING. No dumped client has ever read it.
When you may send it
- Requires
context_readyobserved
Related messages
- Arrives after
DialogLeaveRequest
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | dialog_type | DialogType | Which kind of dialog closed. | never |
Recovered with score 240, confidence 0.90, margin 240 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: 1 of 1.
Aucun avis à afficher.