add email

This commit is contained in:
2026-09-16 04:07:34 +07:00
parent b9afada40a
commit 99724058eb
10 changed files with 71 additions and 11 deletions
+11 -2
View File
@@ -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" +