| | |
| | | using System; |
| | | using UnityEngine; |
| | | |
| | | [XLua.LuaCallCSharp] |
| | | |
| | | public partial class CTGConfig |
| | | { |
| | | |
| | | public readonly int RecordID;
|
| | | public readonly string Title;
|
| | | public readonly int TotalBuyCount;
|
| | | public readonly int DailyBuyCount;
|
| | | public readonly int GainGold;
|
| | | public readonly int GainGoldPaper;
|
| | | public readonly int FirstGoldPaperPrize;
|
| | | public readonly string GainItemList;
|
| | | public readonly string Icon;
|
| | | public readonly int RecordID; |
| | | public readonly string Title; |
| | | public readonly int TotalBuyCount; |
| | | public readonly int DailyBuyCount; |
| | | public readonly int GainGold; |
| | | public readonly int GainGoldPaper; |
| | | public readonly int FirstGoldPaperPrize; |
| | | public readonly string GainItemList; |
| | | public readonly string Icon; |
| | | public readonly int PayType; |
| | | |
| | | public CTGConfig() |
| | |
| | | { |
| | | var tables = input.Split('\t'); |
| | | |
| | | int.TryParse(tables[0],out RecordID); |
| | |
|
| | | Title = tables[1];
|
| | |
|
| | | int.TryParse(tables[2],out TotalBuyCount); |
| | |
|
| | | int.TryParse(tables[3],out DailyBuyCount); |
| | |
|
| | | int.TryParse(tables[4],out GainGold); |
| | |
|
| | | int.TryParse(tables[5],out GainGoldPaper); |
| | |
|
| | | int.TryParse(tables[6],out FirstGoldPaperPrize); |
| | |
|
| | | GainItemList = tables[7];
|
| | |
|
| | | Icon = tables[8];
|
| | |
|
| | | int.TryParse(tables[0],out RecordID); |
| | | |
| | | Title = tables[1]; |
| | | |
| | | int.TryParse(tables[2],out TotalBuyCount); |
| | | |
| | | int.TryParse(tables[3],out DailyBuyCount); |
| | | |
| | | int.TryParse(tables[4],out GainGold); |
| | | |
| | | int.TryParse(tables[5],out GainGoldPaper); |
| | | |
| | | int.TryParse(tables[6],out FirstGoldPaperPrize); |
| | | |
| | | GainItemList = tables[7]; |
| | | |
| | | Icon = tables[8]; |
| | | |
| | | int.TryParse(tables[9],out PayType); |
| | | } |
| | | catch (Exception ex) |