diff options
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/GuildSalaryDesc.cs')
-rw-r--r-- | Client/Assets/Scripts/XUtliPoolLib/GuildSalaryDesc.cs | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XUtliPoolLib/GuildSalaryDesc.cs b/Client/Assets/Scripts/XUtliPoolLib/GuildSalaryDesc.cs new file mode 100644 index 00000000..876d403a --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/GuildSalaryDesc.cs @@ -0,0 +1,48 @@ +using System;
+
+namespace XUtliPoolLib
+{
+ public class GuildSalaryDesc : CVSReader
+ {
+ public GuildSalaryDesc.RowData[] Table = null;
+
+ public class RowData
+ {
+ public int Type;
+
+ public string Desc;
+
+ public int Go;
+
+ public string GoLabel;
+ }
+
+ protected override void ReadLine(XBinaryReader reader)
+ {
+ GuildSalaryDesc.RowData rowData = new GuildSalaryDesc.RowData();
+ base.Read<int>(reader, ref rowData.Type, CVSReader.intParse);
+ this.columnno = 0;
+ base.Read<string>(reader, ref rowData.Desc, CVSReader.stringParse);
+ this.columnno = 1;
+ base.Read<int>(reader, ref rowData.Go, CVSReader.intParse);
+ this.columnno = 2;
+ base.Read<string>(reader, ref rowData.GoLabel, CVSReader.stringParse);
+ this.columnno = 3;
+ this.Table[this.lineno] = rowData;
+ this.columnno = -1;
+ }
+
+ protected override void OnClear(int lineCount)
+ {
+ bool flag = lineCount > 0;
+ if (flag)
+ {
+ this.Table = new GuildSalaryDesc.RowData[lineCount];
+ }
+ else
+ {
+ this.Table = null;
+ }
+ }
+ }
+}
|