少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-22 c249639c00811edb11d537d0dd55cf552cc5b2d0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Tuesday, January 22, 2019
//--------------------------------------------------------
 
using UnityEngine;
using System;
 
namespace TableConfig {
 
    
    public partial class SkillFrameAnimationConfig : ConfigBase {
 
        public int skillTypeId { get ; private set ; }
        public int totalTime { get ; private set ; }
        public string[] spriteKeys;
        public string descriptionIcon { get ; private set; } 
 
        public override string getKey()
        {
            return skillTypeId.ToString();
        }
 
        public override void Parse() {
            try
            {
                skillTypeId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; 
            
                totalTime=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; 
            
                spriteKeys = rawContents[2].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
            
                descriptionIcon = rawContents[3].Trim();
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
        }
    
    }
 
}