// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1-devel // protoc v3.19.4 // source: gate.proto package login import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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) ) //gate消息id type GatePacketID int32 const ( GatePacketID_PACKET_Gate_ZERO GatePacketID = 0 // 弃用消息号 GatePacketID_PACKET_CS_AUTH GatePacketID = -1004 //验证 GatePacketID_PACKET_SC_AUTH GatePacketID = -1006 //验证 GatePacketID_PACKET_SS_DICONNECT GatePacketID = 2001 GatePacketID_PACKET_CS_PING GatePacketID = 2002 GatePacketID_PACKET_SC_PONG GatePacketID = 2003 GatePacketID_PACKET_CS_BINDBUNDLE GatePacketID = 2004 GatePacketID_PACKET_SC_BINDBUNDLE GatePacketID = 2005 GatePacketID_PACKET_CS_LOGICACK GatePacketID = 2006 ) // Enum value maps for GatePacketID. var ( GatePacketID_name = map[int32]string{ 0: "PACKET_Gate_ZERO", -1004: "PACKET_CS_AUTH", -1006: "PACKET_SC_AUTH", 2001: "PACKET_SS_DICONNECT", 2002: "PACKET_CS_PING", 2003: "PACKET_SC_PONG", 2004: "PACKET_CS_BINDBUNDLE", 2005: "PACKET_SC_BINDBUNDLE", 2006: "PACKET_CS_LOGICACK", } GatePacketID_value = map[string]int32{ "PACKET_Gate_ZERO": 0, "PACKET_CS_AUTH": -1004, "PACKET_SC_AUTH": -1006, "PACKET_SS_DICONNECT": 2001, "PACKET_CS_PING": 2002, "PACKET_SC_PONG": 2003, "PACKET_CS_BINDBUNDLE": 2004, "PACKET_SC_BINDBUNDLE": 2005, "PACKET_CS_LOGICACK": 2006, } ) func (x GatePacketID) Enum() *GatePacketID { p := new(GatePacketID) *p = x return p } func (x GatePacketID) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (GatePacketID) Descriptor() protoreflect.EnumDescriptor { return file_gate_proto_enumTypes[0].Descriptor() } func (GatePacketID) Type() protoreflect.EnumType { return &file_gate_proto_enumTypes[0] } func (x GatePacketID) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use GatePacketID.Descriptor instead. func (GatePacketID) EnumDescriptor() ([]byte, []int) { return file_gate_proto_rawDescGZIP(), []int{0} } //PACKET_CS_PING type CSPing struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TimeStamp int64 `protobuf:"varint,1,opt,name=TimeStamp,proto3" json:"TimeStamp,omitempty"` } func (x *CSPing) Reset() { *x = CSPing{} if protoimpl.UnsafeEnabled { mi := &file_gate_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CSPing) String() string { return protoimpl.X.MessageStringOf(x) } func (*CSPing) ProtoMessage() {} func (x *CSPing) ProtoReflect() protoreflect.Message { mi := &file_gate_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CSPing.ProtoReflect.Descriptor instead. func (*CSPing) Descriptor() ([]byte, []int) { return file_gate_proto_rawDescGZIP(), []int{0} } func (x *CSPing) GetTimeStamp() int64 { if x != nil { return x.TimeStamp } return 0 } //PACKET_SC_PONG type SCPong struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TimeStamp int64 `protobuf:"varint,1,opt,name=TimeStamp,proto3" json:"TimeStamp,omitempty"` } func (x *SCPong) Reset() { *x = SCPong{} if protoimpl.UnsafeEnabled { mi := &file_gate_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SCPong) String() string { return protoimpl.X.MessageStringOf(x) } func (*SCPong) ProtoMessage() {} func (x *SCPong) ProtoReflect() protoreflect.Message { mi := &file_gate_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SCPong.ProtoReflect.Descriptor instead. func (*SCPong) Descriptor() ([]byte, []int) { return file_gate_proto_rawDescGZIP(), []int{1} } func (x *SCPong) GetTimeStamp() int64 { if x != nil { return x.TimeStamp } return 0 } //PACKET_CS_BINDBUNDLE type CSBindBundle struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields BundleKey string `protobuf:"bytes,1,opt,name=BundleKey,proto3" json:"BundleKey,omitempty"` } func (x *CSBindBundle) Reset() { *x = CSBindBundle{} if protoimpl.UnsafeEnabled { mi := &file_gate_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CSBindBundle) String() string { return protoimpl.X.MessageStringOf(x) } func (*CSBindBundle) ProtoMessage() {} func (x *CSBindBundle) ProtoReflect() protoreflect.Message { mi := &file_gate_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CSBindBundle.ProtoReflect.Descriptor instead. func (*CSBindBundle) Descriptor() ([]byte, []int) { return file_gate_proto_rawDescGZIP(), []int{2} } func (x *CSBindBundle) GetBundleKey() string { if x != nil { return x.BundleKey } return "" } //PACKET_SC_BINDBUNDLE type SCBindBundle struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields BundleId int32 `protobuf:"varint,1,opt,name=BundleId,proto3" json:"BundleId,omitempty"` Sid string `protobuf:"bytes,2,opt,name=Sid,proto3" json:"Sid,omitempty"` SrvId int32 `protobuf:"varint,3,opt,name=SrvId,proto3" json:"SrvId,omitempty"` } func (x *SCBindBundle) Reset() { *x = SCBindBundle{} if protoimpl.UnsafeEnabled { mi := &file_gate_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SCBindBundle) String() string { return protoimpl.X.MessageStringOf(x) } func (*SCBindBundle) ProtoMessage() {} func (x *SCBindBundle) ProtoReflect() protoreflect.Message { mi := &file_gate_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SCBindBundle.ProtoReflect.Descriptor instead. func (*SCBindBundle) Descriptor() ([]byte, []int) { return file_gate_proto_rawDescGZIP(), []int{3} } func (x *SCBindBundle) GetBundleId() int32 { if x != nil { return x.BundleId } return 0 } func (x *SCBindBundle) GetSid() string { if x != nil { return x.Sid } return "" } func (x *SCBindBundle) GetSrvId() int32 { if x != nil { return x.SrvId } return 0 } //PACKET_CS_LOGICACK type CSLogicAck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields LogicNo uint32 `protobuf:"varint,1,opt,name=LogicNo,proto3" json:"LogicNo,omitempty"` } func (x *CSLogicAck) Reset() { *x = CSLogicAck{} if protoimpl.UnsafeEnabled { mi := &file_gate_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CSLogicAck) String() string { return protoimpl.X.MessageStringOf(x) } func (*CSLogicAck) ProtoMessage() {} func (x *CSLogicAck) ProtoReflect() protoreflect.Message { mi := &file_gate_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CSLogicAck.ProtoReflect.Descriptor instead. func (*CSLogicAck) Descriptor() ([]byte, []int) { return file_gate_proto_rawDescGZIP(), []int{4} } func (x *CSLogicAck) GetLogicNo() uint32 { if x != nil { return x.LogicNo } return 0 } //PACKET_CS_AUTH type SSPacketAuth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields AuthKey string `protobuf:"bytes,1,opt,name=AuthKey,proto3" json:"AuthKey,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` } func (x *SSPacketAuth) Reset() { *x = SSPacketAuth{} if protoimpl.UnsafeEnabled { mi := &file_gate_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SSPacketAuth) String() string { return protoimpl.X.MessageStringOf(x) } func (*SSPacketAuth) ProtoMessage() {} func (x *SSPacketAuth) ProtoReflect() protoreflect.Message { mi := &file_gate_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SSPacketAuth.ProtoReflect.Descriptor instead. func (*SSPacketAuth) Descriptor() ([]byte, []int) { return file_gate_proto_rawDescGZIP(), []int{5} } func (x *SSPacketAuth) GetAuthKey() string { if x != nil { return x.AuthKey } return "" } func (x *SSPacketAuth) GetTimestamp() int64 { if x != nil { return x.Timestamp } return 0 } //PACKET_SC_AUTH type SSPacketAuthAck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"` } func (x *SSPacketAuthAck) Reset() { *x = SSPacketAuthAck{} if protoimpl.UnsafeEnabled { mi := &file_gate_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SSPacketAuthAck) String() string { return protoimpl.X.MessageStringOf(x) } func (*SSPacketAuthAck) ProtoMessage() {} func (x *SSPacketAuthAck) ProtoReflect() protoreflect.Message { mi := &file_gate_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SSPacketAuthAck.ProtoReflect.Descriptor instead. func (*SSPacketAuthAck) Descriptor() ([]byte, []int) { return file_gate_proto_rawDescGZIP(), []int{6} } func (x *SSPacketAuthAck) GetMsg() string { if x != nil { return x.Msg } return "" } var File_gate_proto protoreflect.FileDescriptor var file_gate_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x22, 0x26, 0x0a, 0x06, 0x43, 0x53, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x26, 0x0a, 0x06, 0x53, 0x43, 0x50, 0x6f, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x2c, 0x0a, 0x0c, 0x43, 0x53, 0x42, 0x69, 0x6e, 0x64, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x22, 0x52, 0x0a, 0x0c, 0x53, 0x43, 0x42, 0x69, 0x6e, 0x64, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x53, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x72, 0x76, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x72, 0x76, 0x49, 0x64, 0x22, 0x26, 0x0a, 0x0a, 0x43, 0x53, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x41, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x4e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x4e, 0x6f, 0x22, 0x46, 0x0a, 0x0c, 0x53, 0x53, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x23, 0x0a, 0x0f, 0x53, 0x53, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x41, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x2a, 0xf1, 0x01, 0x0a, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x47, 0x61, 0x74, 0x65, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x0e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x94, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x1b, 0x0a, 0x0e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x92, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x53, 0x5f, 0x44, 0x49, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0xd1, 0x0f, 0x12, 0x13, 0x0a, 0x0e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x50, 0x49, 0x4e, 0x47, 0x10, 0xd2, 0x0f, 0x12, 0x13, 0x0a, 0x0e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x4f, 0x4e, 0x47, 0x10, 0xd3, 0x0f, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x42, 0x49, 0x4e, 0x44, 0x42, 0x55, 0x4e, 0x44, 0x4c, 0x45, 0x10, 0xd4, 0x0f, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x42, 0x49, 0x4e, 0x44, 0x42, 0x55, 0x4e, 0x44, 0x4c, 0x45, 0x10, 0xd5, 0x0f, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x43, 0x41, 0x43, 0x4b, 0x10, 0xd6, 0x0f, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_gate_proto_rawDescOnce sync.Once file_gate_proto_rawDescData = file_gate_proto_rawDesc ) func file_gate_proto_rawDescGZIP() []byte { file_gate_proto_rawDescOnce.Do(func() { file_gate_proto_rawDescData = protoimpl.X.CompressGZIP(file_gate_proto_rawDescData) }) return file_gate_proto_rawDescData } var file_gate_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_gate_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_gate_proto_goTypes = []interface{}{ (GatePacketID)(0), // 0: login.GatePacketID (*CSPing)(nil), // 1: login.CSPing (*SCPong)(nil), // 2: login.SCPong (*CSBindBundle)(nil), // 3: login.CSBindBundle (*SCBindBundle)(nil), // 4: login.SCBindBundle (*CSLogicAck)(nil), // 5: login.CSLogicAck (*SSPacketAuth)(nil), // 6: login.SSPacketAuth (*SSPacketAuthAck)(nil), // 7: login.SSPacketAuthAck } var file_gate_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_gate_proto_init() } func file_gate_proto_init() { if File_gate_proto != nil { return } if !protoimpl.UnsafeEnabled { file_gate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CSPing); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SCPong); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CSBindBundle); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gate_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SCBindBundle); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gate_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CSLogicAck); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gate_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SSPacketAuth); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gate_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SSPacketAuthAck); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_gate_proto_rawDesc, NumEnums: 1, NumMessages: 7, NumExtensions: 0, NumServices: 0, }, GoTypes: file_gate_proto_goTypes, DependencyIndexes: file_gate_proto_depIdxs, EnumInfos: file_gate_proto_enumTypes, MessageInfos: file_gate_proto_msgTypes, }.Build() File_gate_proto = out.File file_gate_proto_rawDesc = nil file_gate_proto_goTypes = nil file_gate_proto_depIdxs = nil }