SOLA
Loading...
Searching...
No Matches
message_logging.h
1// Copyright The SOLA Contributors
2//
3// Licensed under the MIT License.
4// For details on the licensing terms, see the LICENSE file.
5// SPDX-License-Identifier: MIT
6
7#ifndef MINHTON_MESSAGE_MESSAGE_LOGGING_H_
8#define MINHTON_MESSAGE_MESSAGE_LOGGING_H_
9
10#include <cstdint>
11#include <string>
12
14 std::string primary_other_uuid;
15 std::string secondary_other_uuid;
16 std::string content;
17};
18
19template <class Archive> void serialize(Archive &archive, MessageLoggingAdditionalInfo &m) {
20 archive(m.primary_other_uuid, m.secondary_other_uuid, m.content);
21}
22
24 int cmd_type = -1;
25 int mode = -1;
26 uint64_t event_id = 0;
27 uint64_t ref_event_id = 0;
28 std::string sender_uuid;
29 std::string target_uuid;
30 MessageLoggingAdditionalInfo additional_info = {};
31};
32
33#endif
Definition message_logging.h:13
Definition message_logging.h:23