Cockatrice/libcockatrice_protocol/libcockatrice/protocol/pb/serverinfo_report.proto
BruebachL 74a6acde91
[Report] Surface resolution audit info in report details (#7443)
- Add resolved_by_name to ServerInfo_Report and join resolved_by users in
  the report list, my-list and details queries
- Render resolution note and resolved-at/by in the report detail pane
  instead of duplicating the description into the chat log context

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-10-11 15:29:09 +02:00

37 lines
859 B
Protocol Buffer

syntax = "proto2";
message ServerInfo_ReportComment {
optional string author_name = 1;
optional string comment_text = 2;
optional int64 comment_time = 3;
optional bool is_moderator = 4;
}
message ServerInfo_Report {
optional int32 report_id = 1;
optional string reporter_name = 2;
optional string reported_user_name = 3;
optional int32 game_id = 4;
optional int32 replay_id = 5;
optional int32 room_id = 6;
optional string category = 7;
optional string status = 8;
optional string description = 9;
optional int64 report_time = 10;
optional string assigned_mod_name = 11;
optional int64 resolution_time = 12;
repeated ServerInfo_ReportComment comments = 13;
optional string chat_log = 14;
optional string resolution_note = 15;
optional string resolved_by_name = 16;
}