From f4a702e212d1853735f8dae399da69d23bfa510e Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 26 三月 2026 18:16:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into h5version
---
Main/System/KnapSack/BackpackData.cs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Main/System/KnapSack/BackpackData.cs b/Main/System/KnapSack/BackpackData.cs
index fd66a36..c454b70 100644
--- a/Main/System/KnapSack/BackpackData.cs
+++ b/Main/System/KnapSack/BackpackData.cs
@@ -11,7 +11,8 @@
public int id;
public long countEx;
public int quality;
- public int useType; //鐢ㄩ�斿畾涔夛細0 鏃� 1 棰勭暀 2 绾㈤澧炲姞 10 鍙ゅ疂澧炲姞
+ public int useType; //鐢ㄩ�斿畾涔夛細0 榛樿鏃� 10 - 鍙ゅ疂 20 - 绾㈤ 30 - 绉板彿 40 -鍒嗚В
+ public string dataEx;
public Item(int _id, long _count)
{
@@ -19,17 +20,19 @@
this.quality = 0;
this.useType = 0;
this.countEx = _count;
+ this.dataEx = "";
}
- public Item(int _id, long _count, int _useType = 0, int _quality = 0)
+ public Item(int _id, long _count, int _useType = 0, int _quality = 0, string _dataEx = "")
{
this.id = _id;
this.quality = _quality;
this.useType = _useType;
this.countEx = _count;
+ this.dataEx = _dataEx;
}
--
Gitblit v1.8.0