X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c5450b63e1d53fcc57b7375de0fe704a517f150d..e483fbc3e51aca90ff4abc5347862173366c40ef:/include/stg/user_stat.h?ds=sidebyside 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;