예제 #1
0
 public void InitConfig()
 {
     if (mConfigsByRace == null)
     {
         mConfigsByRace = CSVUtilBase.ParseContentWithGroup <byte, NamesConfig>(Properties.Resources.names, "race_id");
     }
 }
예제 #2
0
 public void InitConfig()
 {
     if (mConfigs == null)
     {
         mConfigs         = CSVUtilBase.ParseContent <byte, RaceConfig>(Properties.Resources.race, "id");
         mConfigsWithType = CSVUtilBase.ParseContentWithGroup <byte, RaceConfig>(Properties.Resources.race, "type");
     }
 }