X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/fc06430b05b154e0e859c6a436c1ffd74576a189..e483fbc3e51aca90ff4abc5347862173366c40ef:/include/stg/user_stat.h diff --git a/include/stg/user_stat.h b/include/stg/user_stat.h index 4c06155d..4cedb591 100644 --- a/include/stg/user_stat.h +++ b/include/stg/user_stat.h @@ -28,9 +28,11 @@ #define USER_STAT_H #include +#include #include +#include +#include -#include "os_int.h" #include "resetable.h" #include "user_traff.h" //----------------------------------------------------------------------------- @@ -140,6 +142,8 @@ struct USER_STAT //----------------------------------------------------------------------------- typedef std::map TRAFF_STAT; //----------------------------------------------------------------------------- +typedef std::pair CASH_INFO; +//----------------------------------------------------------------------------- struct USER_STAT_RES { USER_STAT_RES() @@ -186,6 +190,8 @@ struct USER_STAT_RES } RESETABLE cash; + RESETABLE cashAdd; + RESETABLE cashSet; RESETABLE freeMb; RESETABLE lastCashAdd; RESETABLE lastCashAddTime;