X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/749c0fdf4e842bf552c4a1c2c86126bc3bc24325..50769b45008e7da2cce41d918ec2f0fd5204fe46:/projects/stargazer/user.h diff --git a/projects/stargazer/user.h b/projects/stargazer/user.h index 7a9896bf..8b35dbec 100644 --- a/projects/stargazer/user.h +++ b/projects/stargazer/user.h @@ -144,9 +144,9 @@ public: void ResetPassiveTime() { passiveTime = 0; } void SetPassiveTimeAsNewUser(); - void ResetDetailStat(); - int SwapDetailStat(); - int WriteDetailStat(); + /*void ResetDetailStat(); + int SwapDetailStat();*/ + int WriteDetailStat(bool hard = false); const TARIFF * GetTariff() const { return tariff; } void ResetNextTariff() { nextTariff = ""; } @@ -235,10 +235,13 @@ private: const TARIFFS * tariffs; const TARIFF * tariff; - map traffStatInternal[2]; + /*map traffStatInternal[2]; map * traffStat; map * traffStatToWrite; - int traffStatInUse; + int traffStatInUse;*/ + + TRAFF_STAT traffStat; + std::list > traffStatQueue; const SETTINGS * settings;