gsrpc

package
v0.0.127 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_game_server_rpc_proto protoreflect.FileDescriptor
View Source
var GmGameServerRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gsrpc.GmGameServerRpc",
	HandlerType: (*GmGameServerRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "sendGM",
			Handler:    _GmGameServerRpc_SendGM_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "game_server_rpc.proto",
}

GmGameServerRpc_ServiceDesc is the grpc.ServiceDesc for GmGameServerRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var GvgGameServerRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gsrpc.GvgGameServerRpc",
	HandlerType: (*GvgGameServerRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getGvgFleetByRid",
			Handler:    _GvgGameServerRpc_GetGvgFleetByRid_Handler,
		},
		{
			MethodName: "sendGvgReport",
			Handler:    _GvgGameServerRpc_SendGvgReport_Handler,
		},
		{
			MethodName: "isReady",
			Handler:    _GvgGameServerRpc_IsReady_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "game_server_rpc.proto",
}

GvgGameServerRpc_ServiceDesc is the grpc.ServiceDesc for GvgGameServerRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MarqueeGameServerRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gsrpc.MarqueeGameServerRpc",
	HandlerType: (*MarqueeGameServerRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "marqueeActive",
			Handler:    _MarqueeGameServerRpc_MarqueeActive_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "game_server_rpc.proto",
}

MarqueeGameServerRpc_ServiceDesc is the grpc.ServiceDesc for MarqueeGameServerRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RechargeGameServerRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gsrpc.RechargeGameServerRpc",
	HandlerType: (*RechargeGameServerRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "delive",
			Handler:    _RechargeGameServerRpc_Delive_Handler,
		},
		{
			MethodName: "addGift",
			Handler:    _RechargeGameServerRpc_AddGift_Handler,
		},
		{
			MethodName: "addAlertGift",
			Handler:    _RechargeGameServerRpc_AddAlertGift_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "game_server_rpc.proto",
}

RechargeGameServerRpc_ServiceDesc is the grpc.ServiceDesc for RechargeGameServerRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ServerService2_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gsrpc.ServerService2",
	HandlerType: (*ServerService2Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "sendRoleMail",
			Handler:    _ServerService2_SendRoleMail_Handler,
		},
		{
			MethodName: "exportRoleData",
			Handler:    _ServerService2_ExportRoleData_Handler,
		},
		{
			MethodName: "importRoleData",
			Handler:    _ServerService2_ImportRoleData_Handler,
		},
		{
			MethodName: "sendServMail",
			Handler:    _ServerService2_SendServMail_Handler,
		},
		{
			MethodName: "offline",
			Handler:    _ServerService2_Offline_Handler,
		},
		{
			MethodName: "timeJump",
			Handler:    _ServerService2_TimeJump_Handler,
		},
		{
			MethodName: "getNotInitedRids",
			Handler:    _ServerService2_GetNotInitedRids_Handler,
		},
		{
			MethodName: "deleteNotInitRid",
			Handler:    _ServerService2_DeleteNotInitRid_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "game_server_rpc.proto",
}

ServerService2_ServiceDesc is the grpc.ServiceDesc for ServerService2 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGmGameServerRpcServer added in v0.0.3

func RegisterGmGameServerRpcServer(s grpc.ServiceRegistrar, srv GmGameServerRpcServer)

func RegisterGvgGameServerRpcServer added in v0.0.99

func RegisterGvgGameServerRpcServer(s grpc.ServiceRegistrar, srv GvgGameServerRpcServer)

func RegisterMarqueeGameServerRpcServer added in v0.0.122

func RegisterMarqueeGameServerRpcServer(s grpc.ServiceRegistrar, srv MarqueeGameServerRpcServer)

func RegisterRechargeGameServerRpcServer added in v0.0.23

func RegisterRechargeGameServerRpcServer(s grpc.ServiceRegistrar, srv RechargeGameServerRpcServer)

func RegisterServerService2Server

func RegisterServerService2Server(s grpc.ServiceRegistrar, srv ServerService2Server)

Types

type DeleteNotInitedRidReq added in v0.0.87

type DeleteNotInitedRidReq struct {
	Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"`
	// contains filtered or unexported fields
}

删除未创角的用户数据

func (*DeleteNotInitedRidReq) Descriptor deprecated added in v0.0.87

