From fbed65b5329f16e70416312e27552ce4085ec04d Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Tue, 16 Apr 2024 13:34:01 +0800 Subject: [PATCH] update --- data/DB_PropExchange.dat | 6 +++--- data/DB_Task.dat | Bin 583 -> 583 bytes protocol/bag/bag.pb.go | 6 +++--- protocol/bag/bag.proto | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/data/DB_PropExchange.dat b/data/DB_PropExchange.dat index aacecc0..b25a2ca 100644 --- a/data/DB_PropExchange.dat +++ b/data/DB_PropExchange.dat @@ -1,5 +1,5 @@ -6Նֆ׆ӆԆ"= +6ԆՆֆ׆ӆ"= .؆نچۆ"= -WۆӆԆՆֆ׆نچ؆"  -]׆چۆӆՆ؆ن܆Ԇֆ" \ No newline at end of file +WچۆӆԆՆ׆؆نֆ"  +]Ԇ؆ۆ܆ӆՆֆ׆نچ" \ No newline at end of file diff --git a/data/DB_Task.dat b/data/DB_Task.dat index f43e229b12e78fe7d28923cc6d33b699ae53aa1a..5b677b1878712968d0ae3964a17d1836f685b50f 100644 GIT binary patch delta 56 zcmX@ka-3yCz91XNl3q3eE+Y<(g+Tg38}q~leW;)aRB%Br+r$I4lcz8WPWEH`2>{P9 B5jp?> delta 70 zcmX@ka-3yCz90w3!d^Ck3vJ9sY#d8~EUt+S`cT0Iy=+iHk%{Lv6m|dr diff --git a/protocol/bag/bag.pb.go b/protocol/bag/bag.pb.go index 22dac45..8f58d85 100644 --- a/protocol/bag/bag.pb.go +++ b/protocol/bag/bag.pb.go @@ -575,7 +575,7 @@ type PropInfo struct { unknownFields protoimpl.UnknownFields ItemId int32 `protobuf:"varint,1,opt,name=ItemId,proto3" json:"ItemId,omitempty"` //物品ID - ItemNum int32 `protobuf:"varint,2,opt,name=ItemNum,proto3" json:"ItemNum,omitempty"` //物品数量 + ItemNum int64 `protobuf:"varint,2,opt,name=ItemNum,proto3" json:"ItemNum,omitempty"` //物品数量 } func (x *PropInfo) Reset() { @@ -617,7 +617,7 @@ func (x *PropInfo) GetItemId() int32 { return 0 } -func (x *PropInfo) GetItemNum() int32 { +func (x *PropInfo) GetItemNum() int64 { if x != nil { return x.ItemNum } @@ -952,7 +952,7 @@ var file_bag_proto_rawDesc = []byte{ 0x6f, 0x52, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x49, + 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x22, 0x20, 0x0a, 0x0e, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x70, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x0e, 0x53, 0x43, 0x50, diff --git a/protocol/bag/bag.proto b/protocol/bag/bag.proto index a765211..ee6ba1a 100644 --- a/protocol/bag/bag.proto +++ b/protocol/bag/bag.proto @@ -82,7 +82,7 @@ message SCSyncBagData{ message PropInfo{ int32 ItemId = 1;//物品ID - int32 ItemNum = 2;//物品数量 + int64 ItemNum = 2;//物品数量 } // PACKET_PropExchange