generated from VLADIMIR/template
add email
This commit is contained in:
+11
-2
@@ -7540,6 +7540,7 @@ type AddTeamReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
GameId int32 `protobuf:"varint,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
||||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||
CaptainEmail string `protobuf:"bytes,3,opt,name=captain_email,json=captainEmail,proto3" json:"captain_email,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -7588,6 +7589,13 @@ func (x *AddTeamReq) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddTeamReq) GetCaptainEmail() string {
|
||||
if x != nil {
|
||||
return x.CaptainEmail
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type AddTeamRsp struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
||||
@@ -9174,11 +9182,12 @@ const file_main_proto_rawDesc = "" +
|
||||
"\rDeleteGameReq\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x05R\x02id\"%\n" +
|
||||
"\rDeleteGameRsp\x12\x14\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error\"9\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error\"^\n" +
|
||||
"\n" +
|
||||
"AddTeamReq\x12\x17\n" +
|
||||
"\agame_id\x18\x01 \x01(\x05R\x06gameId\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\"N\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12#\n" +
|
||||
"\rcaptain_email\x18\x03 \x01(\tR\fcaptainEmail\"N\n" +
|
||||
"\n" +
|
||||
"AddTeamRsp\x12\x14\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error\x12\x0e\n" +
|
||||
|
||||
Reference in New Issue
Block a user