+ private:
+ bool UserPredicate(STG::User* userPtr) const override
+ { return userPtr->GetProperties().alwaysOnline; }
+};
+
+class NoCashUsersSensor : public UsersSensor {
+ public:
+ explicit NoCashUsersSensor(STG::Users & u) : UsersSensor(u) {}
+
+ private:
+ bool UserPredicate(STG::User* userPtr) const override
+ { return userPtr->GetProperties().cash < 0; }
+};
+
+class DisabledDetailStatsUsersSensor : public UsersSensor {
+ public:
+ explicit DisabledDetailStatsUsersSensor(STG::Users & u) : UsersSensor(u) {}