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
|
using System;
namespace XUtliPoolLib
{
public class NpcFeeling : CVSReader
{
public NpcFeeling.RowData[] Table = null;
public class RowData
{
public uint npcId;
public string name;
public string introduction;
public uint openLevel;
public SeqRef<uint> feelingLevel;
public SeqListRef<uint> likeItem;
public SeqListRef<uint> randomItem;
public SeqListRef<uint> favorItem;
public SeqListRef<uint> clientItem;
public SeqListRef<uint> exchangeGive;
public SeqListRef<uint> exchangeGet;
public SeqListRef<uint> npcReturn;
public string[] giveWords;
public string[] giveSuccessWords;
public string[] exchangeWords;
public string[] exchangeSuccessWords;
public uint npcReturnMailConf;
public string icon;
public uint unionId;
public string relicsName;
public string relicsIcon;
public string relicsDesc;
public uint xnpclistid;
}
protected override void ReadLine(XBinaryReader reader)
{
NpcFeeling.RowData rowData = new NpcFeeling.RowData();
base.Read<uint>(reader, ref rowData.npcId, CVSReader.uintParse);
this.columnno = 0;
base.Read<string>(reader, ref rowData.name, CVSReader.stringParse);
this.columnno = 1;
base.Read<string>(reader, ref rowData.introduction, CVSReader.stringParse);
this.columnno = 2;
base.Read<uint>(reader, ref rowData.openLevel, CVSReader.uintParse);
this.columnno = 3;
rowData.feelingLevel.Read(reader, this.m_DataHandler);
this.columnno = 4;
rowData.likeItem.Read(reader, this.m_DataHandler);
this.columnno = 5;
rowData.randomItem.Read(reader, this.m_DataHandler);
this.columnno = 6;
rowData.favorItem.Read(reader, this.m_DataHandler);
this.columnno = 7;
rowData.clientItem.Read(reader, this.m_DataHandler);
this.columnno = 8;
rowData.exchangeGive.Read(reader, this.m_DataHandler);
this.columnno = 9;
rowData.exchangeGet.Read(reader, this.m_DataHandler);
this.columnno = 10;
rowData.npcReturn.Read(reader, this.m_DataHandler);
this.columnno = 11;
base.ReadArray<string>(reader, ref rowData.giveWords, CVSReader.stringParse);
this.columnno = 12;
base.ReadArray<string>(reader, ref rowData.giveSuccessWords, CVSReader.stringParse);
this.columnno = 13;
base.ReadArray<string>(reader, ref rowData.exchangeWords, CVSReader.stringParse);
this.columnno = 14;
base.ReadArray<string>(reader, ref rowData.exchangeSuccessWords, CVSReader.stringParse);
this.columnno = 15;
base.Read<uint>(reader, ref rowData.npcReturnMailConf, CVSReader.uintParse);
this.columnno = 16;
base.Read<string>(reader, ref rowData.icon, CVSReader.stringParse);
this.columnno = 17;
base.Read<uint>(reader, ref rowData.unionId, CVSReader.uintParse);
this.columnno = 18;
base.Read<string>(reader, ref rowData.relicsName, CVSReader.stringParse);
this.columnno = 19;
base.Read<string>(reader, ref rowData.relicsIcon, CVSReader.stringParse);
this.columnno = 20;
base.Read<string>(reader, ref rowData.relicsDesc, CVSReader.stringParse);
this.columnno = 21;
base.Read<uint>(reader, ref rowData.xnpclistid, CVSReader.uintParse);
this.columnno = 22;
this.Table[this.lineno] = rowData;
this.columnno = -1;
}
protected override void OnClear(int lineCount)
{
bool flag = lineCount > 0;
if (flag)
{
this.Table = new NpcFeeling.RowData[lineCount];
}
else
{
this.Table = null;
}
}
}
}
|