OverviewPacketsModalFormResponse
ID 0x65 · 101Client → ServerUI
ModalFormResponse
Client's answer to a ModalFormRequest: form id plus button index, toggle/float/slider values or raw input JSON.
modal-form-response.bin
struct ModalFormResponse {
varuint32 FormId;
optional byte + string JsonResponse;
optional byte + ModalFormCancelReason FormCancelReason;
}Structure
| Field | Type | Description |
|---|---|---|
| Form Id | varuint32 | |
| Json Response | optional byte + string | Presence flag on the wire; value omitted when absent. |
| Form Cancel Reason | optional byte + ModalFormCancelReason | Presence flag on the wire; value omitted when absent. |
Notes
- A cancel flag (0x01) instead of a response payload means the form was closed.
