Browse Source

* 物品数量单位同步

zhaoyang 2 năm trước cách đây
mục cha
commit
3357cfcc58
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      GameClient/Assets/Game/HotUpdate/ServerProxy/ItemProxy.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/ItemProxy.cs

@@ -75,7 +75,7 @@ namespace GFGGame
             return false;
         }
         //使用背包物品
-        public static async ETTask<bool> ReqUseItem(int itemID, int count)
+        public static async ETTask<bool> ReqUseItem(int itemID, long count)
         {
             S2C_UseItem response = null;
             response = (S2C_UseItem)await MessageHelper.SendToServer(new C2S_UseItem() { ItemId = itemID, itemNum = count });