| | |
| | | |
| | | using UnityEngine; |
| | | using System; |
| | | |
| | | namespace TableConfig { |
| | | using System.Collections.Generic; |
| | | |
| | | |
| | | public partial class CrossServerArenaConfig : ConfigBase { |
| | | public partial class CrossServerArenaConfig { |
| | | |
| | | public int DanLV { get ; private set ; }
|
| | | public string Name { get ; private set; }
|
| | |
| | | public string IconKey { get ; private set; }
|
| | | public int LVUpScore { get ; private set ; }
|
| | | public string DanLVAwardList { get ; private set; }
|
| | | public string SeasonAwardList { get ; private set; } |
| | | public string SeasonAwardList { get ; private set; }
|
| | |
|
| | | public static bool inited; |
| | | |
| | | public override string getKey() |
| | | { |
| | | return DanLV.ToString(); |
| | | } |
| | | public static void Init()
|
| | | {
|
| | |
|
| | | } |
| | | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | DanLV=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | Name = rawContents[1].Trim();
|
| | | |
| | | DanType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | IconKey = rawContents[3].Trim();
|
| | | |
| | | LVUpScore=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | |
| | | DanLVAwardList = rawContents[5].Trim();
|
| | | |
| | | SeasonAwardList = rawContents[6].Trim(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DebugEx.Log(ex); |
| | | } |
| | | } |
| | | |
| | | } |
| | | public static CrossServerArenaConfig Get(string id)
|
| | | {
|
| | | return null;
|
| | | } |
| | | |
| | | public static CrossServerArenaConfig Get(int id)
|
| | | {
|
| | | return null;
|
| | | } |
| | | |
| | | public static List<CrossServerArenaConfig> GetValues()
|
| | | {
|
| | | return null;
|
| | | } |
| | | |
| | | } |
| | | |