Browse Source

add buildingItem

ja0ck5 6 years ago
parent
commit
13d206c8bc
1 changed files with 14 additions and 0 deletions
  1. 14 0
      protobuf/message.proto

+ 14 - 0
protobuf/message.proto

@@ -13,6 +13,7 @@ message Message {
         NOTIFY = 2;
         ROLEOPT = 3;
         REPORT = 4;
+        BD_ITEM = 5;
     }
 
     Type type = 1;
@@ -105,4 +106,17 @@ message Message {
 
     string msg = 6;
 
+    message BuildingItems {
+        map<string, Item> buildingItem = 1;
+    }
+
+    BuildingItems buildingItems = 7;
+
+    message Item {
+
+        int64 id = 1;
+
+        int32 count = 2;
+    }
+
 }