瀏覽代碼

修改背包道具变化通知协议

huangyuhao 1 年之前
父節點
當前提交
71617f65d3
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      proto-lib/proto_bag.lua

+ 2 - 1
proto-lib/proto_bag.lua

@@ -56,7 +56,8 @@ local proto_s2c =
56 56
     # 玩家当前物品
57 57
     on_user_items 2100 {
58 58
         request {
59
-            items 0: *DataItemUpdate
59
+            items 0: *DataItemUpdate    # 道具变化列表
60
+            reason 1: string            # 资源变化的途径
60 61
         }
61 62
     }
62 63
 ]]