From e4483719d495ec7fca50ce0e39480d01d565f9de Mon Sep 17 00:00:00 2001 From: in1tiate <32779090+in1tiate@users.noreply.github.com> Date: Mon, 15 Mar 2021 17:56:42 -0500 Subject: Deprecate hardcoded string-based authentication, add AUTH packet (#489) Co-authored-by: oldmud0 --- include/aoapplication.h | 1 + include/courtroom.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/aoapplication.h b/include/aoapplication.h index 2dc8649..9fa8c75 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -87,6 +87,7 @@ public: bool effects_enabled = false; bool y_offset_enabled = false; bool expanded_desk_mods_enabled = false; + bool auth_packet_enabled = false; ///////////////loading info/////////////////// diff --git a/include/courtroom.h b/include/courtroom.h index 6a64deb..9766c7b 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -312,6 +312,8 @@ public: // Truncates text so it fits within theme-specified boundaries and sets the tooltip to the full string void truncate_label_text(QWidget* p_widget, QString p_identifier); + void on_authentication_state_received(int p_state); + ~Courtroom(); private: AOApplication *ao_app; -- cgit