This commit is contained in:
2026-10-04 04:07:49 +07:00
parent 07f90215cd
commit b46c128b7c
10 changed files with 51 additions and 22 deletions
+17 -8
View File
@@ -7864,12 +7864,13 @@ func (*DeleteGameRsp) Descriptor() ([]byte, []int) {
}
type AddTeamReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,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
state protoimpl.MessageState `protogen:"open.v1"`
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,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"`
ParticipantsCount int32 `protobuf:"varint,4,opt,name=participants_count,json=participantsCount,proto3" json:"participants_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AddTeamReq) Reset() {
@@ -7923,6 +7924,13 @@ func (x *AddTeamReq) GetCaptainEmail() string {
return ""
}
func (x *AddTeamReq) GetParticipantsCount() int32 {
if x != nil {
return x.ParticipantsCount
}
return 0
}
type AddTeamRsp struct {
state protoimpl.MessageState `protogen:"open.v1"`
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
@@ -9852,12 +9860,13 @@ const file_main_proto_rawDesc = "" +
"\fResetGameRsp\"\x1f\n" +
"\rDeleteGameReq\x12\x0e\n" +
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x0f\n" +
"\rDeleteGameRsp\"]\n" +
"\rDeleteGameRsp\"\x8c\x01\n" +
"\n" +
"AddTeamReq\x12\x16\n" +
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12#\n" +
"\rcaptain_email\x18\x03 \x01(\tR\fcaptainEmail\"8\n" +
"\rcaptain_email\x18\x03 \x01(\tR\fcaptainEmail\x12-\n" +
"\x12participants_count\x18\x04 \x01(\x05R\x11participantsCount\"8\n" +
"\n" +
"AddTeamRsp\x12\x0e\n" +
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x1a\n" +