【猫草大作战】-修改协议
This commit is contained in:
parent
5a9b2a0fa8
commit
03eca57bb5
@ -5812,6 +5812,7 @@ func ReqFriendReplyHandle(player *Player, buf []byte) error {
|
|||||||
player.PushClientRes(&msg.ResFriendReplyHandle{
|
player.PushClientRes(&msg.ResFriendReplyHandle{
|
||||||
Code: msg.RES_CODE_SUCCESS,
|
Code: msg.RES_CODE_SUCCESS,
|
||||||
LogId: req.LogId,
|
LogId: req.LogId,
|
||||||
|
Type: req.Type,
|
||||||
})
|
})
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15320,6 +15320,7 @@ type ResFriendReplyHandle struct {
|
|||||||
Code RES_CODE `protobuf:"varint,1,opt,name=Code,proto3,enum=tutorial.RES_CODE" json:"Code,omitempty"`
|
Code RES_CODE `protobuf:"varint,1,opt,name=Code,proto3,enum=tutorial.RES_CODE" json:"Code,omitempty"`
|
||||||
Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
|
Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
|
||||||
LogId int32 `protobuf:"varint,3,opt,name=LogId,proto3" json:"LogId,omitempty"` // 时间线id
|
LogId int32 `protobuf:"varint,3,opt,name=LogId,proto3" json:"LogId,omitempty"` // 时间线id
|
||||||
|
Type int32 `protobuf:"varint,4,opt,name=Type,proto3" json:"Type,omitempty"` // 回复类型 1:处理 2:删除 3:查看
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@ -15375,6 +15376,13 @@ func (x *ResFriendReplyHandle) GetLogId() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *ResFriendReplyHandle) GetType() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Type
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
type ResFriendBubble struct {
|
type ResFriendBubble struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
Bubble []*FriendBubbleInfo `protobuf:"bytes,1,rep,name=Bubble,proto3" json:"Bubble,omitempty"` // 气泡
|
Bubble []*FriendBubbleInfo `protobuf:"bytes,1,rep,name=Bubble,proto3" json:"Bubble,omitempty"` // 气泡
|
||||||
@ -28582,11 +28590,12 @@ const file_proto_Gameapi_proto_rawDesc = "" +
|
|||||||
"\x14ReqFriendReplyHandle\x12\x14\n" +
|
"\x14ReqFriendReplyHandle\x12\x14\n" +
|
||||||
"\x05LogId\x18\x01 \x01(\x05R\x05LogId\x12\x14\n" +
|
"\x05LogId\x18\x01 \x01(\x05R\x05LogId\x12\x14\n" +
|
||||||
"\x05Param\x18\x02 \x01(\tR\x05Param\x12\x12\n" +
|
"\x05Param\x18\x02 \x01(\tR\x05Param\x12\x12\n" +
|
||||||
"\x04Type\x18\x03 \x01(\x05R\x04Type\"f\n" +
|
"\x04Type\x18\x03 \x01(\x05R\x04Type\"z\n" +
|
||||||
"\x14ResFriendReplyHandle\x12&\n" +
|
"\x14ResFriendReplyHandle\x12&\n" +
|
||||||
"\x04Code\x18\x01 \x01(\x0e2\x12.tutorial.RES_CODER\x04Code\x12\x10\n" +
|
"\x04Code\x18\x01 \x01(\x0e2\x12.tutorial.RES_CODER\x04Code\x12\x10\n" +
|
||||||
"\x03Msg\x18\x02 \x01(\tR\x03Msg\x12\x14\n" +
|
"\x03Msg\x18\x02 \x01(\tR\x03Msg\x12\x14\n" +
|
||||||
"\x05LogId\x18\x03 \x01(\x05R\x05LogId\"E\n" +
|
"\x05LogId\x18\x03 \x01(\x05R\x05LogId\x12\x12\n" +
|
||||||
|
"\x04Type\x18\x04 \x01(\x05R\x04Type\"E\n" +
|
||||||
"\x0fResFriendBubble\x122\n" +
|
"\x0fResFriendBubble\x122\n" +
|
||||||
"\x06Bubble\x18\x01 \x03(\v2\x1a.tutorial.FriendBubbleInfoR\x06Bubble\"#\n" +
|
"\x06Bubble\x18\x01 \x03(\v2\x1a.tutorial.FriendBubbleInfoR\x06Bubble\"#\n" +
|
||||||
"\x11ReqFriendTLUpvote\x12\x0e\n" +
|
"\x11ReqFriendTLUpvote\x12\x0e\n" +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user