- RESETABLE<double> cash;
- RESETABLE<double> freeMb;
- RESETABLE<double> lastCashAdd;
- RESETABLE<time_t> lastCashAddTime;
- RESETABLE<time_t> passiveTime;
- RESETABLE<time_t> lastActivityTime;
- DIR_TRAFF_RES up;
- DIR_TRAFF_RES down;
+ UserStatOpt(const UserStatOpt&) = default;
+ UserStatOpt& operator=(const UserStatOpt&) = default;
+ UserStatOpt(UserStatOpt&&) = default;
+ UserStatOpt& operator=(UserStatOpt&&) = default;
+
+ Optional<double> cash;
+ Optional<CashInfo> cashAdd;
+ Optional<CashInfo> cashSet;
+ Optional<double> freeMb;
+ Optional<double> lastCashAdd;
+ Optional<time_t> lastCashAddTime;
+ Optional<time_t> passiveTime;
+ Optional<time_t> lastActivityTime;
+ DirTraffOpt sessionUp;
+ DirTraffOpt sessionDown;
+ DirTraffOpt monthUp;
+ DirTraffOpt monthDown;