| | |
| | | namespace TableConfig { |
| | | |
| | | |
| | | public partial class StoreConfig : ConfigBase { |
| | | public partial class StoreConfig : ConfigBase {
|
| | |
|
| | | public int ID { get ; private set ; }
|
| | | public int ShopType { get ; private set ; }
|
| | | public int ShopSort { get ; private set ; }
|
| | | public int ItemID { get ; private set ; }
|
| | | public int ItemCnt { get ; private set ; }
|
| | | public int IsBind { get ; private set ; }
|
| | | public string ItemListEx { get ; private set; } |
| | | public int MainItemID { get ; private set ; }
|
| | | public string JobItem { get ; private set; } |
| | | public int RefreshType { get ; private set ; }
|
| | | public int[] VIPLV;
|
| | | public int LV { get ; private set ; }
|
| | | public int[] PurchaseNumber;
|
| | | public int MoneyType { get ; private set ; }
|
| | | public int MoneyNumber { get ; private set ; }
|
| | | public int MoneyOriginal { get ; private set ; }
|
| | | public int LimitValue { get ; private set ; }
|
| | | public string SalesStatus { get ; private set; } |
| | | public int TheOnlyShop { get ; private set ; }
|
| | | public int RemindSuccess { get ; private set ; }
|
| | | |
| | | public int ID { get ; private set ; } |
| | | public int ShopType { get ; private set ; } |
| | | public int ShopSort { get ; private set ; } |
| | | public int ItemID { get ; private set ; } |
| | | public int ItemCnt { get ; private set ; } |
| | | public int IsBind { get ; private set ; } |
| | | public string ItemListEx { get ; private set; } |
| | | public int MainItemID { get ; private set ; } |
| | | public string JobItem { get ; private set; } |
| | | public int RefreshType { get ; private set ; } |
| | | public int[] VIPLV; |
| | | public int LV { get ; private set ; } |
| | | public int[] PurchaseNumber; |
| | | public int MoneyType { get ; private set ; } |
| | | public int MoneyNumber { get ; private set ; } |
| | | public int MoneyOriginal { get ; private set ; } |
| | | public int LimitValue { get ; private set ; } |
| | | public string SalesStatus { get ; private set; } |
| | | public int TheOnlyShop { get ; private set ; } |
| | | public int RemindSuccess { get ; private set ; } |
| | | |
| | | public override string getKey() |
| | | { |
| | | return ID.ToString(); |
| | | public override string getKey()
|
| | | {
|
| | | return ID.ToString();
|
| | | } |
| | | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | ShopType=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | ShopSort=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | ItemID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | | |
| | | ItemCnt=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | |
| | | IsBind=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; |
| | | |
| | | ItemListEx = rawContents[6].Trim(); |
| | | |
| | | MainItemID=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; |
| | | |
| | | JobItem = rawContents[8].Trim(); |
| | | |
| | | RefreshType=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; |
| | | |
| | | try
|
| | | {
|
| | | ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | ShopType=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | ShopSort=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | ItemID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | | |
| | | ItemCnt=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | |
| | | IsBind=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; |
| | | |
| | | ItemListEx = rawContents[6].Trim();
|
| | | |
| | | MainItemID=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; |
| | | |
| | | JobItem = rawContents[8].Trim();
|
| | | |
| | | RefreshType=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; |
| | | |
| | | string[] VIPLVStringArray = rawContents[10].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | VIPLV = new int[VIPLVStringArray.Length]; |
| | | for (int i=0;i<VIPLVStringArray.Length;i++) |
| | | { |
| | | int.TryParse(VIPLVStringArray[i],out VIPLV[i]); |
| | | } |
| | | |
| | | LV=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0; |
| | | |
| | | }
|
| | | |
| | | LV=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0; |
| | | |
| | | string[] PurchaseNumberStringArray = rawContents[12].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | PurchaseNumber = new int[PurchaseNumberStringArray.Length]; |
| | | for (int i=0;i<PurchaseNumberStringArray.Length;i++) |
| | | { |
| | | int.TryParse(PurchaseNumberStringArray[i],out PurchaseNumber[i]); |
| | | } |
| | | |
| | | MoneyType=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0; |
| | | |
| | | MoneyNumber=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; |
| | | |
| | | MoneyOriginal=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; |
| | | |
| | | LimitValue=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0; |
| | | |
| | | SalesStatus = rawContents[17].Trim(); |
| | | |
| | | TheOnlyShop=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0; |
| | | |
| | | RemindSuccess=IsNumeric(rawContents[19]) ? int.Parse(rawContents[19]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DesignDebug.Log(ex); |
| | | }
|
| | | |
| | | MoneyType=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0; |
| | | |
| | | MoneyNumber=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; |
| | | |
| | | MoneyOriginal=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; |
| | | |
| | | LimitValue=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0; |
| | | |
| | | SalesStatus = rawContents[17].Trim();
|
| | | |
| | | TheOnlyShop=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0; |
| | | |
| | | RemindSuccess=IsNumeric(rawContents[19]) ? int.Parse(rawContents[19]):0; |
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | DesignDebug.Log(ex);
|
| | | } |
| | | } |
| | | |