From e01e1a2f6e2c670d005112773275b584ca9f62e5 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 26 十一月 2024 17:20:30 +0800
Subject: [PATCH] 10318 子 【英文】上线测试检查 / 【英文】【越南】【BT】统一增加奖励获得封包 - 获得奖励界面优化,可测试等级奖励和充值
---
System/Backpack/BackpackData.cs | 37 ++++++++++++++++++++++++++++++++++++-
1 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/System/Backpack/BackpackData.cs b/System/Backpack/BackpackData.cs
index 32d6c1d..3b3853e 100644
--- a/System/Backpack/BackpackData.cs
+++ b/System/Backpack/BackpackData.cs
@@ -11,9 +11,39 @@
public struct Item
{
public int id;
- public int count;
+ public int count; //鍏煎鏃т唬鐮佷繚鐣�
+ public ulong countEx; //鍏煎鏃т唬鐮乧ount锛屽綋鏁伴噺瓒呰繃浜�32浣嶆棤娉曡〃绀烘椂浣跨敤
public int quality;
public int bind;
+
+ public Item(int _id, ulong _count)
+ {
+ this.id = _id;
+ this.count = (int)_count;
+ this.quality = 0;
+ this.bind = 0;
+ this.countEx = _count;
+ }
+
+ public Item(int _id, ulong _count, int _quality)
+ {
+ this.id = _id;
+ this.count = (int)_count;
+ this.quality = _quality;
+ this.bind = 0;
+ this.countEx = _count;
+ }
+
+ public Item(int _id, ulong _count, int _bind = 0, int _quality = 0)
+ {
+ this.id = _id;
+ this.count = (int)_count;
+ this.quality = _quality;
+ this.bind = _bind;
+ this.countEx = _count;
+ }
+
+ #region 鏃т唬鐮佸吋瀹� 鏄剧ず鏃犳硶瓒呰繃32浣�
public Item(int _id, int _count)
{
@@ -21,6 +51,7 @@
this.count = _count;
this.quality = 0;
this.bind = 0;
+ this.countEx = (ulong)_count;
}
public Item(int _id, int _count, int _quality)
@@ -29,7 +60,9 @@
this.count = _count;
this.quality = _quality;
this.bind = 0;
+ this.countEx = (ulong)_count;
}
+
public Item(int _id, int _count, int _bind = 0, int _quality = 0)
{
@@ -37,7 +70,9 @@
this.count = _count;
this.quality = _quality;
this.bind = _bind;
+ this.countEx = (ulong)_count;
}
+ #endregion
}
}
--
Gitblit v1.8.0