| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Thursday, June 07, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | | using System; |
| | | |
| | | namespace TableConfig { |
| | | |
| | | |
| | | //--------------------------------------------------------
|
| | | // [Author]: 第二世界
|
| | | // [ Date ]: Thursday, August 16, 2018
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using UnityEngine;
|
| | | using System;
|
| | |
|
| | | namespace TableConfig {
|
| | |
|
| | | |
| | | public partial class TreasureUpConfig : ConfigBase {
|
| | |
|
| | | public int ID { get ; private set ; }
|
| | |
| | | public string AddAttr { get ; private set; }
|
| | | public int[] UnLockSkill;
|
| | | public int UnLockFuncID { get ; private set ; }
|
| | | public int Privilege { get ; private set ; }
|
| | | public int LVLimit { get ; private set ; }
|
| | | |
| | | public int ActiveMWID { get ; private set ; }
|
| | | public string ItemAward { get ; private set; } |
| | |
|
| | | public override string getKey()
|
| | | {
|
| | | return ID.ToString();
|
| | | } |
| | | |
| | | public override void Parse() { |
| | | }
|
| | |
|
| | | public override void Parse() {
|
| | | try
|
| | | {
|
| | | ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
| | |
| | |
|
| | | UnLockFuncID=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
|
| | |
|
| | | Privilege=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; |
| | | ActiveMWID=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; |
| | |
|
| | | LVLimit=IsNumeric(rawContents[8]) ? int.Parse(rawContents[8]):0; |
| | | ItemAward = rawContents[8].Trim();
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | DebugEx.Log(ex);
|
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | }
|
| | | }
|
| | | |
| | | }
|
| | |
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | |
|