示例#1
0
 public static AccountInfo loadFromProperties(Properties properties, String prefix) {
   AccountInfo accountInfo = new AccountInfo();
   accountInfo.mobileid = properties.getProperty(prefix + ".mobileid");
   if (accountInfo.mobileid == null) {
     return null;
   }
   accountInfo.kabamid = properties.getProperty(prefix + ".kabamid");
   accountInfo.naid = properties.getProperty(prefix + ".naid");
   accountInfo.accesstoken = properties.getProperty(prefix + ".accesstoken");
   accountInfo.udid = properties.getProperty(prefix + ".udid");
   accountInfo.mmac = properties.getProperty(prefix + ".mmac");
   accountInfo.openudid = properties.getProperty(prefix + ".openudid");
   accountInfo.ifa = properties.getProperty(prefix + ".ifa");
   accountInfo.ifv = properties.getProperty(prefix + ".ifv");
   accountInfo.unityDevId = properties.getProperty(prefix + ".unitydevid");
   return accountInfo;
 }