//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Friday, September 21, 2018
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class WHYJRewardConfig : ConfigBase {
|
|
public int ID { get ; private set ; }
|
public string Reward { get ; private set; }
|
public string Quantity { get ; private set; }
|
|
public override string getKey()
|
{
|
return ID.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
Reward = rawContents[1].Trim();
|
|
Quantity = rawContents[2].Trim();
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|