generated from VLADIMIR/template
fix add team
This commit is contained in:
+20
-2
@@ -3568,6 +3568,8 @@ func (x *AddTeamReq) GetName() string {
|
||||
type AddTeamRsp struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
||||
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -3609,6 +3611,20 @@ func (x *AddTeamRsp) GetError() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddTeamRsp) GetId() int32 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *AddTeamRsp) GetPassword() string {
|
||||
if x != nil {
|
||||
return x.Password
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type UpdateTeamReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
@@ -4407,10 +4423,12 @@ const file_main_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"AddTeamReq\x12\x17\n" +
|
||||
"\agame_id\x18\x01 \x01(\x05R\x06gameId\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\"\"\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\"N\n" +
|
||||
"\n" +
|
||||
"AddTeamRsp\x12\x14\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error\"3\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error\x12\x0e\n" +
|
||||
"\x02id\x18\x02 \x01(\x05R\x02id\x12\x1a\n" +
|
||||
"\bpassword\x18\x03 \x01(\tR\bpassword\"3\n" +
|
||||
"\rUpdateTeamReq\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\"%\n" +
|
||||
|
||||
Reference in New Issue
Block a user