]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_property.h
Исправлена тупая и уже успевшая запарить ошибка (опечатка) выражающаяся в создании...
[stg.git] / projects / stargazer / user_property.h
index 5a8856d08f9490376c310a348e693662e4672de4..57e11a490cf82d764d4a7c0ee6015a6bb0ad72f4 100644 (file)
@@ -131,6 +131,14 @@ private:
 
 public:
     USER_PROPERTIES(const SETTINGS * settings);
+
+    const USER_STAT & GetStat() const { return stat; }
+    const USER_CONF & GetConf() const { return conf; }
+    void SetStat(const USER_STAT & s) { stat = s; }
+    void SetConf(const USER_CONF & c) { conf = c; }
+
+    void SetProperties(const USER_PROPERTIES & p) { stat = p.stat; conf = p.conf; }
+
     USER_PROPERTY_LOGGED<double>            cash;
     USER_PROPERTY_LOGGED<DIR_TRAFF>         up;
     USER_PROPERTY_LOGGED<DIR_TRAFF>         down;