flatbuffer base
This commit is contained in:
19
flatbuffers/control/lost.fbs
Normal file
19
flatbuffers/control/lost.fbs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace hmmmm.ctrl.lost;
|
||||
|
||||
// Client → Server: request buffered (undelivered) messages for a seat.
|
||||
table LostMessagesRequest {
|
||||
seat_id: uint64;
|
||||
clear: bool = false; // if true, drop the buffer after reading
|
||||
}
|
||||
|
||||
// One buffered message that was not delivered before the seat disconnected.
|
||||
table LostMessage {
|
||||
original_nonce: uint64;
|
||||
data: [ubyte]; // raw FlatBuffer bytes of the original ServerMessage
|
||||
}
|
||||
|
||||
// Server → Client: buffered messages for the requested seat.
|
||||
table LostMessagesResponse {
|
||||
seat_id: uint64;
|
||||
messages: [LostMessage];
|
||||
}
|
||||
Reference in New Issue
Block a user