Feedback

Description

Feedback of server to some message of client

Notes

Seems to have many different uses

Type Code

100

Version

29

Payload Structure

struct
{
    uint16 type;
    uint16 show;
    union
    {
        string        message;
        TypeSpecificContentStruct content;
    };
};

Payload Fields Description

type

Type of feedback which is usually type code of the message to which this feedback is response

show

(?) If 1, tells client to show the message field to user

message

Text message of feedback
(?) An error message to be shown to user if «show» is 1

content

For some feedback types, the feedback content is not a simple string, but a type-specific structure.
Content structure for type 0xABCD is define below as «struct Feedback_ABCD»:

struct Feedback_FED2
{
    uint32 room_id;
    uint16 one = 1;
    string room_name;
};

Feedback_FED2::room_id

Numeric id of the room

Feedback_FED2::one

(?) Always one

Feedback_FED2::room_name

Human-readable name of the room

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License