implement BB encryption in --cat-client

This commit is contained in:
Martin Michelsen
2022-09-02 17:29:19 -07:00
parent 01e4518c8e
commit 3a7c3c0fe9
3 changed files with 28 additions and 12 deletions
+3 -1
View File
@@ -23,12 +23,14 @@ public:
CatSession(
std::shared_ptr<struct event_base> base,
const struct sockaddr_storage& remote,
GameVersion version);
GameVersion version,
std::shared_ptr<const PSOBBEncryption::KeyFile> bb_key_file);
virtual ~CatSession() = default;
protected:
PrefixedLogger log;
Channel channel;
std::shared_ptr<const PSOBBEncryption::KeyFile> bb_key_file;
virtual void print_prompt();
virtual void execute_command(const std::string& command);