Browse Source

* 物品数量单位同步

zhaoyang 2 years ago
parent
commit
3357cfcc58
1 changed files with 1 additions and 1 deletions
  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;
             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;
             S2C_UseItem response = null;
             response = (S2C_UseItem)await MessageHelper.SendToServer(new C2S_UseItem() { ItemId = itemID, itemNum = count });
             response = (S2C_UseItem)await MessageHelper.SendToServer(new C2S_UseItem() { ItemId = itemID, itemNum = count });