| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: 第二世界
|
| | | // [ Date ]: Thursday, August 16, 2018
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using UnityEngine;
|
| | | using System;
|
| | |
|
| | | namespace TableConfig {
|
| | |
|
| | | |
| | | public partial class TreasurePrivilegeConfig : ConfigBase {
|
| | |
|
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Monday, September 03, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | | using System; |
| | | |
| | | namespace TableConfig { |
| | | |
| | | |
| | | public partial class TreasurePrivilegeConfig : ConfigBase { |
| | | |
| | | public int PrivilegeID { get ; private set ; }
|
| | | public string Description { get ; private set; }
|
| | | public string EffectValue { get ; private set; }
|
| | |
| | | public string Icon { get ; private set; }
|
| | | public string Name { get ; private set; }
|
| | | public string targetDescription { get ; private set; }
|
| | |
|
| | | public override string getKey()
|
| | | {
|
| | | return PrivilegeID.ToString();
|
| | | }
|
| | |
|
| | | public override void Parse() {
|
| | | try
|
| | | {
|
| | | public int effectId { get ; private set ; } |
| | | |
| | | public override string getKey() |
| | | { |
| | | return PrivilegeID.ToString(); |
| | | } |
| | | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | PrivilegeID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
| | |
|
| | | Description = rawContents[1].Trim();
|
| | |
| | | Name = rawContents[10].Trim();
|
| | |
|
| | | targetDescription = rawContents[11].Trim();
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | DebugEx.Log(ex);
|
| | | }
|
| | | }
|
| | | |
| | | }
|
| | |
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | |
|
| | | |
| | | effectId=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DebugEx.Log(ex); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |