diff options
| author | Cerapter <cerap@protonmail.com> | 2018-10-23 14:54:36 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-10-23 14:54:36 +0200 |
| commit | 660daf9922e68eb5f5f6bb00eb3bc51d0c460de7 (patch) | |
| tree | 134107d282d29c337e4ab910f4b77f00f5b97d6e /aoapplication.h | |
| parent | 3844827724f5a65fff87ce861700471283317e47 (diff) | |
Client can now accept case alerts.
- Settings has a new tab with casing settings.
- Can set when the game should alert of cases.
- In game tickbox to toggle if you should be alerted of cases.
Diffstat (limited to 'aoapplication.h')
| -rw-r--r-- | aoapplication.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/aoapplication.h b/aoapplication.h index aa34f13e..e106bcc7 100644 --- a/aoapplication.h +++ b/aoapplication.h @@ -71,6 +71,7 @@ public: bool evidence_enabled = false; bool cccc_ic_support_enabled = false; bool arup_enabled = false; + bool casing_alerts_enabled = false; bool modcall_reason_enabled = false; ///////////////loading info/////////////////// @@ -267,6 +268,31 @@ public: //Returns p_char's gender QString get_gender(QString p_char); + // ====== + // These are all casing-related settings. + // ====== + + // Returns if the user has casing alerts enabled. + bool get_casing_enabled(); + + // Returns if the user wants to get alerts for the defence role. + bool get_casing_defence_enabled(); + + // Same for prosecution. + bool get_casing_prosecution_enabled(); + + // Same for judge. + bool get_casing_judge_enabled(); + + // Same for juror. + bool get_casing_juror_enabled(); + + // Same for CM. + bool get_casing_cm_enabled(); + + // Get the message for the CM for casing alerts. + QString get_casing_can_host_cases(); + private: const int RELEASE = 2; const int MAJOR_VERSION = 4; |
