diff options
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/FashionSynthesis.cs')
-rw-r--r-- | Client/Assets/Scripts/XUtliPoolLib/FashionSynthesis.cs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XUtliPoolLib/FashionSynthesis.cs b/Client/Assets/Scripts/XUtliPoolLib/FashionSynthesis.cs new file mode 100644 index 00000000..e3f85bf9 --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/FashionSynthesis.cs @@ -0,0 +1,52 @@ +using System;
+
+namespace XUtliPoolLib
+{
+ public class FashionSynthesis : CVSReader
+ {
+ public FashionSynthesis.RowData[] Table = null;
+
+ public class RowData
+ {
+ public uint FashionID;
+
+ public uint SuccessRate;
+
+ public SeqListRef<uint> ReturnItems;
+
+ public uint SuitID;
+
+ public uint FashinSynthesisAddSucessRate;
+ }
+
+ protected override void ReadLine(XBinaryReader reader)
+ {
+ FashionSynthesis.RowData rowData = new FashionSynthesis.RowData();
+ base.Read<uint>(reader, ref rowData.FashionID, CVSReader.uintParse);
+ this.columnno = 0;
+ base.Read<uint>(reader, ref rowData.SuccessRate, CVSReader.uintParse);
+ this.columnno = 1;
+ rowData.ReturnItems.Read(reader, this.m_DataHandler);
+ this.columnno = 2;
+ base.Read<uint>(reader, ref rowData.SuitID, CVSReader.uintParse);
+ this.columnno = 3;
+ base.Read<uint>(reader, ref rowData.FashinSynthesisAddSucessRate, CVSReader.uintParse);
+ this.columnno = 4;
+ this.Table[this.lineno] = rowData;
+ this.columnno = -1;
+ }
+
+ protected override void OnClear(int lineCount)
+ {
+ bool flag = lineCount > 0;
+ if (flag)
+ {
+ this.Table = new FashionSynthesis.RowData[lineCount];
+ }
+ else
+ {
+ this.Table = null;
+ }
+ }
+ }
+}
|