TT Client Library 1.0.0
C++ library for Tandem Tales clients.
Loading...
Searching...
No Matches
End.h
1#pragma once
2
3#include <tt/io/Message.h>
4#include <string>
5
6#ifndef END_H
7#define END_H
8
9namespace tt {
18 class End : public Message {
19 public:
21 std::string session;
22
23 End() {};
24
25 std::string toString() const override;
26
27 std::string type() const override {
28 return "End";
29 }
30 };
31
32 void from_json(const nlohmann::json& j, End& msg);
33 void to_json(nlohmann::json& j, const End& msg);
34}
35
36#endif
std::string type() const override
Type used for JSON deserialization.
Definition End.h:27
std::string session
The ID of the session, or empty if the session was not logged.
Definition End.h:21
std::string toString() const override
Returns a string representation of this object.
Definition End.cpp:5
Message()
Constructs a message.
Definition Message.h:32
Tandem Tales is a platform that enables short, paired storytelling exercises between two agents over ...
Definition Client.h:22