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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
|
using System;
namespace XUtliPoolLib
{
public class SkillList : CVSReader
{
public SkillList.RowData[] Table = null;
public class RowData
{
public string SkillScript;
public uint SkillScriptHash;
public byte SkillLevel;
public string ScriptName;
public SeqListRef<float> PhysicalRatio;
public SeqListRef<float> PhysicalFixed;
public byte[] AddBuffPoint;
public SeqListRef<int> BuffID;
public byte HpMaxLimit;
public byte[] LevelupCost;
public byte[] UpReqRoleLevel;
public string CurrentLevelDescription;
public string NextLevelDescription;
public string Icon;
public SeqListRef<float> MagicRatio;
public SeqListRef<float> MagicFixed;
public byte Element;
public int Profession;
public byte SkillType;
public int IncreaseSuperArmor;
public short[] DecreaseSuperArmor;
public byte IsBasicSkill;
public SeqRef<float> CostMP;
public SeqListRef<float> TipsRatio;
public SeqListRef<float> TipsFixed;
public string PreSkill;
public byte XPostion;
public short YPostion;
public SeqListRef<float> StartBuffID;
public SeqRef<int> AuraBuffID;
public byte HpMinLimit;
public SeqRef<float> CDRatio;
public SeqRef<float> PvPCDRatio;
public uint XEntityStatisticsID;
public int PvPIncreaseSuperArmor;
public float[] PvPDecreaseSuperArmor;
public SeqListRef<float> PvPRatio;
public SeqListRef<float> PvPFixed;
public float InitCD;
public float PvPInitCD;
public SeqListRef<float> PvPMagicRatio;
public SeqListRef<float> PvPMagicFixed;
public string PreviewScript;
public uint[] MobBuffs;
public string Atlas;
public short[] Flag;
public short PreSkillPoint;
public string SuperIndureAttack;
public string SuperIndureDefense;
public string ExSkillScript;
public byte UnchangableCD;
public float EnmityRatio;
public int EnmityExtValue;
public SeqListRef<float> PercentDamage;
public string LinkedSkill;
public byte LinkType;
public float RemainingCDNotify;
public int StrengthValue;
public byte UsageCount;
public byte[] ExclusiveMask;
public string BindSkill;
public bool IsAwake;
}
protected override void ReadLine(XBinaryReader reader)
{
SkillList.RowData rowData = new SkillList.RowData();
base.Read<string>(reader, ref rowData.SkillScript, CVSReader.stringParse);
this.columnno = 0;
base.Read<uint>(reader, ref rowData.SkillScriptHash, CVSReader.uintParse);
this.columnno = 0;
base.Read<byte>(reader, ref rowData.SkillLevel, CVSReader.byteParse);
this.columnno = 1;
base.Read<string>(reader, ref rowData.ScriptName, CVSReader.stringParse);
this.columnno = 2;
rowData.PhysicalRatio.Read(reader, this.m_DataHandler);
this.columnno = 3;
rowData.PhysicalFixed.Read(reader, this.m_DataHandler);
this.columnno = 4;
base.ReadArray<byte>(reader, ref rowData.AddBuffPoint, CVSReader.byteParse);
this.columnno = 6;
rowData.BuffID.Read(reader, this.m_DataHandler);
this.columnno = 7;
base.Read<byte>(reader, ref rowData.HpMaxLimit, CVSReader.byteParse);
this.columnno = 8;
base.ReadArray<byte>(reader, ref rowData.LevelupCost, CVSReader.byteParse);
this.columnno = 10;
base.ReadArray<byte>(reader, ref rowData.UpReqRoleLevel, CVSReader.byteParse);
this.columnno = 11;
base.Read<string>(reader, ref rowData.CurrentLevelDescription, CVSReader.stringParse);
this.columnno = 12;
base.Read<string>(reader, ref rowData.NextLevelDescription, CVSReader.stringParse);
this.columnno = 13;
base.Read<string>(reader, ref rowData.Icon, CVSReader.stringParse);
this.columnno = 14;
rowData.MagicRatio.Read(reader, this.m_DataHandler);
this.columnno = 15;
rowData.MagicFixed.Read(reader, this.m_DataHandler);
this.columnno = 16;
base.Read<byte>(reader, ref rowData.Element, CVSReader.byteParse);
this.columnno = 17;
base.Read<int>(reader, ref rowData.Profession, CVSReader.intParse);
this.columnno = 18;
base.Read<byte>(reader, ref rowData.SkillType, CVSReader.byteParse);
this.columnno = 19;
base.Read<int>(reader, ref rowData.IncreaseSuperArmor, CVSReader.intParse);
this.columnno = 20;
base.ReadArray<short>(reader, ref rowData.DecreaseSuperArmor, CVSReader.shortParse);
this.columnno = 21;
base.Read<byte>(reader, ref rowData.IsBasicSkill, CVSReader.byteParse);
this.columnno = 22;
rowData.CostMP.Read(reader, this.m_DataHandler);
this.columnno = 23;
rowData.TipsRatio.Read(reader, this.m_DataHandler);
this.columnno = 24;
rowData.TipsFixed.Read(reader, this.m_DataHandler);
this.columnno = 25;
base.Read<string>(reader, ref rowData.PreSkill, CVSReader.stringParse);
this.columnno = 26;
base.Read<byte>(reader, ref rowData.XPostion, CVSReader.byteParse);
this.columnno = 27;
base.Read<short>(reader, ref rowData.YPostion, CVSReader.shortParse);
this.columnno = 28;
rowData.StartBuffID.Read(reader, this.m_DataHandler);
this.columnno = 29;
rowData.AuraBuffID.Read(reader, this.m_DataHandler);
this.columnno = 33;
base.Read<byte>(reader, ref rowData.HpMinLimit, CVSReader.byteParse);
this.columnno = 34;
rowData.CDRatio.Read(reader, this.m_DataHandler);
this.columnno = 35;
rowData.PvPCDRatio.Read(reader, this.m_DataHandler);
this.columnno = 36;
base.Read<uint>(reader, ref rowData.XEntityStatisticsID, CVSReader.uintParse);
this.columnno = 39;
base.Read<int>(reader, ref rowData.PvPIncreaseSuperArmor, CVSReader.intParse);
this.columnno = 40;
base.ReadArray<float>(reader, ref rowData.PvPDecreaseSuperArmor, CVSReader.floatParse);
this.columnno = 41;
rowData.PvPRatio.Read(reader, this.m_DataHandler);
this.columnno = 42;
rowData.PvPFixed.Read(reader, this.m_DataHandler);
this.columnno = 43;
base.Read<float>(reader, ref rowData.InitCD, CVSReader.floatParse);
this.columnno = 45;
base.Read<float>(reader, ref rowData.PvPInitCD, CVSReader.floatParse);
this.columnno = 46;
rowData.PvPMagicRatio.Read(reader, this.m_DataHandler);
this.columnno = 48;
rowData.PvPMagicFixed.Read(reader, this.m_DataHandler);
this.columnno = 49;
base.Read<string>(reader, ref rowData.PreviewScript, CVSReader.stringParse);
this.columnno = 50;
base.ReadArray<uint>(reader, ref rowData.MobBuffs, CVSReader.uintParse);
this.columnno = 51;
base.Read<string>(reader, ref rowData.Atlas, CVSReader.stringParse);
this.columnno = 52;
base.ReadArray<short>(reader, ref rowData.Flag, CVSReader.shortParse);
this.columnno = 53;
base.Read<short>(reader, ref rowData.PreSkillPoint, CVSReader.shortParse);
this.columnno = 54;
base.Read<string>(reader, ref rowData.SuperIndureAttack, CVSReader.stringParse);
this.columnno = 55;
base.Read<string>(reader, ref rowData.SuperIndureDefense, CVSReader.stringParse);
this.columnno = 56;
base.Read<string>(reader, ref rowData.ExSkillScript, CVSReader.stringParse);
this.columnno = 57;
base.Read<byte>(reader, ref rowData.UnchangableCD, CVSReader.byteParse);
this.columnno = 58;
base.Read<float>(reader, ref rowData.EnmityRatio, CVSReader.floatParse);
this.columnno = 59;
base.Read<int>(reader, ref rowData.EnmityExtValue, CVSReader.intParse);
this.columnno = 60;
rowData.PercentDamage.Read(reader, this.m_DataHandler);
this.columnno = 61;
base.Read<string>(reader, ref rowData.LinkedSkill, CVSReader.stringParse);
this.columnno = 62;
base.Read<byte>(reader, ref rowData.LinkType, CVSReader.byteParse);
this.columnno = 63;
base.Read<float>(reader, ref rowData.RemainingCDNotify, CVSReader.floatParse);
this.columnno = 64;
base.Read<int>(reader, ref rowData.StrengthValue, CVSReader.intParse);
this.columnno = 65;
base.Read<byte>(reader, ref rowData.UsageCount, CVSReader.byteParse);
this.columnno = 66;
base.ReadArray<byte>(reader, ref rowData.ExclusiveMask, CVSReader.byteParse);
this.columnno = 67;
base.Read<string>(reader, ref rowData.BindSkill, CVSReader.stringParse);
this.columnno = 69;
base.Read<bool>(reader, ref rowData.IsAwake, CVSReader.boolParse);
this.columnno = 70;
this.Table[this.lineno] = rowData;
this.columnno = -1;
}
protected override void OnClear(int lineCount)
{
bool flag = lineCount > 0;
if (flag)
{
this.Table = new SkillList.RowData[lineCount];
}
else
{
this.Table = null;
}
}
}
}
|