Exemple #1
0
 void SetCfg(SettingVO cfg)
 {
     this.cfg         = cfg;
     version          = cfg.client.version;
     url              = cfg.client.url;
     netResRoot       = cfg.netResRoot;
     startupResGroups = cfg.startupResGroups;
     startupParams    = cfg.startupParams;
 }
Exemple #2
0
 void SetCfg(SettingVO cfg)
 {
     this.cfg         = cfg;
     version          = cfg.client.version;
     url              = cfg.client.url;
     netResRoot       = cfg.netResRoot;
     startupResGroups = cfg.startupResGroups;
     startupParams    = cfg.startupParams;
     if (null == startupParams)
     {
         startupParams = new Dictionary <string, string>();
     }
 }