func (*DeleteNotInitedRidReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNotInitedRidReq.ProtoReflect.Descriptor instead.

func (*DeleteNotInitedRidReq) GetRid added in v0.0.87

func (x *DeleteNotInitedRidReq) GetRid() int32

func (*DeleteNotInitedRidReq) ProtoMessage added in v0.0.87

func (*DeleteNotInitedRidReq) ProtoMessage()

func (*DeleteNotInitedRidReq) ProtoReflect added in v0.0.87

func (x *DeleteNotInitedRidReq) ProtoReflect() protoreflect.Message

func (*DeleteNotInitedRidReq) Reset added in v0.0.87

func (x *DeleteNotInitedRidReq) Reset()

func (*DeleteNotInitedRidReq) String added in v0.0.87

func (x *DeleteNotInitedRidReq) String() string

type DeleteNotInitedRidResp added in v0.0.87

type DeleteNotInitedRidResp struct {
	// contains filtered or unexported fields
}

func (*DeleteNotInitedRidResp) Descriptor deprecated added in v0.0.87

func (*DeleteNotInitedRidResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNotInitedRidResp.ProtoReflect.Descriptor instead.

func (*DeleteNotInitedRidResp) ProtoMessage added in v0.0.87

func (*DeleteNotInitedRidResp) ProtoMessage()

func (*DeleteNotInitedRidResp) ProtoReflect added in v0.0.87

func (x *DeleteNotInitedRidResp) ProtoReflect() protoreflect.Message

func (*DeleteNotInitedRidResp) Reset added in v0.0.87

func (x *DeleteNotInitedRidResp) Reset()

func (*DeleteNotInitedRidResp) String added in v0.0.87

func (x *DeleteNotInitedRidResp) String() string

type ExportRoleDataIn

type ExportRoleDataIn struct {
	Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportRoleDataIn) Descriptor deprecated

func (*ExportRoleDataIn) Descriptor() ([]byte, []int)

Deprecated: Use ExportRoleDataIn.ProtoReflect.Descriptor instead.

func (*ExportRoleDataIn) GetRid

func (x *ExportRoleDataIn) GetRid() int32

func (*ExportRoleDataIn) ProtoMessage

func (*ExportRoleDataIn) ProtoMessage()

func (*ExportRoleDataIn) ProtoReflect

func (x *ExportRoleDataIn) ProtoReflect() protoreflect.Message

func (*ExportRoleDataIn) Reset

func (x *ExportRoleDataIn) Reset()

func (*ExportRoleDataIn) String

func (x *ExportRoleDataIn) String() string

type ExportRoleDataOut

type ExportRoleDataOut struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportRoleDataOut) Descriptor deprecated

func (*ExportRoleDataOut) Descriptor() ([]byte, []int)

Deprecated: Use ExportRoleDataOut.ProtoReflect.Descriptor instead.

func (*ExportRoleDataOut) GetCode

func (x *ExportRoleDataOut) GetCode() int32

func (*ExportRoleDataOut) GetData

func (x *ExportRoleDataOut) GetData() []byte

func (*ExportRoleDataOut) GetMessage

func (x *ExportRoleDataOut) GetMessage() string

func (*ExportRoleDataOut) ProtoMessage

func (*ExportRoleDataOut) ProtoMessage()

func (*ExportRoleDataOut) ProtoReflect

func (x *ExportRoleDataOut) ProtoReflect() protoreflect.Message

func (*ExportRoleDataOut) Reset

func (x *ExportRoleDataOut) Reset()

func (*ExportRoleDataOut) String

func (x *ExportRoleDataOut) String() string

type GetNotInitedRidsReq added in v0.0.87

type GetNotInitedRidsReq struct {
	// contains filtered or unexported fields
}

func (*GetNotInitedRidsReq) Descriptor deprecated added in v0.0.87

func (*GetNotInitedRidsReq) Descriptor() ([]byte, []int)

Deprecated: Use GetNotInitedRidsReq.ProtoReflect.Descriptor instead.

func (*GetNotInitedRidsReq) ProtoMessage added in v0.0.87

func (*GetNotInitedRidsReq) ProtoMessage()

func (*GetNotInitedRidsReq) ProtoReflect added in v0.0.87

func (x *GetNotInitedRidsReq) ProtoReflect() protoreflect.Message

func (*GetNotInitedRidsReq) Reset added in v0.0.87

func (x *GetNotInitedRidsReq) Reset()

func (*GetNotInitedRidsReq) String added in v0.0.87

func (x *GetNotInitedRidsReq) String() string

type GetNotInitedRidsResp added in v0.0.87

type GetNotInitedRidsResp struct {
	Ids []*NotInited `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotInitedRidsResp) Descriptor deprecated added in v0.0.87

func (*GetNotInitedRidsResp) Descriptor() ([]byte, []int)

Deprecated: Use GetNotInitedRidsResp.ProtoReflect.Descriptor instead.

func (*GetNotInitedRidsResp) GetIds added in v0.0.89

func (x *GetNotInitedRidsResp) GetIds() []*NotInited

func (*GetNotInitedRidsResp) ProtoMessage added in v0.0.87

func (*GetNotInitedRidsResp) ProtoMessage()

func (*GetNotInitedRidsResp) ProtoReflect added in v0.0.87

func (x *GetNotInitedRidsResp) ProtoReflect() protoreflect.Message

func (*GetNotInitedRidsResp) Reset added in v0.0.87

func (x *GetNotInitedRidsResp) Reset()

func (*GetNotInitedRidsResp) String added in v0.0.87

func (x *GetNotInitedRidsResp) String() string

type GmGameServerRpcClient added in v0.0.3

type GmGameServerRpcClient interface {
	//通用gm,string格式转发到游服,避免添加命令修改多个项目
	SendGM(ctx context.Context, in *GmSendGMReq, opts ...grpc.CallOption) (*GmSendGMResp, error)
}

GmGameServerRpcClient is the client API for GmGameServerRpc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGmGameServerRpcClient added in v0.0.3

func NewGmGameServerRpcClient(cc grpc.ClientConnInterface) GmGameServerRpcClient

type GmGameServerRpcServer added in v0.0.3

type GmGameServerRpcServer interface {
	//通用gm,string格式转发到游服,避免添加命令修改多个项目
	SendGM(context.Context, *GmSendGMReq) (*GmSendGMResp, error)
	// contains filtered or unexported methods
}

GmGameServerRpcServer is the server API for GmGameServerRpc service. All implementations must embed UnimplementedGmGameServerRpcServer for forward compatibility

type GmSendGMReq added in v0.0.59

type GmSendGMReq struct {
	Gmid   int32    `protobuf:"varint,1,opt,name=gmid,proto3" json:"gmid,omitempty"`
	Params []string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*GmSendGMReq) Descriptor deprecated added in v0.0.59

func (*GmSendGMReq) Descriptor() ([]byte, []int)

Deprecated: Use GmSendGMReq.ProtoReflect.Descriptor instead.

func (*GmSendGMReq) GetGmid added in v0.0.59

func (x *GmSendGMReq) GetGmid() int32

func (*GmSendGMReq) GetParams added in v0.0.59

func (x *GmSendGMReq) GetParams() []string

func (*GmSendGMReq) ProtoMessage added in v0.0.59

func (*GmSendGMReq) ProtoMessage()

func (*GmSendGMReq) ProtoReflect added in v0.0.59

func (x *GmSendGMReq) ProtoReflect() protoreflect.Message

func (*GmSendGMReq) Reset added in v0.0.59

func (x *GmSendGMReq) Reset()

func (*GmSendGMReq) String added in v0.0.59

func (x *GmSendGMReq) String() string

type GmSendGMResp added in v0.0.59

type GmSendGMResp struct {
	// contains filtered or unexported fields
}

func (*GmSendGMResp) Descriptor deprecated added in v0.0.59

func (*GmSendGMResp) Descriptor() ([]byte, []int)

Deprecated: Use GmSendGMResp.ProtoReflect.Descriptor instead.

func (*GmSendGMResp) ProtoMessage added in v0.0.59

func (*GmSendGMResp) ProtoMessage()

func (*GmSendGMResp) ProtoReflect added in v0.0.59

func (x *GmSendGMResp) ProtoReflect() protoreflect.Message

func (*GmSendGMResp) Reset added in v0.0.59

func (x *GmSendGMResp) Reset()

func (*GmSendGMResp) String added in v0.0.59

func (x *GmSendGMResp) String() string

type GvgFleetReq added in v0.0.99

type GvgFleetReq struct {
	Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"`
	Pos int32 `protobuf:"varint,2,opt,name=pos,proto3" json:"pos,omitempty"`
	// contains filtered or unexported fields
}

Gvg玩家舰队信息

func (*GvgFleetReq) Descriptor deprecated added in v0.0.99

func (*GvgFleetReq) Descriptor() ([]byte, []int)

Deprecated: Use GvgFleetReq.ProtoReflect.Descriptor instead.

func (*GvgFleetReq) GetPos added in v0.0.99

func (x *GvgFleetReq) GetPos() int32

func (*GvgFleetReq) GetRid added in v0.0.99

func (x *GvgFleetReq) GetRid() int32

func (*GvgFleetReq) ProtoMessage added in v0.0.99

func (*GvgFleetReq) ProtoMessage()

func (*GvgFleetReq) ProtoReflect added in v0.0.99

func (x *GvgFleetReq) ProtoReflect() protoreflect.Message

func (*GvgFleetReq) Reset added in v0.0.99

func (x *GvgFleetReq) Reset()

func (*GvgFleetReq) String added in v0.0.99

func (x *GvgFleetReq) String() string

type GvgFleetResp added in v0.0.99

type GvgFleetResp struct {
	Fleets []*WARSHIP_ITEM `protobuf:"bytes,1,rep,name=fleets,proto3" json:"fleets,omitempty"`
	// contains filtered or unexported fields
}

func (*GvgFleetResp) Descriptor deprecated added in v0.0.99

func (*GvgFleetResp) Descriptor() ([]byte, []int)

Deprecated: Use GvgFleetResp.ProtoReflect.Descriptor instead.

func (*GvgFleetResp) GetFleets added in v0.0.100

func (x *GvgFleetResp) GetFleets() []*WARSHIP_ITEM

func (*GvgFleetResp) ProtoMessage added in v0.0.99

func (*GvgFleetResp) ProtoMessage()

func (*GvgFleetResp) ProtoReflect added in v0.0.99

func (x *GvgFleetResp) ProtoReflect() protoreflect.Message

func (*GvgFleetResp) Reset added in v0.0.99

func (x *GvgFleetResp) Reset()

func (*GvgFleetResp) String added in v0.0.99

func (x *GvgFleetResp) String() string

type GvgGameServerRpcClient added in v0.0.99

type GvgGameServerRpcClient interface {
	// gvg获取玩家舰队信息
	GetGvgFleetByRid(ctx context.Context, in *GvgFleetReq, opts ...grpc.CallOption) (*GvgFleetResp, error)
	// gvg发送战报
	SendGvgReport(ctx context.Context, in *GvgReportReq, opts ...grpc.CallOption) (*GvgReportResp, error)
	// 查询主服是否准备好
	IsReady(ctx context.Context, in *GvgIsReadyReq, opts ...grpc.CallOption) (*GvgIsReadyResp, error)
}

GvgGameServerRpcClient is the client API for GvgGameServerRpc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGvgGameServerRpcClient added in v0.0.99

func NewGvgGameServerRpcClient(cc grpc.ClientConnInterface) GvgGameServerRpcClient

type GvgGameServerRpcServer added in v0.0.99

type GvgGameServerRpcServer interface {
	// gvg获取玩家舰队信息
	GetGvgFleetByRid(context.Context, *GvgFleetReq) (*GvgFleetResp, error)
	// gvg发送战报
	SendGvgReport(context.Context, *GvgReportReq) (*GvgReportResp, error)
	// 查询主服是否准备好
	IsReady(context.Context, *GvgIsReadyReq) (*GvgIsReadyResp, error)
	// contains filtered or unexported methods
}

GvgGameServerRpcServer is the server API for GvgGameServerRpc service. All implementations must embed UnimplementedGvgGameServerRpcServer for forward compatibility

type GvgIsReadyReq added in v0.0.115

type GvgIsReadyReq struct {
	// contains filtered or unexported fields
}

func (*GvgIsReadyReq) Descriptor deprecated added in v0.0.115

func (*GvgIsReadyReq) Descriptor() ([]byte, []int)

Deprecated: Use GvgIsReadyReq.ProtoReflect.Descriptor instead.

func (*GvgIsReadyReq) ProtoMessage added in v0.0.115

func (*GvgIsReadyReq) ProtoMessage()

func (*GvgIsReadyReq) ProtoReflect added in v0.0.115

func (x *GvgIsReadyReq) ProtoReflect() protoreflect.Message

func (*GvgIsReadyReq) Reset added in v0.0.115

func (x *GvgIsReadyReq) Reset()

func (*GvgIsReadyReq) String added in v0.0.115

func (x *GvgIsReadyReq) String() string

type GvgIsReadyResp added in v0.0.115

type GvgIsReadyResp struct {
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}

func (*GvgIsReadyResp) Descriptor deprecated added in v0.0.115

func (*GvgIsReadyResp) Descriptor() ([]byte, []int)

Deprecated: Use GvgIsReadyResp.ProtoReflect.Descriptor instead.

func (*GvgIsReadyResp) GetReady added in v0.0.115

func (x *GvgIsReadyResp) GetReady() bool

func (*GvgIsReadyResp) ProtoMessage added in v0.0.115

func (*GvgIsReadyResp) ProtoMessage()

func (*GvgIsReadyResp) ProtoReflect added in v0.0.115

func (x *GvgIsReadyResp) ProtoReflect() protoreflect.Message

func (*GvgIsReadyResp) Reset added in v0.0.115

func (x *GvgIsReadyResp) Reset()

func (*GvgIsReadyResp) String added in v0.0.115

func (x *GvgIsReadyResp) String() string

type GvgReportReq added in v0.0.100

type GvgReportReq struct {
	Rid int32  `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"`
	Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
	V   string `protobuf:"bytes,3,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*GvgReportReq) Descriptor deprecated added in v0.0.100

func (*GvgReportReq) Descriptor() ([]byte, []int)

Deprecated: Use GvgReportReq.ProtoReflect.Descriptor instead.

func (*GvgReportReq) GetCid added in v0.0.100

func (x *GvgReportReq) GetCid() string

func (*GvgReportReq) GetRid added in v0.0.100

func (x *GvgReportReq) GetRid() int32

func (*GvgReportReq) GetV added in v0.0.100

func (x *GvgReportReq) GetV() string

func (*GvgReportReq) ProtoMessage added in v0.0.100

func (*GvgReportReq) ProtoMessage()

func (*GvgReportReq) ProtoReflect added in v0.0.100

func (x *GvgReportReq) ProtoReflect() protoreflect.Message

func (*GvgReportReq) Reset added in v0.0.100

func (x *GvgReportReq) Reset()

func (*GvgReportReq) String added in v0.0.100

func (x *GvgReportReq) String() string

type GvgReportResp added in v0.0.100

type GvgReportResp struct {
	// contains filtered or unexported fields
}

func (*GvgReportResp) Descriptor deprecated added in v0.0.100

func (*GvgReportResp) Descriptor() ([]byte, []int)

Deprecated: Use GvgReportResp.ProtoReflect.Descriptor instead.

func (*GvgReportResp) ProtoMessage added in v0.0.100

func (*GvgReportResp) ProtoMessage()

func (*GvgReportResp) ProtoReflect added in v0.0.100

func (x *GvgReportResp) ProtoReflect() protoreflect.Message

func (*GvgReportResp) Reset added in v0.0.100

func (x *GvgReportResp) Reset()

func (*GvgReportResp) String added in v0.0.100

func (x *GvgReportResp) String() string

type HERO_ITEM added in v0.0.100

type HERO_ITEM struct {
	Hid int32 `protobuf:"varint,1,opt,name=hid,proto3" json:"hid,omitempty"`
	Hp  int64 `protobuf:"varint,2,opt,name=hp,proto3" json:"hp,omitempty"`
	// contains filtered or unexported fields
}

伙伴基本信息

func (*HERO_ITEM) Descriptor deprecated added in v0.0.100

func (*HERO_ITEM) Descriptor() ([]byte, []int)

Deprecated: Use HERO_ITEM.ProtoReflect.Descriptor instead.

func (*HERO_ITEM) GetHid added in v0.0.100

func (x *HERO_ITEM) GetHid() int32

func (*HERO_ITEM) GetHp added in v0.0.100

func (x *HERO_ITEM) GetHp() int64

func (*HERO_ITEM) ProtoMessage added in v0.0.100

func (*HERO_ITEM) ProtoMessage()

func (*HERO_ITEM) ProtoReflect added in v0.0.100

func (x *HERO_ITEM) ProtoReflect() protoreflect.Message

func (*HERO_ITEM) Reset added in v0.0.100

func (x *HERO_ITEM) Reset()

func (*HERO_ITEM) String added in v0.0.100

func (x *HERO_ITEM) String() string

type ImportRoleDataIn

type ImportRoleDataIn struct {
	Uid  int32  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Rid  int32  `protobuf:"varint,2,opt,name=rid,proto3" json:"rid,omitempty"`
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportRoleDataIn) Descriptor deprecated

func (*ImportRoleDataIn) Descriptor() ([]byte, []int)

Deprecated: Use ImportRoleDataIn.ProtoReflect.Descriptor instead.

func (*ImportRoleDataIn) GetData

func (x *ImportRoleDataIn) GetData() []byte

func (*ImportRoleDataIn) GetRid

func (x *ImportRoleDataIn) GetRid() int32

func (*ImportRoleDataIn) GetUid

func (x *ImportRoleDataIn) GetUid() int32

func (*ImportRoleDataIn) ProtoMessage

func (*ImportRoleDataIn) ProtoMessage()

func (*ImportRoleDataIn) ProtoReflect

func (x *ImportRoleDataIn) ProtoReflect() protoreflect.Message

func (*ImportRoleDataIn) Reset

func (x *ImportRoleDataIn) Reset()

func (*ImportRoleDataIn) String

func (x *ImportRoleDataIn) String() string

type ImportRoleDataOut

type ImportRoleDataOut struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportRoleDataOut) Descriptor deprecated

func (*ImportRoleDataOut) Descriptor() ([]byte, []int)

Deprecated: Use ImportRoleDataOut.ProtoReflect.Descriptor instead.

func (*ImportRoleDataOut) GetCode

func (x *ImportRoleDataOut) GetCode() int32

func (*ImportRoleDataOut) GetMessage

func (x *ImportRoleDataOut) GetMessage() string

func (*ImportRoleDataOut) ProtoMessage

func (*ImportRoleDataOut) ProtoMessage()

func (*ImportRoleDataOut) ProtoReflect

func (x *ImportRoleDataOut) ProtoReflect() protoreflect.Message

func (*ImportRoleDataOut) Reset

func (x *ImportRoleDataOut) Reset()

func (*ImportRoleDataOut) String

func (x *ImportRoleDataOut) String() string

type K32V64

type K32V64 struct {
	K int32 `protobuf:"varint,1,opt,name=k,proto3" json:"k,omitempty"`
	V int64 `protobuf:"varint,2,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*K32V64) Descriptor deprecated

func (*K32V64) Descriptor() ([]byte, []int)

Deprecated: Use K32V64.ProtoReflect.Descriptor instead.

func (*K32V64) GetK

func (x *K32V64) GetK() int32

func (*K32V64) GetV

func (x *K32V64) GetV() int64

func (*K32V64) ProtoMessage

func (*K32V64) ProtoMessage()

func (*K32V64) ProtoReflect

func (x *K32V64) ProtoReflect() protoreflect.Message

func (*K32V64) Reset

func (x *K32V64) Reset()

func (*K32V64) String

func (x *K32V64) String() string

type MailLanInfo added in v0.0.36

type MailLanInfo struct {
	Language      string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // 对应语言
	Header        string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`     // 自定义标题
	Content       string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`   // 自定义内容
	BackgroundUrl string `protobuf:"bytes,4,opt,name=backgroundUrl,proto3" json:"backgroundUrl,omitempty"`
	// contains filtered or unexported fields
}

多语言邮件内容

func (*MailLanInfo) Descriptor deprecated added in v0.0.36

func (*MailLanInfo) Descriptor() ([]byte, []int)

Deprecated: Use MailLanInfo.ProtoReflect.Descriptor instead.

func (*MailLanInfo) GetBackgroundUrl added in v0.0.46

func (x *MailLanInfo) GetBackgroundUrl() string

func (*MailLanInfo) GetContent added in v0.0.46

func (x *MailLanInfo) GetContent() string

func (*MailLanInfo) GetHeader added in v0.0.46

func (x *MailLanInfo) GetHeader() string

func (*MailLanInfo) GetLanguage added in v0.0.46

func (x *MailLanInfo) GetLanguage() string

func (*MailLanInfo) ProtoMessage added in v0.0.36

func (*MailLanInfo) ProtoMessage()

func (*MailLanInfo) ProtoReflect added in v0.0.36

func (x *MailLanInfo) ProtoReflect() protoreflect.Message

func (*MailLanInfo) Reset added in v0.0.36

func (x *MailLanInfo) Reset()

func (*MailLanInfo) String added in v0.0.36

func (x *MailLanInfo) String() string

type MarqueeActiveReq added in v0.0.122

type MarqueeActiveReq struct {
	// contains filtered or unexported fields
}

func (*MarqueeActiveReq) Descriptor deprecated added in v0.0.122

func (*MarqueeActiveReq) Descriptor() ([]byte, []int)

Deprecated: Use MarqueeActiveReq.ProtoReflect.Descriptor instead.

func (*MarqueeActiveReq) ProtoMessage added in v0.0.122

func (*MarqueeActiveReq) ProtoMessage()

func (*MarqueeActiveReq) ProtoReflect added in v0.0.122

func (x *MarqueeActiveReq) ProtoReflect() protoreflect.Message

func (*MarqueeActiveReq) Reset added in v0.0.122

func (x *MarqueeActiveReq) Reset()

func (*MarqueeActiveReq) String added in v0.0.122

func (x *MarqueeActiveReq) String() string

type MarqueeActiveResp added in v0.0.122

type MarqueeActiveResp struct {
	// contains filtered or unexported fields
}

func (*MarqueeActiveResp) Descriptor deprecated added in v0.0.122

func (*MarqueeActiveResp) Descriptor() ([]byte, []int)

Deprecated: Use MarqueeActiveResp.ProtoReflect.Descriptor instead.

func (*MarqueeActiveResp) ProtoMessage added in v0.0.122

func (*MarqueeActiveResp) ProtoMessage()

func (*MarqueeActiveResp) ProtoReflect added in v0.0.122

func (x *MarqueeActiveResp) ProtoReflect() protoreflect.Message

func (*MarqueeActiveResp) Reset added in v0.0.122

func (x *MarqueeActiveResp) Reset()

func (*MarqueeActiveResp) String added in v0.0.122

func (x *MarqueeActiveResp) String() string

type MarqueeGameServerRpcClient added in v0.0.122

type MarqueeGameServerRpcClient interface {
	// 通知走马灯激活
	MarqueeActive(ctx context.Context, in *MarqueeActiveReq, opts ...grpc.CallOption) (*MarqueeActiveResp, error)
}

MarqueeGameServerRpcClient is the client API for MarqueeGameServerRpc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMarqueeGameServerRpcClient added in v0.0.122

func NewMarqueeGameServerRpcClient(cc grpc.ClientConnInterface) MarqueeGameServerRpcClient

type MarqueeGameServerRpcServer added in v0.0.122

type MarqueeGameServerRpcServer interface {
	// 通知走马灯激活
	MarqueeActive(context.Context, *MarqueeActiveReq) (*MarqueeActiveResp, error)
	// contains filtered or unexported methods
}

MarqueeGameServerRpcServer is the server API for MarqueeGameServerRpc service. All implementations must embed UnimplementedMarqueeGameServerRpcServer for forward compatibility

type NotInited added in v0.0.89

type NotInited struct {
	Cuid string `protobuf:"bytes,1,opt,name=cuid,proto3" json:"cuid,omitempty"`
	Rid  int32  `protobuf:"varint,2,opt,name=rid,proto3" json:"rid,omitempty"`
	// contains filtered or unexported fields
}

未创角的用户列表

func (*NotInited) Descriptor deprecated added in v0.0.89

func (*NotInited) Descriptor() ([]byte, []int)

Deprecated: Use NotInited.ProtoReflect.Descriptor instead.

func (*NotInited) GetCuid added in v0.0.89

func (x *NotInited) GetCuid() string

func (*NotInited) GetRid added in v0.0.89

func (x *NotInited) GetRid() int32

func (*NotInited) ProtoMessage added in v0.0.89

func (*NotInited) ProtoMessage()

func (*NotInited) ProtoReflect added in v0.0.89

func (x *NotInited) ProtoReflect() protoreflect.Message

func (*NotInited) Reset added in v0.0.89

func (x *NotInited) Reset()

func (*NotInited) String added in v0.0.89

func (x *NotInited) String() string

type RechargeAlertGiftReq added in v0.0.118

type RechargeAlertGiftReq struct {
	GiftId int32 `protobuf:"varint,1,opt,name=giftId,proto3" json:"giftId,omitempty"`
	Rid    int32 `protobuf:"varint,2,opt,name=rid,proto3" json:"rid,omitempty"`
	// contains filtered or unexported fields
}

func (*RechargeAlertGiftReq) Descriptor deprecated added in v0.0.118

func (*RechargeAlertGiftReq) Descriptor() ([]byte, []int)

Deprecated: Use RechargeAlertGiftReq.ProtoReflect.Descriptor instead.

func (*RechargeAlertGiftReq) GetGiftId added in v0.0.118

func (x *RechargeAlertGiftReq) GetGiftId() int32

func (*RechargeAlertGiftReq) GetRid added in v0.0.118

func (x *RechargeAlertGiftReq) GetRid() int32

func (*RechargeAlertGiftReq) ProtoMessage added in v0.0.118

func (*RechargeAlertGiftReq) ProtoMessage()

func (*RechargeAlertGiftReq) ProtoReflect added in v0.0.118

func (x *RechargeAlertGiftReq) ProtoReflect() protoreflect.Message

func (*RechargeAlertGiftReq) Reset added in v0.0.118

func (x *RechargeAlertGiftReq) Reset()

func (*RechargeAlertGiftReq) String added in v0.0.118

func (x *RechargeAlertGiftReq) String() string

type RechargeAlertGiftResp added in v0.0.118

type RechargeAlertGiftResp struct {
	// contains filtered or unexported fields
}

func (*RechargeAlertGiftResp) Descriptor deprecated added in v0.0.118

func (*RechargeAlertGiftResp) Descriptor() ([]byte, []int)

Deprecated: Use RechargeAlertGiftResp.ProtoReflect.Descriptor instead.

func (*RechargeAlertGiftResp) ProtoMessage added in v0.0.118

func (*RechargeAlertGiftResp) ProtoMessage()

func (*RechargeAlertGiftResp) ProtoReflect added in v0.0.118

func (x *RechargeAlertGiftResp) ProtoReflect() protoreflect.Message

func (*RechargeAlertGiftResp) Reset added in v0.0.118

func (x *RechargeAlertGiftResp) Reset()

func (*RechargeAlertGiftResp) String added in v0.0.118

func (x *RechargeAlertGiftResp) String() string

type RechargeDeliveReq added in v0.0.23

type RechargeDeliveReq struct {
	Cuid     string `protobuf:"bytes,2,opt,name=cuid,proto3" json:"cuid,omitempty"`
	Rid      int32  `protobuf:"varint,3,opt,name=rid,proto3" json:"rid,omitempty"`
	ServerId int32  `protobuf:"varint,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Id       int32  `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"`            // 商品 id
	Platform string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"` //用于区分ai礼包
	// contains filtered or unexported fields
}

充值-发货

func (*RechargeDeliveReq) Descriptor deprecated added in v0.0.23

func (*RechargeDeliveReq) Descriptor() ([]byte, []int)

Deprecated: Use RechargeDeliveReq.ProtoReflect.Descriptor instead.

func (*RechargeDeliveReq) GetCuid added in v0.0.23

func (x *RechargeDeliveReq) GetCuid() string

func (*RechargeDeliveReq) GetId added in v0.0.23

func (x *RechargeDeliveReq) GetId() int32

func (*RechargeDeliveReq) GetPlatform added in v0.0.112

func (x *RechargeDeliveReq) GetPlatform() string

func (*RechargeDeliveReq) GetRid added in v0.0.23

func (x *RechargeDeliveReq) GetRid() int32

func (*RechargeDeliveReq) GetServerId added in v0.0.23

func (x *RechargeDeliveReq) GetServerId() int32

func (*RechargeDeliveReq) ProtoMessage added in v0.0.23

func (*RechargeDeliveReq) ProtoMessage()

func (*RechargeDeliveReq) ProtoReflect added in v0.0.23

func (x *RechargeDeliveReq) ProtoReflect() protoreflect.Message

func (*RechargeDeliveReq) Reset added in v0.0.23

func (x *RechargeDeliveReq) Reset()

func (*RechargeDeliveReq) String added in v0.0.23

func (x *RechargeDeliveReq) String() string

type RechargeDeliveResp added in v0.0.23

type RechargeDeliveResp struct {
	// contains filtered or unexported fields
}

func (*RechargeDeliveResp) Descriptor deprecated added in v0.0.23

func (*RechargeDeliveResp) Descriptor() ([]byte, []int)

Deprecated: Use RechargeDeliveResp.ProtoReflect.Descriptor instead.

func (*RechargeDeliveResp) ProtoMessage added in v0.0.23

func (*RechargeDeliveResp) ProtoMessage()

func (*RechargeDeliveResp) ProtoReflect added in v0.0.23

func (x *RechargeDeliveResp) ProtoReflect() protoreflect.Message

func (*RechargeDeliveResp) Reset added in v0.0.23

func (x *RechargeDeliveResp) Reset()

func (*RechargeDeliveResp) String added in v0.0.23

func (x *RechargeDeliveResp) String() string

type RechargeGameServerRpcClient added in v0.0.23

type RechargeGameServerRpcClient interface {
	// 充值-发货
	Delive(ctx context.Context, in *RechargeDeliveReq, opts ...grpc.CallOption) (*RechargeDeliveResp, error)
	// 充值-AI礼包
	AddGift(ctx context.Context, in *RechargeGiftReq, opts ...grpc.CallOption) (*RechargeGiftResp, error)
	// 充值-弹窗礼包
	AddAlertGift(ctx context.Context, in *RechargeAlertGiftReq, opts ...grpc.CallOption) (*RechargeAlertGiftResp, error)
}

RechargeGameServerRpcClient is the client API for RechargeGameServerRpc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRechargeGameServerRpcClient added in v0.0.23

func NewRechargeGameServerRpcClient(cc grpc.ClientConnInterface) RechargeGameServerRpcClient

type RechargeGameServerRpcServer added in v0.0.23

type RechargeGameServerRpcServer interface {
	// 充值-发货
	Delive(context.Context, *RechargeDeliveReq) (*RechargeDeliveResp, error)
	// 充值-AI礼包
	AddGift(context.Context, *RechargeGiftReq) (*RechargeGiftResp, error)
	// 充值-弹窗礼包
	AddAlertGift(context.Context, *RechargeAlertGiftReq) (*RechargeAlertGiftResp, error)
	// contains filtered or unexported methods
}

RechargeGameServerRpcServer is the server API for RechargeGameServerRpc service. All implementations must embed UnimplementedRechargeGameServerRpcServer for forward compatibility

type RechargeGiftReq added in v0.0.41

type RechargeGiftReq struct {
	G123Id              string `protobuf:"bytes,1,opt,name=g123_id,json=g123Id,proto3" json:"g123_id,omitempty"`
	VipPoints           int32  `protobuf:"varint,2,opt,name=vipPoints,proto3" json:"vipPoints,omitempty"`
	AmountToDiamond     int32  `protobuf:"varint,3,opt,name=amountToDiamond,proto3" json:"amountToDiamond,omitempty"`
	Price               int32  `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"`
	Duration            int32  `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"`
	PurchaseLimitAmount int32  `protobuf:"varint,6,opt,name=purchaseLimitAmount,proto3" json:"purchaseLimitAmount,omitempty"`
	IsAISupported       bool   `protobuf:"varint,7,opt,name=isAISupported,proto3" json:"isAISupported,omitempty"`
	Items               string `protobuf:"bytes,8,opt,name=items,proto3" json:"items,omitempty"`
	BackGround          string `protobuf:"bytes,9,opt,name=backGround,proto3" json:"backGround,omitempty"`
	Rid                 int32  `protobuf:"varint,10,opt,name=rid,proto3" json:"rid,omitempty"`
	TemplateId          int32  `protobuf:"varint,11,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
	EndTs               int64  `protobuf:"varint,12,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`
	Status              int32  `protobuf:"varint,13,opt,name=status,proto3" json:"status,omitempty"`
	Id                  int64  `protobuf:"varint,14,opt,name=id,proto3" json:"id,omitempty"`
	PriceValueRatio     int32  `protobuf:"varint,15,opt,name=priceValueRatio,proto3" json:"priceValueRatio,omitempty"`
	// contains filtered or unexported fields
}

充值-礼包

func (*RechargeGiftReq) Descriptor deprecated added in v0.0.41

func (*RechargeGiftReq) Descriptor() ([]byte, []int)

Deprecated: Use RechargeGiftReq.ProtoReflect.Descriptor instead.

func (*RechargeGiftReq) GetAmountToDiamond added in v0.0.41

func (x *RechargeGiftReq) GetAmountToDiamond() int32

func (*RechargeGiftReq) GetBackGround added in v0.0.41

func (x *RechargeGiftReq) GetBackGround() string

func (*RechargeGiftReq) GetDuration added in v0.0.41

func (x *RechargeGiftReq) GetDuration() int32

func (*RechargeGiftReq) GetEndTs added in v0.0.107

func (x *RechargeGiftReq) GetEndTs() int64

func (*RechargeGiftReq) GetG123Id added in v0.0.108

func (x *RechargeGiftReq) GetG123Id() string

func (*RechargeGiftReq) GetId added in v0.0.41

func (x *RechargeGiftReq) GetId() int64

func (*RechargeGiftReq) GetIsAISupported added in v0.0.41

func (x *RechargeGiftReq) GetIsAISupported() bool

func (*RechargeGiftReq) GetItems added in v0.0.41

func (x *RechargeGiftReq) GetItems() string

func (*RechargeGiftReq) GetPrice added in v0.0.41

func (x *RechargeGiftReq) GetPrice() int32

func (*RechargeGiftReq) GetPriceValueRatio added in v0.0.111

func (x *RechargeGiftReq) GetPriceValueRatio() int32

func (*RechargeGiftReq) GetPurchaseLimitAmount added in v0.0.41

func (x *RechargeGiftReq) GetPurchaseLimitAmount() int32

func (*RechargeGiftReq) GetRid added in v0.0.51

func (x *RechargeGiftReq) GetRid() int32

func (*RechargeGiftReq) GetStatus added in v0.0.107

func (x *RechargeGiftReq) GetStatus() int32

func (*RechargeGiftReq) GetTemplateId added in v0.0.106

func (x *RechargeGiftReq) GetTemplateId() int32

func (*RechargeGiftReq) GetVipPoints added in v0.0.41

func (x *RechargeGiftReq) GetVipPoints() int32

func (*RechargeGiftReq) ProtoMessage added in v0.0.41

func (*RechargeGiftReq) ProtoMessage()

func (*RechargeGiftReq) ProtoReflect added in v0.0.41

func (x *RechargeGiftReq) ProtoReflect() protoreflect.Message

func (*RechargeGiftReq) Reset added in v0.0.41

func (x *RechargeGiftReq) Reset()

func (*RechargeGiftReq) String added in v0.0.41

func (x *RechargeGiftReq) String() string

type RechargeGiftResp added in v0.0.41

type RechargeGiftResp struct {
	// contains filtered or unexported fields
}

func (*RechargeGiftResp) Descriptor deprecated added in v0.0.41

func (*RechargeGiftResp) Descriptor() ([]byte, []int)

Deprecated: Use RechargeGiftResp.ProtoReflect.Descriptor instead.

func (*RechargeGiftResp) ProtoMessage added in v0.0.41

func (*RechargeGiftResp) ProtoMessage()

func (*RechargeGiftResp) ProtoReflect added in v0.0.41

func (x *RechargeGiftResp) ProtoReflect() protoreflect.Message

func (*RechargeGiftResp) Reset added in v0.0.41

func (x *RechargeGiftResp) Reset()

func (*RechargeGiftResp) String added in v0.0.41

func (x *RechargeGiftResp) String() string

type ServerArgsOffline added in v0.0.69

type ServerArgsOffline struct {
	Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"`
	// contains filtered or unexported fields
}

通知下线

func (*ServerArgsOffline) Descriptor deprecated added in v0.0.69

func (*ServerArgsOffline) Descriptor() ([]byte, []int)

Deprecated: Use ServerArgsOffline.ProtoReflect.Descriptor instead.

func (*ServerArgsOffline) GetRid added in v0.0.69

func (x *ServerArgsOffline) GetRid() int32

func (*ServerArgsOffline) ProtoMessage added in v0.0.69

func (*ServerArgsOffline) ProtoMessage()

func (*ServerArgsOffline) ProtoReflect added in v0.0.69

func (x *ServerArgsOffline) ProtoReflect() protoreflect.Message

func (*ServerArgsOffline) Reset added in v0.0.69

func (x *ServerArgsOffline) Reset()

func (*ServerArgsOffline) String added in v0.0.69

func (x *ServerArgsOffline) String() string

type ServerArgsRechargePush

type ServerArgsRechargePush struct {
	OrderId      string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`                  // 订单Id
	PackageType  int32  `protobuf:"varint,2,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`     // 包类型
	PayType      string `protobuf:"bytes,3,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"`                  // 支付类型
	SdkProductId string `protobuf:"bytes,4,opt,name=sdk_product_id,json=sdkProductId,proto3" json:"sdk_product_id,omitempty"` // SDK商品Id
	ProductId    int32  `protobuf:"varint,5,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`           // SDK商品Id
	Rid          int32  `protobuf:"varint,6,opt,name=rid,proto3" json:"rid,omitempty"`                                        // 角色Id
	CheckAmount  bool   `protobuf:"varint,7,opt,name=check_amount,json=checkAmount,proto3" json:"check_amount,omitempty"`
	Amount       string `protobuf:"bytes,8,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

充值推送

func (*ServerArgsRechargePush) Descriptor deprecated

func (*ServerArgsRechargePush) Descriptor() ([]byte, []int)

Deprecated: Use ServerArgsRechargePush.ProtoReflect.Descriptor instead.

func (*ServerArgsRechargePush) GetAmount

func (x *ServerArgsRechargePush) GetAmount() string

func (*ServerArgsRechargePush) GetCheckAmount

func (x *ServerArgsRechargePush) GetCheckAmount() bool

func (*ServerArgsRechargePush) GetOrderId

func (x *ServerArgsRechargePush) GetOrderId() string

func (*ServerArgsRechargePush) GetPackageType

func (x *ServerArgsRechargePush) GetPackageType() int32

func (*ServerArgsRechargePush) GetPayType

func (x *ServerArgsRechargePush) GetPayType() string

func (*ServerArgsRechargePush) GetProductId

func (x *ServerArgsRechargePush) GetProductId() int32

func (*ServerArgsRechargePush) GetRid

func (x *ServerArgsRechargePush) GetRid() int32

func (*ServerArgsRechargePush) GetSdkProductId

func (x *ServerArgsRechargePush) GetSdkProductId() string

func (*ServerArgsRechargePush) ProtoMessage

func (*ServerArgsRechargePush) ProtoMessage()

func (*ServerArgsRechargePush) ProtoReflect

func (x *ServerArgsRechargePush) ProtoReflect() protoreflect.Message

func (*ServerArgsRechargePush) Reset

func (x *ServerArgsRechargePush) Reset()

func (*ServerArgsRechargePush) String

func (x *ServerArgsRechargePush) String() string

type ServerArgsSendRoleMail

type ServerArgsSendRoleMail struct {
	Rids []int32 `protobuf:"varint,1,rep,packed,name=rids,proto3" json:"rids,omitempty"` // 角色Id集合
	//int32 char_f=2; // 多语言Key
	//int32 char_s=3; // 多语言Key
	Items []*K32V64 `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 奖励物品
	//repeated string lan=5;
	//repeated string custom_title=6; // 自定义标题
	//repeated string custom_content=7; // 自定义内容
	MailLan    []*MailLanInfo `protobuf:"bytes,3,rep,name=mail_lan,json=mailLan,proto3" json:"mail_lan,omitempty"`           // 邮件标题内容,多语言列表
	FirstType  int32          `protobuf:"varint,4,opt,name=first_type,json=firstType,proto3" json:"first_type,omitempty"`    // 大类
	SecondType int32          `protobuf:"varint,5,opt,name=second_type,json=secondType,proto3" json:"second_type,omitempty"` // 小类
	// contains filtered or unexported fields
}

发送角色邮件

func (*ServerArgsSendRoleMail) Descriptor deprecated

func (*ServerArgsSendRoleMail) Descriptor() ([]byte, []int)

Deprecated: Use ServerArgsSendRoleMail.ProtoReflect.Descriptor instead.

func (*ServerArgsSendRoleMail) GetFirstType added in v0.0.126

func (x *ServerArgsSendRoleMail) GetFirstType() int32

func (*ServerArgsSendRoleMail) GetItems

func (x *ServerArgsSendRoleMail) GetItems() []*K32V64

func (*ServerArgsSendRoleMail) GetMailLan added in v0.0.36

func (x *ServerArgsSendRoleMail) GetMailLan() []*MailLanInfo

func (*ServerArgsSendRoleMail) GetRids

func (x *ServerArgsSendRoleMail) GetRids() []int32

func (*ServerArgsSendRoleMail) GetSecondType added in v0.0.126

func (x *ServerArgsSendRoleMail) GetSecondType() int32

func (*ServerArgsSendRoleMail) ProtoMessage

func (*ServerArgsSendRoleMail) ProtoMessage()

func (*ServerArgsSendRoleMail) ProtoReflect

func (x *ServerArgsSendRoleMail) ProtoReflect() protoreflect.Message

func (*ServerArgsSendRoleMail) Reset

func (x *ServerArgsSendRoleMail) Reset()

func (*ServerArgsSendRoleMail) String

func (x *ServerArgsSendRoleMail) String() string

type ServerArgsSendServMail

type ServerArgsSendServMail struct {
	ServId           int32          `protobuf:"varint,1,opt,name=serv_id,json=servId,proto3" json:"serv_id,omitempty"`                               // 区服Id
	Items            []*K32V64      `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`                                                // 奖励物品
	MailLan          []*MailLanInfo `protobuf:"bytes,3,rep,name=mail_lan,json=mailLan,proto3" json:"mail_lan,omitempty"`                             // 邮件标题内容,多语言列表
	NeedLvMin        int32          `protobuf:"varint,4,opt,name=need_lv_min,json=needLvMin,proto3" json:"need_lv_min,omitempty"`                    // 最小收到等级
	NeedLvMax        int32          `protobuf:"varint,5,opt,name=need_lv_max,json=needLvMax,proto3" json:"need_lv_max,omitempty"`                    // 最大收到等级
	RegisteredBefore int64          `protobuf:"varint,6,opt,name=registered_before,json=registeredBefore,proto3" json:"registered_before,omitempty"` // 创角时间在此之前 13位时间戳(ms)
	RegisteredAfter  int64          `protobuf:"varint,7,opt,name=registered_after,json=registeredAfter,proto3" json:"registered_after,omitempty"`    // 创角时间在此之后 13位时间戳(ms)
	MailId           int64          `protobuf:"varint,8,opt,name=mail_id,json=mailId,proto3" json:"mail_id,omitempty"`                               // 邮件id
	FirstType        int32          `protobuf:"varint,9,opt,name=first_type,json=firstType,proto3" json:"first_type,omitempty"`                      // 大类
	SecondType       int32          `protobuf:"varint,10,opt,name=second_type,json=secondType,proto3" json:"second_type,omitempty"`                  // 小类
	// contains filtered or unexported fields
}

发送区服邮件

func (*ServerArgsSendServMail) Descriptor deprecated

func (*ServerArgsSendServMail) Descriptor() ([]byte, []int)

Deprecated: Use ServerArgsSendServMail.ProtoReflect.Descriptor instead.

func (*ServerArgsSendServMail) GetFirstType added in v0.0.53

func (x *ServerArgsSendServMail) GetFirstType() int32

func (*ServerArgsSendServMail) GetItems

func (x *ServerArgsSendServMail) GetItems() []*K32V64

func (*ServerArgsSendServMail) GetMailId added in v0.0.52

func (x *ServerArgsSendServMail) GetMailId() int64

func (*ServerArgsSendServMail) GetMailLan added in v0.0.36

func (x *ServerArgsSendServMail) GetMailLan() []*MailLanInfo

func (*ServerArgsSendServMail) GetNeedLvMax added in v0.0.36

func (x *ServerArgsSendServMail) GetNeedLvMax() int32

func (*ServerArgsSendServMail) GetNeedLvMin added in v0.0.36

func (x *ServerArgsSendServMail) GetNeedLvMin() int32

func (*ServerArgsSendServMail) GetRegisteredAfter added in v0.0.50

func (x *ServerArgsSendServMail) GetRegisteredAfter() int64

func (*ServerArgsSendServMail) GetRegisteredBefore added in v0.0.50

func (x *ServerArgsSendServMail) GetRegisteredBefore() int64

func (*ServerArgsSendServMail) GetSecondType added in v0.0.53

func (x *ServerArgsSendServMail) GetSecondType() int32

func (*ServerArgsSendServMail) GetServId

func (x *ServerArgsSendServMail) GetServId() int32

func (*ServerArgsSendServMail) ProtoMessage

func (*ServerArgsSendServMail) ProtoMessage()

func (*ServerArgsSendServMail) ProtoReflect

func (x *ServerArgsSendServMail) ProtoReflect() protoreflect.Message

func (*ServerArgsSendServMail) Reset

func (x *ServerArgsSendServMail) Reset()

func (*ServerArgsSendServMail) String

func (x *ServerArgsSendServMail) String() string

type ServerArgsTimeJump

type ServerArgsTimeJump struct {
	Time   string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`      // time str
	Cancel bool   `protobuf:"varint,2,opt,name=cancel,proto3" json:"cancel,omitempty"` // 取消
	// contains filtered or unexported fields
}

时间跳跃

func (*ServerArgsTimeJump) Descriptor deprecated

func (*ServerArgsTimeJump) Descriptor() ([]byte, []int)

Deprecated: Use ServerArgsTimeJump.ProtoReflect.Descriptor instead.

func (*ServerArgsTimeJump) GetCancel

func (x *ServerArgsTimeJump) GetCancel() bool

func (*ServerArgsTimeJump) GetTime

func (x *ServerArgsTimeJump) GetTime() string

func (*ServerArgsTimeJump) ProtoMessage

func (*ServerArgsTimeJump) ProtoMessage()

func (*ServerArgsTimeJump) ProtoReflect

func (x *ServerArgsTimeJump) ProtoReflect() protoreflect.Message

func (*ServerArgsTimeJump) Reset

func (x *ServerArgsTimeJump) Reset()

func (*ServerArgsTimeJump) String

func (x *ServerArgsTimeJump) String() string

type ServerReplyOffline added in v0.0.69

type ServerReplyOffline struct {
	// contains filtered or unexported fields
}

func (*ServerReplyOffline) Descriptor deprecated added in v0.0.69

func (*ServerReplyOffline) Descriptor() ([]byte, []int)

Deprecated: Use ServerReplyOffline.ProtoReflect.Descriptor instead.

func (*ServerReplyOffline) ProtoMessage added in v0.0.69

func (*ServerReplyOffline) ProtoMessage()

func (*ServerReplyOffline) ProtoReflect added in v0.0.69

func (x *ServerReplyOffline) ProtoReflect() protoreflect.Message

func (*ServerReplyOffline) Reset added in v0.0.69

func (x *ServerReplyOffline) Reset()

func (*ServerReplyOffline) String added in v0.0.69

func (x *ServerReplyOffline) String() string

type ServerReplyRechargePush

type ServerReplyRechargePush struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 错误码
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息
	// contains filtered or unexported fields
}

func (*ServerReplyRechargePush) Descriptor deprecated

func (*ServerReplyRechargePush) Descriptor() ([]byte, []int)

Deprecated: Use ServerReplyRechargePush.ProtoReflect.Descriptor instead.

func (*ServerReplyRechargePush) GetCode

func (x *ServerReplyRechargePush) GetCode() int32

func (*ServerReplyRechargePush) GetMessage

func (x *ServerReplyRechargePush) GetMessage() string

func (*ServerReplyRechargePush) ProtoMessage

func (*ServerReplyRechargePush) ProtoMessage()

func (*ServerReplyRechargePush) ProtoReflect

func (x *ServerReplyRechargePush) ProtoReflect() protoreflect.Message

func (*ServerReplyRechargePush) Reset

func (x *ServerReplyRechargePush) Reset()

func (*ServerReplyRechargePush) String

func (x *ServerReplyRechargePush) String() string

type ServerReplySendRoleMail

type ServerReplySendRoleMail struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 错误码
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息
	// contains filtered or unexported fields
}

func (*ServerReplySendRoleMail) Descriptor deprecated

func (*ServerReplySendRoleMail) Descriptor() ([]byte, []int)

Deprecated: Use ServerReplySendRoleMail.ProtoReflect.Descriptor instead.

func (*ServerReplySendRoleMail) GetCode

func (x *ServerReplySendRoleMail) GetCode() int32

func (*ServerReplySendRoleMail) GetMessage

func (x *ServerReplySendRoleMail) GetMessage() string

func (*ServerReplySendRoleMail) ProtoMessage

func (*ServerReplySendRoleMail) ProtoMessage()

func (*ServerReplySendRoleMail) ProtoReflect

func (x *ServerReplySendRoleMail) ProtoReflect() protoreflect.Message

func (*ServerReplySendRoleMail) Reset

func (x *ServerReplySendRoleMail) Reset()

func (*ServerReplySendRoleMail) String

func (x *ServerReplySendRoleMail) String() string

type ServerReplySendServMail

type ServerReplySendServMail struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 错误码
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息
	// contains filtered or unexported fields
}

func (*ServerReplySendServMail) Descriptor deprecated

func (*ServerReplySendServMail) Descriptor() ([]byte, []int)

Deprecated: Use ServerReplySendServMail.ProtoReflect.Descriptor instead.

func (*ServerReplySendServMail) GetCode

func (x *ServerReplySendServMail) GetCode() int32

func (*ServerReplySendServMail) GetMessage

func (x *ServerReplySendServMail) GetMessage() string

func (*ServerReplySendServMail) ProtoMessage

func (*ServerReplySendServMail) ProtoMessage()

func (*ServerReplySendServMail) ProtoReflect

func (x *ServerReplySendServMail) ProtoReflect() protoreflect.Message

func (*ServerReplySendServMail) Reset

func (x *ServerReplySendServMail) Reset()

func (*ServerReplySendServMail) String

func (x *ServerReplySendServMail) String() string

type ServerReplyTimeJump

type ServerReplyTimeJump struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 错误码
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息
	// contains filtered or unexported fields
}

func (*ServerReplyTimeJump) Descriptor deprecated

func (*ServerReplyTimeJump) Descriptor() ([]byte, []int)

Deprecated: Use ServerReplyTimeJump.ProtoReflect.Descriptor instead.

func (*ServerReplyTimeJump) GetCode

func (x *ServerReplyTimeJump) GetCode() int32

func (*ServerReplyTimeJump) GetMessage

func (x *ServerReplyTimeJump) GetMessage() string

func (*ServerReplyTimeJump) ProtoMessage

func (*ServerReplyTimeJump) ProtoMessage()

func (*ServerReplyTimeJump) ProtoReflect

func (x *ServerReplyTimeJump) ProtoReflect() protoreflect.Message

func (*ServerReplyTimeJump) Reset

func (x *ServerReplyTimeJump) Reset()

func (*ServerReplyTimeJump) String

func (x *ServerReplyTimeJump) String() string

type ServerService2Client

type ServerService2Client interface {
	// 发送邮件
	SendRoleMail(ctx context.Context, in *ServerArgsSendRoleMail, opts ...grpc.CallOption) (*ServerReplySendRoleMail, error)
	// 导出数据
	ExportRoleData(ctx context.Context, in *ExportRoleDataIn, opts ...grpc.CallOption) (*ExportRoleDataOut, error)
	// 导入数据
	ImportRoleData(ctx context.Context, in *ImportRoleDataIn, opts ...grpc.CallOption) (*ImportRoleDataOut, error)
	// 发送区服邮件
	SendServMail(ctx context.Context, in *ServerArgsSendServMail, opts ...grpc.CallOption) (*ServerReplySendServMail, error)
	// 通知下线
	Offline(ctx context.Context, in *ServerArgsOffline, opts ...grpc.CallOption) (*ServerReplyOffline, error)
	// 充值推送
	//rpc rechargePush (ServerArgsRechargePush) returns (ServerReplyRechargePush);
	// 时间跳跃
	TimeJump(ctx context.Context, in *ServerArgsTimeJump, opts ...grpc.CallOption) (*ServerReplyTimeJump, error)
	GetNotInitedRids(ctx context.Context, in *GetNotInitedRidsReq, opts ...grpc.CallOption) (*GetNotInitedRidsResp, error)
	DeleteNotInitRid(ctx context.Context, in *DeleteNotInitedRidReq, opts ...grpc.CallOption) (*DeleteNotInitedRidResp, error)
}

ServerService2Client is the client API for ServerService2 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ServerService2Server

type ServerService2Server interface {
	// 发送邮件
	SendRoleMail(context.Context, *ServerArgsSendRoleMail) (*ServerReplySendRoleMail, error)
	// 导出数据
	ExportRoleData(context.Context, *ExportRoleDataIn) (*ExportRoleDataOut, error)
	// 导入数据
	ImportRoleData(context.Context, *ImportRoleDataIn) (*ImportRoleDataOut, error)
	// 发送区服邮件
	SendServMail(context.Context, *ServerArgsSendServMail) (*ServerReplySendServMail, error)
	// 通知下线
	Offline(context.Context, *ServerArgsOffline) (*ServerReplyOffline, error)
	// 充值推送
	//rpc rechargePush (ServerArgsRechargePush) returns (ServerReplyRechargePush);
	// 时间跳跃
	TimeJump(context.Context, *ServerArgsTimeJump) (*ServerReplyTimeJump, error)
	GetNotInitedRids(context.Context, *GetNotInitedRidsReq) (*GetNotInitedRidsResp, error)
	DeleteNotInitRid(context.Context, *DeleteNotInitedRidReq) (*DeleteNotInitedRidResp, error)
	// contains filtered or unexported methods
}

ServerService2Server is the server API for ServerService2 service. All implementations must embed UnimplementedServerService2Server for forward compatibility

type UnimplementedGmGameServerRpcServer added in v0.0.3

type UnimplementedGmGameServerRpcServer struct {
}

UnimplementedGmGameServerRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedGmGameServerRpcServer) SendGM added in v0.0.59

type UnimplementedGvgGameServerRpcServer added in v0.0.99

type UnimplementedGvgGameServerRpcServer struct {
}

UnimplementedGvgGameServerRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedGvgGameServerRpcServer) GetGvgFleetByRid added in v0.0.99

func (UnimplementedGvgGameServerRpcServer) IsReady added in v0.0.115

func (UnimplementedGvgGameServerRpcServer) SendGvgReport added in v0.0.100

type UnimplementedMarqueeGameServerRpcServer added in v0.0.122

type UnimplementedMarqueeGameServerRpcServer struct {
}

UnimplementedMarqueeGameServerRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedMarqueeGameServerRpcServer) MarqueeActive added in v0.0.122

type UnimplementedRechargeGameServerRpcServer added in v0.0.23

type UnimplementedRechargeGameServerRpcServer struct {
}

UnimplementedRechargeGameServerRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedRechargeGameServerRpcServer) AddAlertGift added in v0.0.118

func (UnimplementedRechargeGameServerRpcServer) AddGift added in v0.0.41

func (UnimplementedRechargeGameServerRpcServer) Delive added in v0.0.23

type UnimplementedServerService2Server

type UnimplementedServerService2Server struct {
}

UnimplementedServerService2Server must be embedded to have forward compatible implementations.

func (UnimplementedServerService2Server) DeleteNotInitRid added in v0.0.88

func (UnimplementedServerService2Server) ExportRoleData

func (UnimplementedServerService2Server) GetNotInitedRids added in v0.0.88

func (UnimplementedServerService2Server) ImportRoleData

func (UnimplementedServerService2Server) Offline added in v0.0.69

func (UnimplementedServerService2Server) SendRoleMail

func (UnimplementedServerService2Server) SendServMail

func (UnimplementedServerService2Server) TimeJump

type UnsafeGmGameServerRpcServer added in v0.0.3

type UnsafeGmGameServerRpcServer interface {
	// contains filtered or unexported methods
}

UnsafeGmGameServerRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GmGameServerRpcServer will result in compilation errors.

type UnsafeGvgGameServerRpcServer added in v0.0.99

type UnsafeGvgGameServerRpcServer interface {
	// contains filtered or unexported methods
}

UnsafeGvgGameServerRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GvgGameServerRpcServer will result in compilation errors.

type UnsafeMarqueeGameServerRpcServer added in v0.0.122

type UnsafeMarqueeGameServerRpcServer interface {
	// contains filtered or unexported methods
}

UnsafeMarqueeGameServerRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MarqueeGameServerRpcServer will result in compilation errors.

type UnsafeRechargeGameServerRpcServer added in v0.0.23

type UnsafeRechargeGameServerRpcServer interface {
	// contains filtered or unexported methods
}

UnsafeRechargeGameServerRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RechargeGameServerRpcServer will result in compilation errors.

type UnsafeServerService2Server

type UnsafeServerService2Server interface {
	// contains filtered or unexported methods
}

UnsafeServerService2Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServerService2Server will result in compilation errors.

type WARSHIP_ITEM added in v0.0.100

type WARSHIP_ITEM struct {
	Wid   int32        `protobuf:"varint,1,opt,name=wid,proto3" json:"wid,omitempty"` //战舰id
	Atk   int64        `protobuf:"varint,2,opt,name=atk,proto3" json:"atk,omitempty"`
	Def   int64        `protobuf:"varint,3,opt,name=def,proto3" json:"def,omitempty"`
	Heros []*HERO_ITEM `protobuf:"bytes,4,rep,name=heros,proto3" json:"heros,omitempty"` //英雄
	// contains filtered or unexported fields
}

舰队基本信息

func (*WARSHIP_ITEM) Descriptor deprecated added in v0.0.100

func (*WARSHIP_ITEM) Descriptor() ([]byte, []int)

Deprecated: Use WARSHIP_ITEM.ProtoReflect.Descriptor instead.

func (*WARSHIP_ITEM) GetAtk added in v0.0.100

func (x *WARSHIP_ITEM) GetAtk() int64

func (*WARSHIP_ITEM) GetDef added in v0.0.100

func (x *WARSHIP_ITEM) GetDef() int64

func (*WARSHIP_ITEM) GetHeros added in v0.0.100

func (x *WARSHIP_ITEM) GetHeros() []*HERO_ITEM

func (*WARSHIP_ITEM) GetWid added in v0.0.100

func (x *WARSHIP_ITEM) GetWid() int32

func (*WARSHIP_ITEM) ProtoMessage added in v0.0.100

func (*WARSHIP_ITEM) ProtoMessage()

func (*WARSHIP_ITEM) ProtoReflect added in v0.0.100

func (x *WARSHIP_ITEM) ProtoReflect() protoreflect.Message

func (*WARSHIP_ITEM) Reset added in v0.0.100

func (x *WARSHIP_ITEM) Reset()

func (*WARSHIP_ITEM) String added in v0.0.100

func (x *WARSHIP_ITEM) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL