//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Friday, January 04, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class GatherSoulPropertyConfig : ConfigBase {
|
|
public int AttrType { get ; private set ; }
|
public string AttrInfo1 { get ; private set; }
|
public string AttrInfo2 { get ; private set; }
|
public string AttrInfo3 { get ; private set; }
|
public string AttrInfo4 { get ; private set; }
|
public string AttrInfo5 { get ; private set; }
|
public string sort { get ; private set; }
|
|
public override string getKey()
|
{
|
return AttrType.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
AttrType=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
AttrInfo1 = rawContents[1].Trim();
|
|
AttrInfo2 = rawContents[2].Trim();
|
|
AttrInfo3 = rawContents[3].Trim();
|
|
AttrInfo4 = rawContents[4].Trim();
|
|
AttrInfo5 = rawContents[5].Trim();
|
|
sort = rawContents[6].Trim();
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|