| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: 第二世界
|
| | | // [ Date ]: Friday, August 10, 2018
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using UnityEngine;
|
| | | using System;
|
| | |
|
| | | namespace TableConfig {
|
| | |
|
| | | |
| | | public partial class RealmConfig : ConfigBase {
|
| | |
|
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Wednesday, January 16, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | | using System; |
| | | |
| | | namespace TableConfig { |
| | | |
| | | |
| | | public partial class RealmConfig : ConfigBase { |
| | | |
| | | public int Lv { get ; private set ; }
|
| | | public string Name { get ; private set; }
|
| | | public int IsBigRealm { get ; private set ; }
|
| | |
| | | public int FightPower { get ; private set ; }
|
| | | public int specialProperty { get ; private set ; }
|
| | | public int effectId { get ; private set ; }
|
| | |
|
| | | public override string getKey()
|
| | | {
|
| | | return Lv.ToString();
|
| | | }
|
| | |
|
| | | public override void Parse() {
|
| | | try
|
| | | {
|
| | | public int requireIconEffect { get ; private set ; } |
| | | |
| | | public override string getKey() |
| | | { |
| | | return Lv.ToString(); |
| | | } |
| | | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | Lv=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
| | |
|
| | | Name = rawContents[1].Trim();
|
| | |
| | | specialProperty=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0;
|
| | |
|
| | | effectId=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0;
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | DebugEx.Log(ex);
|
| | | }
|
| | | }
|
| | | |
| | | }
|
| | |
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | |
|
| | | |
| | | requireIconEffect=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DebugEx.Log(ex); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |