Add a wrapper.

Took 35 minutes
This commit is contained in:
Lukas Brübach 2025-10-04 23:49:11 +02:00
parent e5f23f1906
commit 1d1de904e0
164 changed files with 25 additions and 34 deletions

View file

@ -1,16 +0,0 @@
syntax = "proto2";
/*
* Chat communication of a user to a target.
* Targets can be users or rooms.
* These communications are also stored in the DB log table.
*/
message ServerInfo_ChatMessage {
optional string time = 1; // time chat was sent
optional string sender_id = 2; // id of sender
optional string sender_name = 3; // name of sender
optional string sender_ip = 4; // ip of sender
optional string message = 5; // message
optional string target_type = 6; // target type (room,game,chat)
optional string target_id = 7; // id of target
optional string target_name = 8; // name of target
}