//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Thursday, June 14, 2018
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class EquipWashSpecConfig : ConfigBase {
|
|
public int id { get ; private set ; }
|
public int typeNeed { get ; private set ; }
|
public int levelNeed { get ; private set ; }
|
public string attByLevel { get ; private set; }
|
public string attByLevelValue { get ; private set; }
|
public int MasterLV { get ; private set ; }
|
|
public override string getKey()
|
{
|
return id.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
typeNeed=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
|
|
levelNeed=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
|
|
attByLevel = rawContents[3].Trim();
|
|
attByLevelValue = rawContents[4].Trim();
|
|
MasterLV=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|