2025-05-26 20:12:45 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.36.6
|
|
|
|
// protoc v6.31.0
|
|
|
|
// source: login.proto
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
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)
|
|
|
|
)
|
|
|
|
|
|
|
|
// 玩家登陆
|
2025-05-28 20:19:11 +08:00
|
|
|
type C2SUserLogin struct {
|
2025-05-26 20:12:45 +08:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // 用户名
|
2025-05-29 09:54:43 +08:00
|
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码或token
|
|
|
|
Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
|
|
|
|
DeviceId string `protobuf:"bytes,4,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
|
|
|
|
Version string `protobuf:"bytes,10,opt,name=version,proto3" json:"version,omitempty"` // 版本
|
2025-05-26 20:12:45 +08:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *C2SUserLogin) Reset() {
|
|
|
|
*x = C2SUserLogin{}
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *C2SUserLogin) String() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (*C2SUserLogin) ProtoMessage() {}
|
2025-05-26 20:12:45 +08:00
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *C2SUserLogin) ProtoReflect() protoreflect.Message {
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_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)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
// Deprecated: Use C2SUserLogin.ProtoReflect.Descriptor instead.
|
|
|
|
func (*C2SUserLogin) Descriptor() ([]byte, []int) {
|
2025-05-26 20:12:45 +08:00
|
|
|
return file_login_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *C2SUserLogin) GetUsername() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Username
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2025-05-29 09:54:43 +08:00
|
|
|
func (x *C2SUserLogin) GetPassword() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
if x != nil {
|
2025-05-29 09:54:43 +08:00
|
|
|
return x.Password
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *C2SUserLogin) GetIp() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Ip
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *C2SUserLogin) GetDeviceId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.DeviceId
|
2025-05-26 20:12:45 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *C2SUserLogin) GetVersion() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
type S2CUserLogin struct {
|
2025-05-26 20:12:45 +08:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
Code ErrCode `protobuf:"varint,1,opt,name=code,proto3,enum=pb.ErrCode" json:"code,omitempty"`
|
|
|
|
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
2025-05-27 13:14:01 +08:00
|
|
|
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token
|
2025-05-26 20:12:45 +08:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogin) Reset() {
|
|
|
|
*x = S2CUserLogin{}
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogin) String() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (*S2CUserLogin) ProtoMessage() {}
|
2025-05-26 20:12:45 +08:00
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogin) ProtoReflect() protoreflect.Message {
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_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)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
// Deprecated: Use S2CUserLogin.ProtoReflect.Descriptor instead.
|
|
|
|
func (*S2CUserLogin) Descriptor() ([]byte, []int) {
|
2025-05-26 20:12:45 +08:00
|
|
|
return file_login_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogin) GetCode() ErrCode {
|
2025-05-26 20:12:45 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
|
|
|
}
|
2025-05-28 20:19:11 +08:00
|
|
|
return ErrCode_OK
|
2025-05-26 20:12:45 +08:00
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogin) GetUserId() int64 {
|
2025-05-26 20:12:45 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.UserId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogin) GetToken() string {
|
2025-05-27 13:14:01 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Token
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2025-05-26 20:12:45 +08:00
|
|
|
// 上线通知
|
2025-05-28 20:19:11 +08:00
|
|
|
type NtfUserOnline struct {
|
2025-05-26 20:12:45 +08:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 玩家id
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *NtfUserOnline) Reset() {
|
|
|
|
*x = NtfUserOnline{}
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *NtfUserOnline) String() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (*NtfUserOnline) ProtoMessage() {}
|
2025-05-26 20:12:45 +08:00
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *NtfUserOnline) ProtoReflect() protoreflect.Message {
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[2]
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
// Deprecated: Use NtfUserOnline.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NtfUserOnline) Descriptor() ([]byte, []int) {
|
2025-05-26 20:12:45 +08:00
|
|
|
return file_login_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *NtfUserOnline) GetUserId() int64 {
|
2025-05-26 20:12:45 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.UserId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
// 玩家登陆
|
2025-05-28 20:19:11 +08:00
|
|
|
type C2SUserLogout struct {
|
2025-05-26 20:12:45 +08:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *C2SUserLogout) Reset() {
|
|
|
|
*x = C2SUserLogout{}
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *C2SUserLogout) String() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (*C2SUserLogout) ProtoMessage() {}
|
2025-05-26 20:12:45 +08:00
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *C2SUserLogout) ProtoReflect() protoreflect.Message {
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[3]
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
// Deprecated: Use C2SUserLogout.ProtoReflect.Descriptor instead.
|
|
|
|
func (*C2SUserLogout) Descriptor() ([]byte, []int) {
|
2025-05-26 20:12:45 +08:00
|
|
|
return file_login_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
type S2CUserLogout struct {
|
2025-05-26 20:12:45 +08:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
Code ErrCode `protobuf:"varint,1,opt,name=code,proto3,enum=pb.ErrCode" json:"code,omitempty"` // 登出原因
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogout) Reset() {
|
|
|
|
*x = S2CUserLogout{}
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogout) String() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (*S2CUserLogout) ProtoMessage() {}
|
2025-05-26 20:12:45 +08:00
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogout) ProtoReflect() protoreflect.Message {
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[4]
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
// Deprecated: Use S2CUserLogout.ProtoReflect.Descriptor instead.
|
|
|
|
func (*S2CUserLogout) Descriptor() ([]byte, []int) {
|
2025-05-26 20:12:45 +08:00
|
|
|
return file_login_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *S2CUserLogout) GetCode() ErrCode {
|
2025-05-26 20:12:45 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
|
|
|
}
|
2025-05-28 20:19:11 +08:00
|
|
|
return ErrCode_OK
|
2025-05-26 20:12:45 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 下线通知
|
2025-05-28 20:19:11 +08:00
|
|
|
type NtfUserOffline struct {
|
2025-05-26 20:12:45 +08:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 玩家id
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *NtfUserOffline) Reset() {
|
|
|
|
*x = NtfUserOffline{}
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *NtfUserOffline) String() string {
|
2025-05-26 20:12:45 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (*NtfUserOffline) ProtoMessage() {}
|
2025-05-26 20:12:45 +08:00
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *NtfUserOffline) ProtoReflect() protoreflect.Message {
|
2025-05-26 20:12:45 +08:00
|
|
|
mi := &file_login_proto_msgTypes[5]
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
// Deprecated: Use NtfUserOffline.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NtfUserOffline) Descriptor() ([]byte, []int) {
|
2025-05-26 20:12:45 +08:00
|
|
|
return file_login_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
|
2025-05-28 20:19:11 +08:00
|
|
|
func (x *NtfUserOffline) GetUserId() int64 {
|
2025-05-26 20:12:45 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.UserId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
var File_login_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
const file_login_proto_rawDesc = "" +
|
|
|
|
"\n" +
|
|
|
|
"\vlogin.proto\x12\x02pb\x1a\n" +
|
2025-05-29 09:54:43 +08:00
|
|
|
"code.proto\"\x8d\x01\n" +
|
2025-05-28 20:19:11 +08:00
|
|
|
"\fC2SUserLogin\x12\x1a\n" +
|
2025-05-29 09:54:43 +08:00
|
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x0e\n" +
|
|
|
|
"\x02ip\x18\x03 \x01(\tR\x02ip\x12\x1b\n" +
|
|
|
|
"\tdevice_id\x18\x04 \x01(\tR\bdeviceId\x12\x18\n" +
|
|
|
|
"\aversion\x18\n" +
|
|
|
|
" \x01(\tR\aversion\"^\n" +
|
2025-05-28 20:19:11 +08:00
|
|
|
"\fS2CUserLogin\x12\x1f\n" +
|
2025-05-26 20:12:45 +08:00
|
|
|
"\x04code\x18\x01 \x01(\x0e2\v.pb.ErrCodeR\x04code\x12\x17\n" +
|
2025-05-27 13:14:01 +08:00
|
|
|
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x14\n" +
|
2025-05-28 20:19:11 +08:00
|
|
|
"\x05token\x18\x03 \x01(\tR\x05token\"(\n" +
|
|
|
|
"\rNtfUserOnline\x12\x17\n" +
|
|
|
|
"\auser_id\x18\x02 \x01(\x03R\x06userId\"\x0f\n" +
|
|
|
|
"\rC2SUserLogout\"0\n" +
|
|
|
|
"\rS2CUserLogout\x12\x1f\n" +
|
|
|
|
"\x04code\x18\x01 \x01(\x0e2\v.pb.ErrCodeR\x04code\")\n" +
|
|
|
|
"\x0eNtfUserOffline\x12\x17\n" +
|
|
|
|
"\auser_id\x18\x02 \x01(\x03R\x06userIdB\x11Z\x0fcommon/proto/pbb\x06proto3"
|
2025-05-26 20:12:45 +08:00
|
|
|
|
|
|
|
var (
|
|
|
|
file_login_proto_rawDescOnce sync.Once
|
|
|
|
file_login_proto_rawDescData []byte
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_login_proto_rawDescGZIP() []byte {
|
|
|
|
file_login_proto_rawDescOnce.Do(func() {
|
|
|
|
file_login_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_login_proto_rawDesc), len(file_login_proto_rawDesc)))
|
|
|
|
})
|
|
|
|
return file_login_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_login_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
|
var file_login_proto_goTypes = []any{
|
2025-05-28 20:19:11 +08:00
|
|
|
(*C2SUserLogin)(nil), // 0: pb.C2SUserLogin
|
|
|
|
(*S2CUserLogin)(nil), // 1: pb.S2CUserLogin
|
|
|
|
(*NtfUserOnline)(nil), // 2: pb.NtfUserOnline
|
|
|
|
(*C2SUserLogout)(nil), // 3: pb.C2SUserLogout
|
|
|
|
(*S2CUserLogout)(nil), // 4: pb.S2CUserLogout
|
|
|
|
(*NtfUserOffline)(nil), // 5: pb.NtfUserOffline
|
|
|
|
(ErrCode)(0), // 6: pb.ErrCode
|
2025-05-26 20:12:45 +08:00
|
|
|
}
|
|
|
|
var file_login_proto_depIdxs = []int32{
|
2025-05-28 20:19:11 +08:00
|
|
|
6, // 0: pb.S2CUserLogin.code:type_name -> pb.ErrCode
|
|
|
|
6, // 1: pb.S2CUserLogout.code:type_name -> pb.ErrCode
|
2025-05-26 20:12:45 +08:00
|
|
|
2, // [2:2] is the sub-list for method output_type
|
|
|
|
2, // [2:2] is the sub-list for method input_type
|
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
|
|
0, // [0:2] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_login_proto_init() }
|
|
|
|
func file_login_proto_init() {
|
|
|
|
if File_login_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
file_code_proto_init()
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_login_proto_rawDesc), len(file_login_proto_rawDesc)),
|
2025-05-28 20:19:11 +08:00
|
|
|
NumEnums: 0,
|
2025-05-26 20:12:45 +08:00
|
|
|
NumMessages: 6,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_login_proto_goTypes,
|
|
|
|
DependencyIndexes: file_login_proto_depIdxs,
|
|
|
|
MessageInfos: file_login_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_login_proto = out.File
|
|
|
|
file_login_proto_goTypes = nil
|
|
|
|
file_login_proto_depIdxs = nil
|
|
|
|
}
|