少年修仙传客户端代码仓库
client_Wu Xijin
2018-09-10 26ca473948aae38fb2287465587da5a4dccec3b6
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Saturday, January 06, 2018
//--------------------------------------------------------
 
using UnityEngine;
using System;
 
namespace TableConfig {
 
    
    public partial class VipPrivilegeConfig : ConfigBase {
 
        public int VIPPrivilege { get ; private set ; }
        public int VIP0 { get ; private set ; }
        public int VIP1 { get ; private set ; }
        public int VIP2 { get ; private set ; }
        public int VIP3 { get ; private set ; }
        public int VIP4 { get ; private set ; }
        public int VIP5 { get ; private set ; }
        public int VIP6 { get ; private set ; }
        public int VIP7 { get ; private set ; }
        public int VIP8 { get ; private set ; }
        public int VIP9 { get ; private set ; }
        public int VIP10 { get ; private set ; }
        public int VIP11 { get ; private set ; }
        public int VIP12 { get ; private set ; }
        public int VIP13 { get ; private set ; }
        public int VIP14 { get ; private set ; }
        public int VIP15 { get ; private set ; }
 
        public override string getKey()
        {
            return VIPPrivilege .ToString();
        }
 
        public override void Parse() {
            try
            {
                VIPPrivilege=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; 
            
                VIP0=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; 
            
                VIP1=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; 
            
                VIP2=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; 
            
                VIP3=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; 
            
                VIP4=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; 
            
                VIP5=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0; 
            
                VIP6=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; 
            
                VIP7=IsNumeric(rawContents[8]) ? int.Parse(rawContents[8]):0; 
            
                VIP8=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; 
            
                VIP9=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0; 
            
                VIP10=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0; 
            
                VIP11=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0; 
            
                VIP12=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0; 
            
                VIP13=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; 
            
                VIP14=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; 
            
                VIP15=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0; 
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
        }
    
    }
 
}