- depth(0)
-{
- addParser(propertyParsers, "login", info.login);
- addParser(propertyParsers, "password", info.password);
- addParser(propertyParsers, "cash", info.cash);
- addParser(propertyParsers, "credit", info.credit);
- addParser(propertyParsers, "creditExpire", info.creditExpire);
- addParser(propertyParsers, "lastCash", info.lastCash);
- addParser(propertyParsers, "prepaidTraff", info.prepaidTraff);
- addParser(propertyParsers, "down", info.down);
- addParser(propertyParsers, "passive", info.passive);
- addParser(propertyParsers, "disableDetailStat", info.disableDetailStat);
- addParser(propertyParsers, "connected", info.connected);
- addParser(propertyParsers, "alwaysOnline", info.alwaysOnline);
- addParser(propertyParsers, "ip", info.ip);
- addParser(propertyParsers, "ips", info.ips);
- addParser(propertyParsers, "tariff", info.tariff);
- addParser(propertyParsers, "group", info.group, true);
- addParser(propertyParsers, "note", info.note, true);
- addParser(propertyParsers, "email", info.email, true);
- addParser(propertyParsers, "name", info.name, true);
- addParser(propertyParsers, "address", info.address, true);
- addParser(propertyParsers, "phone", info.phone, true);
- addParser(propertyParsers, "traff", info.stat);
+ depth(0),
+ parsingAnswer(false)
+{
+ AddParser(propertyParsers, "login", info.login);
+ AddParser(propertyParsers, "password", info.password);
+ AddParser(propertyParsers, "cash", info.cash);
+ AddParser(propertyParsers, "credit", info.credit);
+ AddParser(propertyParsers, "creditExpire", info.creditExpire);
+ AddParser(propertyParsers, "lastCash", info.lastCash);
+ AddParser(propertyParsers, "prepaidTraff", info.prepaidTraff);
+ AddParser(propertyParsers, "down", info.down);
+ AddParser(propertyParsers, "passive", info.passive);
+ AddParser(propertyParsers, "disableDetailStat", info.disableDetailStat);
+ AddParser(propertyParsers, "connected", info.connected);
+ AddParser(propertyParsers, "aonline", info.alwaysOnline);
+ AddParser(propertyParsers, "currIP", info.ip, GetIPValue);
+ AddParser(propertyParsers, "ip", info.ips);
+ AddParser(propertyParsers, "tariff", info.tariff);
+ AddParser(propertyParsers, "group", info.group, GetEncodedValue);
+ AddParser(propertyParsers, "note", info.note, GetEncodedValue);
+ AddParser(propertyParsers, "email", info.email, GetEncodedValue);
+ AddParser(propertyParsers, "name", info.name, GetEncodedValue);
+ AddParser(propertyParsers, "address", info.address, GetEncodedValue);
+ AddParser(propertyParsers, "phone", info.phone, GetEncodedValue);
+ AddParser(propertyParsers, "traff", info.stat);