| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年8月5日
|
| | | // [ Date ]: 2025年10月28日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | |
|
| | | public int ID;
|
| | | public int ShopType;
|
| | | public int[] SecondType;
|
| | | public int ShopSort;
|
| | | public int ItemID;
|
| | | public int ItemCnt;
|
| | | public int IsBind;
|
| | | public string ItemListEx;
|
| | | public int MainItemID;
|
| | | public string JobItem;
|
| | | public int RefreshType;
|
| | | public int[] VIPLV;
|
| | | public int LV;
|
| | | public int LVSee;
|
| | | public int[] GoumaiNumber;
|
| | | public int[][] ItemListEx;
|
| | | public int ResetType;
|
| | | public int LimitCnt;
|
| | | public int MoneyType;
|
| | | public int MoneyNumber;
|
| | | public int MoneyNum;
|
| | | public int MoneyOriginal;
|
| | | public int LimitValue;
|
| | | public string SalesStatus;
|
| | | public int TheOnlyShop;
|
| | | public int RemindSuccess;
|
| | | public int IsHideSellOut;
|
| | | public int UnlockType;
|
| | | public int UnlockValue;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | | {
|
| | |
| | |
|
| | | int.TryParse(tables[1],out ShopType);
|
| | |
|
| | | if (tables[2].Contains("[")) |
| | | { |
| | | SecondType = JsonMapper.ToObject<int[]>(tables[2]); |
| | | } |
| | | else |
| | | { |
| | | string[] SecondTypeStringArray = tables[2].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | SecondType = new int[SecondTypeStringArray.Length]; |
| | | for (int i=0;i<SecondTypeStringArray.Length;i++) |
| | | { |
| | | int.TryParse(SecondTypeStringArray[i],out SecondType[i]); |
| | | } |
| | | }
|
| | | int.TryParse(tables[2],out ShopSort); |
| | |
|
| | | int.TryParse(tables[3],out ShopSort); |
| | | int.TryParse(tables[3],out ItemID); |
| | |
|
| | | int.TryParse(tables[4],out ItemID); |
| | | int.TryParse(tables[4],out ItemCnt); |
| | |
|
| | | int.TryParse(tables[5],out ItemCnt); |
| | | ItemListEx = JsonMapper.ToObject<int[][]>(tables[5].Replace("(", "[").Replace(")", "]")); |
| | |
|
| | | int.TryParse(tables[6],out IsBind); |
| | | int.TryParse(tables[6],out ResetType); |
| | |
|
| | | ItemListEx = tables[7];
|
| | | int.TryParse(tables[7],out LimitCnt); |
| | |
|
| | | int.TryParse(tables[8],out MainItemID); |
| | | int.TryParse(tables[8],out MoneyType); |
| | |
|
| | | JobItem = tables[9];
|
| | | int.TryParse(tables[9],out MoneyNum); |
| | |
|
| | | int.TryParse(tables[10],out RefreshType); |
| | | int.TryParse(tables[10],out MoneyOriginal); |
| | |
|
| | | if (tables[11].Contains("[")) |
| | | { |
| | | VIPLV = JsonMapper.ToObject<int[]>(tables[11]); |
| | | } |
| | | else |
| | | { |
| | | string[] VIPLVStringArray = tables[11].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]); |
| | | } |
| | | }
|
| | | int.TryParse(tables[11],out UnlockType); |
| | |
|
| | | int.TryParse(tables[12],out LV); |
| | |
|
| | | int.TryParse(tables[13],out LVSee); |
| | |
|
| | | if (tables[14].Contains("[")) |
| | | { |
| | | GoumaiNumber = JsonMapper.ToObject<int[]>(tables[14]); |
| | | } |
| | | else |
| | | { |
| | | string[] GoumaiNumberStringArray = tables[14].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | GoumaiNumber = new int[GoumaiNumberStringArray.Length]; |
| | | for (int i=0;i<GoumaiNumberStringArray.Length;i++) |
| | | { |
| | | int.TryParse(GoumaiNumberStringArray[i],out GoumaiNumber[i]); |
| | | } |
| | | }
|
| | |
|
| | | int.TryParse(tables[15],out MoneyType); |
| | |
|
| | | int.TryParse(tables[16],out MoneyNumber); |
| | |
|
| | | int.TryParse(tables[17],out MoneyOriginal); |
| | |
|
| | | int.TryParse(tables[18],out LimitValue); |
| | |
|
| | | SalesStatus = tables[19];
|
| | |
|
| | | int.TryParse(tables[20],out TheOnlyShop); |
| | |
|
| | | int.TryParse(tables[21],out RemindSuccess); |
| | |
|
| | | int.TryParse(tables[22],out IsHideSellOut); |
| | | int.TryParse(tables[12],out UnlockValue); |
| | | }
|
| | | catch (Exception exception)
|
| | | {
|