summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/FestivityLovePersonReward.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/FestivityLovePersonReward.cs')
-rw-r--r--Client/Assets/Scripts/XUtliPoolLib/FestivityLovePersonReward.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XUtliPoolLib/FestivityLovePersonReward.cs b/Client/Assets/Scripts/XUtliPoolLib/FestivityLovePersonReward.cs
new file mode 100644
index 00000000..a0a88713
--- /dev/null
+++ b/Client/Assets/Scripts/XUtliPoolLib/FestivityLovePersonReward.cs
@@ -0,0 +1,40 @@
+using System;
+
+namespace XUtliPoolLib
+{
+ public class FestivityLovePersonReward : CVSReader
+ {
+ public FestivityLovePersonReward.RowData[] Table = null;
+
+ public class RowData
+ {
+ public uint LoveScore;
+
+ public SeqListRef<uint> LoveReward;
+ }
+
+ protected override void ReadLine(XBinaryReader reader)
+ {
+ FestivityLovePersonReward.RowData rowData = new FestivityLovePersonReward.RowData();
+ base.Read<uint>(reader, ref rowData.LoveScore, CVSReader.uintParse);
+ this.columnno = 0;
+ rowData.LoveReward.Read(reader, this.m_DataHandler);
+ this.columnno = 1;
+ this.Table[this.lineno] = rowData;
+ this.columnno = -1;
+ }
+
+ protected override void OnClear(int lineCount)
+ {
+ bool flag = lineCount > 0;
+ if (flag)
+ {
+ this.Table = new FestivityLovePersonReward.RowData[lineCount];
+ }
+ else
+ {
+ this.Table = null;
+ }
+ }
+ }
+}