]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/servconf.h
Add subscription for 'connected' property
[stg.git] / stglibs / srvconf.lib / servconf.h
index 9edbe6dd0016127a383b337597bebd7014834b6e..a58d2952a6fdeb6ea811bd9eacd3b4d65cd09154 100644 (file)
@@ -72,6 +72,7 @@ struct USERDATA
     std::string     password;
     double          cash;
     double          credit;
+    time_t          creditExpire;
     double          lastCash;
     double          prepaidTraff;
     int             down;
@@ -203,7 +204,6 @@ private:
 
     RecvServerInfoDataCb_t RecvServerInfoDataCb;
     void * serverInfoDataCb;
-    USERDATA user;
     int depth;
     bool error;
     SERVERINFO serverInfo;
@@ -267,7 +267,6 @@ private:
 
     NETTRANSACT nt;
     int parseDepth;
-    USERDATA ud;
 
     std::string errorMsg;
     int error;