]> git.stg.codes - stg.git/blob - projects/stargazer/user_property.cpp
Removed some unused stuff from netunit.cpp.
[stg.git] / projects / stargazer / user_property.cpp
1 #include "stg/user_property.h"
2
3 USER_PROPERTIES::USER_PROPERTIES(const std::string & sd)
4     : stat(),
5       conf(),
6       cash            (stat.cash,             "cash",             false, true, GetStgLogger(), sd, properties),
7       up              (stat.monthUp,          "upload",           false, true, GetStgLogger(), sd, properties),
8       down            (stat.monthDown,        "download",         false, true, GetStgLogger(), sd, properties),
9       lastCashAdd     (stat.lastCashAdd,      "lastCashAdd",      false, true, GetStgLogger(), sd, properties),
10       passiveTime     (stat.passiveTime,      "passiveTime",      false, true, GetStgLogger(), sd, properties),
11       lastCashAddTime (stat.lastCashAddTime,  "lastCashAddTime",  false, true, GetStgLogger(), sd, properties),
12       freeMb          (stat.freeMb,           "freeMb",           false, true, GetStgLogger(), sd, properties),
13       lastActivityTime(stat.lastActivityTime, "lastActivityTime", false, true, GetStgLogger(), sd, properties),
14
15       password    (conf.password,     "password",     true,  false, GetStgLogger(), sd, properties),
16       passive     (conf.passive,      "passive",      false, false, GetStgLogger(), sd, properties),
17       disabled    (conf.disabled,     "disabled",     false, false, GetStgLogger(), sd, properties),
18       disabledDetailStat(conf.disabledDetailStat, "DisabledDetailStat", false, false, GetStgLogger(), sd, properties),
19       alwaysOnline(conf.alwaysOnline, "alwaysOnline", false, false, GetStgLogger(), sd, properties),
20       tariffName  (conf.tariffName,   "tariffName",   false, false, GetStgLogger(), sd, properties),
21       nextTariff  (conf.nextTariff,   "nextTariff",   false, false, GetStgLogger(), sd, properties),
22       address     (conf.address,      "address",      false, false, GetStgLogger(), sd, properties),
23       note        (conf.note,         "note",         false, false, GetStgLogger(), sd, properties),
24       group       (conf.group,        "group",        false, false, GetStgLogger(), sd, properties),
25       email       (conf.email,        "email",        false, false, GetStgLogger(), sd, properties),
26       phone       (conf.phone,        "phone",        false, false, GetStgLogger(), sd, properties),
27       realName    (conf.realName,     "realName",     false, false, GetStgLogger(), sd, properties),
28       credit      (conf.credit,       "credit",       false, false, GetStgLogger(), sd, properties),
29       creditExpire(conf.creditExpire, "creditExpire", false, false, GetStgLogger(), sd, properties),
30       ips         (conf.ips,          "ips",          false, false, GetStgLogger(), sd, properties),
31       userdata0   (conf.userdata[0],  "userdata0",    false, false, GetStgLogger(), sd, properties),
32       userdata1   (conf.userdata[1],  "userdata1",    false, false, GetStgLogger(), sd, properties),
33       userdata2   (conf.userdata[2],  "userdata2",    false, false, GetStgLogger(), sd, properties),
34       userdata3   (conf.userdata[3],  "userdata3",    false, false, GetStgLogger(), sd, properties),
35       userdata4   (conf.userdata[4],  "userdata4",    false, false, GetStgLogger(), sd, properties),
36       userdata5   (conf.userdata[5],  "userdata5",    false, false, GetStgLogger(), sd, properties),
37       userdata6   (conf.userdata[6],  "userdata6",    false, false, GetStgLogger(), sd, properties),
38       userdata7   (conf.userdata[7],  "userdata7",    false, false, GetStgLogger(), sd, properties),
39       userdata8   (conf.userdata[8],  "userdata8",    false, false, GetStgLogger(), sd, properties),
40       userdata9   (conf.userdata[9],  "userdata9",    false, false, GetStgLogger(), sd, properties)
41 {}