//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Friday, January 18, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class JadeDynastyBossConfig : ConfigBase {
|
|
public int NPCID { get ; private set ; }
|
public int LineID { get ; private set ; }
|
public int Time { get ; private set ; }
|
public int RealmLV { get ; private set ; }
|
public int ZhuXianScore { get ; private set ; }
|
public string dropItems { get ; private set; }
|
public string PortraitID { get ; private set; }
|
|
public override string getKey()
|
{
|
return NPCID.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
NPCID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
LineID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
|
|
Time=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
|
|
RealmLV=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
|
|
ZhuXianScore=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
|
|
dropItems = rawContents[5].Trim();
|
|
PortraitID = rawContents[6].Trim();
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|