| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: Friday, June 27, 2025
|
| | | // [ Date ]: Monday, December 29, 2025
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | | using System.IO;
|
| | | using System.Threading;
|
| | | using System;
|
| | | using UnityEngine;
|
| | | using LitJson;
|
| | |
|
| | | public partial class TreasureItemLibConfig : ConfigBase<int, TreasureItemLibConfig>
|
| | | {
|
| | | static TreasureItemLibConfig()
|
| | | {
|
| | | // 访问过静态构造函数
|
| | | visit = true; |
| | | }
|
| | |
|
| | | public int ID;
|
| | | public int LibID;
|
| | | public int ItemID;
|
| | | public int ItemCount;
|
| | | public int IsWishitem;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | | {
|
| | |
| | | int.TryParse(tables[2],out ItemID);
|
| | |
|
| | | int.TryParse(tables[3],out ItemCount);
|
| | |
|
| | | int.TryParse(tables[4],out IsWishitem); |
| | | }
|
| | | catch (Exception exception)
|
| | | {
|