Exemplo n.º 1
0
 public void InitConfig()
 {
     if (mConfigs == null)
     {
         mConfigs = CSVUtilBase.ParseContent <int, MapConfig>(Properties.Resources.map, "id");
     }
 }
Exemplo n.º 2
0
 public void InitConfig()
 {
     if (mConfigsByRace == null)
     {
         mConfigsByRace = CSVUtilBase.ParseContentWithGroup <byte, NamesConfig>(Properties.Resources.names, "race_id");
     }
 }
Exemplo n.º 3
0
 public void InitConfig()
 {
     if (mConfigs == null)
     {
         mConfigs = CSVUtilBase.ParseContent <byte, ClassConfig>(Properties.Resources.classes, "id");
     }
 }
Exemplo n.º 4
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");
     }
 }
Exemplo n.º 5
0
 public void InitConfig()
 {
     if (mConfigs == null)
     {
         StringBuilder sb = new StringBuilder();
         sb.AppendLine("id,name,pos");
         sb.AppendLine("1,Sword,1");
         sb.AppendLine("2,Helmet,2");
         sb.AppendLine("3,PlatArmor,3");
         mConfigs = CSVUtilBase.ParseContent <byte, EquipConfig>(sb.ToString(), "id");
     }
 }
Exemplo n.º 6
0
 public void InitConfig()
 {
     if (mConfigs == null)
     {
         StringBuilder sb = new StringBuilder();
         sb.AppendLine("id,name,eventnum");
         sb.AppendLine("1,Raid 1,3");
         sb.AppendLine("2,Raid 2,3");
         sb.AppendLine("3,Raid 3,4");
         mConfigs = CSVUtilBase.ParseContent <byte, DungeonConfig>(sb.ToString(), "id");
     }
 }