//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class DungeonHelpBattleConfig : ConfigBase {
|
|
public int ID;
|
public int DataMapID;
|
public int LineID;
|
public int RobotFightPower;
|
public int RobotLV;
|
public int RobotRealmLV;
|
public string RobotCloth;
|
|
public override string getKey()
|
{
|
return ID.ToString();
|
}
|
|
public override void Parse(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out ID);
|
|
int.TryParse(contents[1],out DataMapID);
|
|
int.TryParse(contents[2],out LineID);
|
|
int.TryParse(contents[3],out RobotFightPower);
|
|
int.TryParse(contents[4],out RobotLV);
|
|
int.TryParse(contents[5],out RobotRealmLV);
|
|
RobotCloth = contents[6];
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|