Files
GaCy-GO/protocol/proto/current_handlers.pb.go
T

184 lines
6.6 KiB
Go
Raw Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.12
// protoc v7.36.0
// source: protocol/proto/current_handlers.proto
package proto
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// PearlSR 005d2c12db4781071f4b5b68e8f364587886a710:
// protocol/src/protocol.pb.zig, SetChallengeTierceLineup messages.
// These named messages are missing from the original Go schema.
type SetChallengeTierceLineupCsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
ChallengeId uint32 `protobuf:"varint,4,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"`
StageInfoList []*LineupTierce `protobuf:"bytes,5,rep,name=stage_info_list,json=stageInfoList,proto3" json:"stage_info_list,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetChallengeTierceLineupCsReq) Reset() {
*x = SetChallengeTierceLineupCsReq{}
mi := &file_protocol_proto_current_handlers_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetChallengeTierceLineupCsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetChallengeTierceLineupCsReq) ProtoMessage() {}
func (x *SetChallengeTierceLineupCsReq) ProtoReflect() protoreflect.Message {
mi := &file_protocol_proto_current_handlers_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetChallengeTierceLineupCsReq.ProtoReflect.Descriptor instead.
func (*SetChallengeTierceLineupCsReq) Descriptor() ([]byte, []int) {
return file_protocol_proto_current_handlers_proto_rawDescGZIP(), []int{0}
}
func (x *SetChallengeTierceLineupCsReq) GetChallengeId() uint32 {
if x != nil {
return x.ChallengeId
}
return 0
}
func (x *SetChallengeTierceLineupCsReq) GetStageInfoList() []*LineupTierce {
if x != nil {
return x.StageInfoList
}
return nil
}
type SetChallengeTierceLineupScRsp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Retcode uint32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetChallengeTierceLineupScRsp) Reset() {
*x = SetChallengeTierceLineupScRsp{}
mi := &file_protocol_proto_current_handlers_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetChallengeTierceLineupScRsp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetChallengeTierceLineupScRsp) ProtoMessage() {}
func (x *SetChallengeTierceLineupScRsp) ProtoReflect() protoreflect.Message {
mi := &file_protocol_proto_current_handlers_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetChallengeTierceLineupScRsp.ProtoReflect.Descriptor instead.
func (*SetChallengeTierceLineupScRsp) Descriptor() ([]byte, []int) {
return file_protocol_proto_current_handlers_proto_rawDescGZIP(), []int{1}
}
func (x *SetChallengeTierceLineupScRsp) GetRetcode() uint32 {
if x != nil {
return x.Retcode
}
return 0
}
var File_protocol_proto_current_handlers_proto protoreflect.FileDescriptor
const file_protocol_proto_current_handlers_proto_rawDesc = "" +
"\n" +
"%protocol/proto/current_handlers.proto\x1a\x1dprotocol/proto/StarRail.proto\"y\n" +
"\x1dSetChallengeTierceLineupCsReq\x12!\n" +
"\fchallenge_id\x18\x04 \x01(\rR\vchallengeId\x125\n" +
"\x0fstage_info_list\x18\x05 \x03(\v2\r.LineupTierceR\rstageInfoList\"9\n" +
"\x1dSetChallengeTierceLineupScRsp\x12\x18\n" +
"\aretcode\x18\x01 \x01(\rR\aretcodeB\x1dZ\x1bgac-hkrpg-go/protocol/protob\x06proto3"
var (
file_protocol_proto_current_handlers_proto_rawDescOnce sync.Once
file_protocol_proto_current_handlers_proto_rawDescData []byte
)
func file_protocol_proto_current_handlers_proto_rawDescGZIP() []byte {
file_protocol_proto_current_handlers_proto_rawDescOnce.Do(func() {
file_protocol_proto_current_handlers_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_protocol_proto_current_handlers_proto_rawDesc), len(file_protocol_proto_current_handlers_proto_rawDesc)))
})
return file_protocol_proto_current_handlers_proto_rawDescData
}
var file_protocol_proto_current_handlers_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_protocol_proto_current_handlers_proto_goTypes = []any{
(*SetChallengeTierceLineupCsReq)(nil), // 0: SetChallengeTierceLineupCsReq
(*SetChallengeTierceLineupScRsp)(nil), // 1: SetChallengeTierceLineupScRsp
(*LineupTierce)(nil), // 2: LineupTierce
}
var file_protocol_proto_current_handlers_proto_depIdxs = []int32{
2, // 0: SetChallengeTierceLineupCsReq.stage_info_list:type_name -> LineupTierce
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_protocol_proto_current_handlers_proto_init() }
func file_protocol_proto_current_handlers_proto_init() {
if File_protocol_proto_current_handlers_proto != nil {
return
}
file_protocol_proto_StarRail_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_protocol_proto_current_handlers_proto_rawDesc), len(file_protocol_proto_current_handlers_proto_rawDesc)),
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_protocol_proto_current_handlers_proto_goTypes,
DependencyIndexes: file_protocol_proto_current_handlers_proto_depIdxs,
MessageInfos: file_protocol_proto_current_handlers_proto_msgTypes,
}.Build()
File_protocol_proto_current_handlers_proto = out.File
file_protocol_proto_current_handlers_proto_goTypes = nil
file_protocol_proto_current_handlers_proto_depIdxs = nil
}