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