gsrpc

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 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: "daShuang",
			Handler:    _GmGameServerRpc_DaShuang_Handler,
		},
		{
			MethodName: "xiaoShuang",
			Handler:    _GmGameServerRpc_XiaoShuang_Handler,
		},
		{
			MethodName: "banquetAddRobot",
			Handler:    _GmGameServerRpc_BanquetAddRobot_Handler,
		},
		{
			MethodName: "mainTask",
			Handler:    _GmGameServerRpc_MainTask_Handler,
		},
		{
			MethodName: "guildLevelUp",
			Handler:    _GmGameServerRpc_GuildLevelUp_Handler,
		},
		{
			MethodName: "guildTrader",
			Handler:    _GmGameServerRpc_GuildTrader_Handler,
		},
		{
			MethodName: "guildAddOperate",
			Handler:    _GmGameServerRpc_GuildAddOperate_Handler,
		},
		{
			MethodName: "guildExploreEvent",
			Handler:    _GmGameServerRpc_GuildExploreEvent_Handler,
		},
		{
			MethodName: "addItems",
			Handler:    _GmGameServerRpc_AddItems_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 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,
		},
	},
	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: "forbidChat",
			Handler:    _ServerService2_ForbidChat_Handler,
		},
		{
			MethodName: "timeJump",
			Handler:    _ServerService2_TimeJump_Handler,
		},
		{
			MethodName: "gsSyncInfo",
			Handler:    _ServerService2_GsSyncInfo_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 RegisterRechargeGameServerRpcServer added in v0.0.23

func RegisterRechargeGameServerRpcServer(s grpc.ServiceRegistrar, srv RechargeGameServerRpcServer)

func RegisterServerService2Server

func RegisterServerService2Server(s grpc.ServiceRegistrar, srv ServerService2Server)

Types

type BackGround added in v0.0.41

type BackGround struct {
	Enabled    bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	BackGround string `protobuf:"bytes,2,opt,name=backGround,proto3" json:"backGround,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use BackGround.ProtoReflect.Descriptor instead.

func (*BackGround) GetBackGround added in v0.0.41

func (x *BackGround) GetBackGround() string

func (*BackGround) GetEnabled added in v0.0.41

func (x *BackGround) GetEnabled() bool

func (*BackGround) ProtoMessage added in v0.0.41

func (*BackGround) ProtoMessage()

func (*BackGround) ProtoReflect added in v0.0.41

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

func (*BackGround) Reset added in v0.0.41

func (x *BackGround) Reset()

func (*BackGround) String added in v0.0.41

func (x *BackGround) 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 GmAddItemsReq added in v0.0.3

type GmAddItemsReq struct {
	Rid   int32     `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"`    // 角色Id
	Items []*K32V64 `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 物品
	// contains filtered or unexported fields
}

发送物品

func (*GmAddItemsReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmAddItemsReq.ProtoReflect.Descriptor instead.

func (*GmAddItemsReq) GetItems added in v0.0.3

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

func (*GmAddItemsReq) GetRid added in v0.0.3

func (x *GmAddItemsReq) GetRid() int32

func (*GmAddItemsReq) ProtoMessage added in v0.0.3

func (*GmAddItemsReq) ProtoMessage()

func (*GmAddItemsReq) ProtoReflect added in v0.0.3

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

func (*GmAddItemsReq) Reset added in v0.0.3

func (x *GmAddItemsReq) Reset()

func (*GmAddItemsReq) String added in v0.0.3

func (x *GmAddItemsReq) String() string

type GmAddItemsResp added in v0.0.3

type GmAddItemsResp 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 (*GmAddItemsResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmAddItemsResp.ProtoReflect.Descriptor instead.

func (*GmAddItemsResp) GetCode added in v0.0.3

func (x *GmAddItemsResp) GetCode() int32

func (*GmAddItemsResp) GetMessage added in v0.0.3

func (x *GmAddItemsResp) GetMessage() string

func (*GmAddItemsResp) ProtoMessage added in v0.0.3

func (*GmAddItemsResp) ProtoMessage()

func (*GmAddItemsResp) ProtoReflect added in v0.0.3

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

func (*GmAddItemsResp) Reset added in v0.0.3

func (x *GmAddItemsResp) Reset()

func (*GmAddItemsResp) String added in v0.0.3

func (x *GmAddItemsResp) String() string

type GmBanquetAddRobotReq added in v0.0.3

type GmBanquetAddRobotReq struct {
	Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` // 角色Id
	Bid int32 `protobuf:"varint,2,opt,name=bid,proto3" json:"bid,omitempty"`
	// contains filtered or unexported fields
}

func (*GmBanquetAddRobotReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmBanquetAddRobotReq.ProtoReflect.Descriptor instead.

func (*GmBanquetAddRobotReq) GetBid added in v0.0.3

func (x *GmBanquetAddRobotReq) GetBid() int32

func (*GmBanquetAddRobotReq) GetRid added in v0.0.3

func (x *GmBanquetAddRobotReq) GetRid() int32

func (*GmBanquetAddRobotReq) ProtoMessage added in v0.0.3

func (*GmBanquetAddRobotReq) ProtoMessage()

func (*GmBanquetAddRobotReq) ProtoReflect added in v0.0.3

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

func (*GmBanquetAddRobotReq) Reset added in v0.0.3

func (x *GmBanquetAddRobotReq) Reset()

func (*GmBanquetAddRobotReq) String added in v0.0.3

func (x *GmBanquetAddRobotReq) String() string

type GmBanquetAddRobotResp added in v0.0.3

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

func (*GmBanquetAddRobotResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmBanquetAddRobotResp.ProtoReflect.Descriptor instead.

func (*GmBanquetAddRobotResp) ProtoMessage added in v0.0.3

func (*GmBanquetAddRobotResp) ProtoMessage()

func (*GmBanquetAddRobotResp) ProtoReflect added in v0.0.3

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

func (*GmBanquetAddRobotResp) Reset added in v0.0.3

func (x *GmBanquetAddRobotResp) Reset()

func (*GmBanquetAddRobotResp) String added in v0.0.3

func (x *GmBanquetAddRobotResp) String() string

type GmDaShuangReq added in v0.0.3

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

func (*GmDaShuangReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmDaShuangReq.ProtoReflect.Descriptor instead.

func (*GmDaShuangReq) GetRid added in v0.0.3

func (x *GmDaShuangReq) GetRid() int32

func (*GmDaShuangReq) ProtoMessage added in v0.0.3

func (*GmDaShuangReq) ProtoMessage()

func (*GmDaShuangReq) ProtoReflect added in v0.0.3

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

func (*GmDaShuangReq) Reset added in v0.0.3

func (x *GmDaShuangReq) Reset()

func (*GmDaShuangReq) String added in v0.0.3

func (x *GmDaShuangReq) String() string

type GmDaShuangResp added in v0.0.3

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

func (*GmDaShuangResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmDaShuangResp.ProtoReflect.Descriptor instead.

func (*GmDaShuangResp) ProtoMessage added in v0.0.3

func (*GmDaShuangResp) ProtoMessage()

func (*GmDaShuangResp) ProtoReflect added in v0.0.3

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

func (*GmDaShuangResp) Reset added in v0.0.3

func (x *GmDaShuangResp) Reset()

func (*GmDaShuangResp) String added in v0.0.3

func (x *GmDaShuangResp) String() string

type GmGameServerRpcClient added in v0.0.3

type GmGameServerRpcClient interface {
	//
	DaShuang(ctx context.Context, in *GmDaShuangReq, opts ...grpc.CallOption) (*GmDaShuangResp, error)
	XiaoShuang(ctx context.Context, in *GmXiaoShuangReq, opts ...grpc.CallOption) (*GmXiaoShuangResp, error)
	BanquetAddRobot(ctx context.Context, in *GmBanquetAddRobotReq, opts ...grpc.CallOption) (*GmBanquetAddRobotResp, error)
	MainTask(ctx context.Context, in *GmMainTaskReq, opts ...grpc.CallOption) (*GmMainTaskResp, error)
	GuildLevelUp(ctx context.Context, in *GmGuildLevelUpReq, opts ...grpc.CallOption) (*GmGuildLevelUpResp, error)
	GuildTrader(ctx context.Context, in *GmGuildTraderReq, opts ...grpc.CallOption) (*GmGuildTraderResp, error)
	GuildAddOperate(ctx context.Context, in *GmGuildAddOperateReq, opts ...grpc.CallOption) (*GmGuildAddOperateResp, error)
	GuildExploreEvent(ctx context.Context, in *GmGuildExploreEventReq, opts ...grpc.CallOption) (*GmGuildExploreEventResp, error)
	// 发送物品
	AddItems(ctx context.Context, in *GmAddItemsReq, opts ...grpc.CallOption) (*GmAddItemsResp, 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 {
	//
	DaShuang(context.Context, *GmDaShuangReq) (*GmDaShuangResp, error)
	XiaoShuang(context.Context, *GmXiaoShuangReq) (*GmXiaoShuangResp, error)
	BanquetAddRobot(context.Context, *GmBanquetAddRobotReq) (*GmBanquetAddRobotResp, error)
	MainTask(context.Context, *GmMainTaskReq) (*GmMainTaskResp, error)
	GuildLevelUp(context.Context, *GmGuildLevelUpReq) (*GmGuildLevelUpResp, error)
	GuildTrader(context.Context, *GmGuildTraderReq) (*GmGuildTraderResp, error)
	GuildAddOperate(context.Context, *GmGuildAddOperateReq) (*GmGuildAddOperateResp, error)
	GuildExploreEvent(context.Context, *GmGuildExploreEventReq) (*GmGuildExploreEventResp, error)
	// 发送物品
	AddItems(context.Context, *GmAddItemsReq) (*GmAddItemsResp, error)
	// contains filtered or unexported methods
}

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

type GmGuildAddOperateReq added in v0.0.3

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

func (*GmGuildAddOperateReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmGuildAddOperateReq.ProtoReflect.Descriptor instead.

func (*GmGuildAddOperateReq) GetRid added in v0.0.3

func (x *GmGuildAddOperateReq) GetRid() int32

func (*GmGuildAddOperateReq) ProtoMessage added in v0.0.3

func (*GmGuildAddOperateReq) ProtoMessage()

func (*GmGuildAddOperateReq) ProtoReflect added in v0.0.3

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

func (*GmGuildAddOperateReq) Reset added in v0.0.3

func (x *GmGuildAddOperateReq) Reset()

func (*GmGuildAddOperateReq) String added in v0.0.3

func (x *GmGuildAddOperateReq) String() string

type GmGuildAddOperateResp added in v0.0.3

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

func (*GmGuildAddOperateResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmGuildAddOperateResp.ProtoReflect.Descriptor instead.

func (*GmGuildAddOperateResp) ProtoMessage added in v0.0.3

func (*GmGuildAddOperateResp) ProtoMessage()

func (*GmGuildAddOperateResp) ProtoReflect added in v0.0.3

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

func (*GmGuildAddOperateResp) Reset added in v0.0.3

func (x *GmGuildAddOperateResp) Reset()

func (*GmGuildAddOperateResp) String added in v0.0.3

func (x *GmGuildAddOperateResp) String() string

type GmGuildExploreEventReq added in v0.0.3

type GmGuildExploreEventReq struct {
	Gid int32 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"` // 工会Id
	// contains filtered or unexported fields
}

func (*GmGuildExploreEventReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmGuildExploreEventReq.ProtoReflect.Descriptor instead.

func (*GmGuildExploreEventReq) GetGid added in v0.0.3

func (x *GmGuildExploreEventReq) GetGid() int32

func (*GmGuildExploreEventReq) ProtoMessage added in v0.0.3

func (*GmGuildExploreEventReq) ProtoMessage()

func (*GmGuildExploreEventReq) ProtoReflect added in v0.0.3

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

func (*GmGuildExploreEventReq) Reset added in v0.0.3

func (x *GmGuildExploreEventReq) Reset()

func (*GmGuildExploreEventReq) String added in v0.0.3

func (x *GmGuildExploreEventReq) String() string

type GmGuildExploreEventResp added in v0.0.3

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

func (*GmGuildExploreEventResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmGuildExploreEventResp.ProtoReflect.Descriptor instead.

func (*GmGuildExploreEventResp) ProtoMessage added in v0.0.3

func (*GmGuildExploreEventResp) ProtoMessage()

func (*GmGuildExploreEventResp) ProtoReflect added in v0.0.3

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

func (*GmGuildExploreEventResp) Reset added in v0.0.3

func (x *GmGuildExploreEventResp) Reset()

func (*GmGuildExploreEventResp) String added in v0.0.3

func (x *GmGuildExploreEventResp) String() string

type GmGuildLevelUpReq added in v0.0.3

type GmGuildLevelUpReq struct {
	Gid int32 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"` // 工会Id
	// contains filtered or unexported fields
}

func (*GmGuildLevelUpReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmGuildLevelUpReq.ProtoReflect.Descriptor instead.

func (*GmGuildLevelUpReq) GetGid added in v0.0.3

func (x *GmGuildLevelUpReq) GetGid() int32

func (*GmGuildLevelUpReq) ProtoMessage added in v0.0.3

func (*GmGuildLevelUpReq) ProtoMessage()

func (*GmGuildLevelUpReq) ProtoReflect added in v0.0.3

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

func (*GmGuildLevelUpReq) Reset added in v0.0.3

func (x *GmGuildLevelUpReq) Reset()

func (*GmGuildLevelUpReq) String added in v0.0.3

func (x *GmGuildLevelUpReq) String() string

type GmGuildLevelUpResp added in v0.0.3

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

func (*GmGuildLevelUpResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmGuildLevelUpResp.ProtoReflect.Descriptor instead.

func (*GmGuildLevelUpResp) ProtoMessage added in v0.0.3

func (*GmGuildLevelUpResp) ProtoMessage()

func (*GmGuildLevelUpResp) ProtoReflect added in v0.0.3

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

func (*GmGuildLevelUpResp) Reset added in v0.0.3

func (x *GmGuildLevelUpResp) Reset()

func (*GmGuildLevelUpResp) String added in v0.0.3

func (x *GmGuildLevelUpResp) String() string

type GmGuildTraderReq added in v0.0.3

type GmGuildTraderReq struct {
	Gid int32 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"` // 工会Id
	// contains filtered or unexported fields
}

func (*GmGuildTraderReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmGuildTraderReq.ProtoReflect.Descriptor instead.

func (*GmGuildTraderReq) GetGid added in v0.0.3

func (x *GmGuildTraderReq) GetGid() int32

func (*GmGuildTraderReq) ProtoMessage added in v0.0.3

func (*GmGuildTraderReq) ProtoMessage()

func (*GmGuildTraderReq) ProtoReflect added in v0.0.3

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

func (*GmGuildTraderReq) Reset added in v0.0.3

func (x *GmGuildTraderReq) Reset()

func (*GmGuildTraderReq) String added in v0.0.3

func (x *GmGuildTraderReq) String() string

type GmGuildTraderResp added in v0.0.3

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

func (*GmGuildTraderResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmGuildTraderResp.ProtoReflect.Descriptor instead.

func (*GmGuildTraderResp) ProtoMessage added in v0.0.3

func (*GmGuildTraderResp) ProtoMessage()

func (*GmGuildTraderResp) ProtoReflect added in v0.0.3

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

func (*GmGuildTraderResp) Reset added in v0.0.3

func (x *GmGuildTraderResp) Reset()

func (*GmGuildTraderResp) String added in v0.0.3

func (x *GmGuildTraderResp) String() string

type GmMainTaskReq added in v0.0.3

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

func (*GmMainTaskReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmMainTaskReq.ProtoReflect.Descriptor instead.

func (*GmMainTaskReq) GetRid added in v0.0.3

func (x *GmMainTaskReq) GetRid() int32

func (*GmMainTaskReq) ProtoMessage added in v0.0.3

func (*GmMainTaskReq) ProtoMessage()

func (*GmMainTaskReq) ProtoReflect added in v0.0.3

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

func (*GmMainTaskReq) Reset added in v0.0.3

func (x *GmMainTaskReq) Reset()

func (*GmMainTaskReq) String added in v0.0.3

func (x *GmMainTaskReq) String() string

type GmMainTaskResp added in v0.0.3

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

func (*GmMainTaskResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmMainTaskResp.ProtoReflect.Descriptor instead.

func (*GmMainTaskResp) ProtoMessage added in v0.0.3

func (*GmMainTaskResp) ProtoMessage()

func (*GmMainTaskResp) ProtoReflect added in v0.0.3

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

func (*GmMainTaskResp) Reset added in v0.0.3

func (x *GmMainTaskResp) Reset()

func (*GmMainTaskResp) String added in v0.0.3

func (x *GmMainTaskResp) String() string

type GmXiaoShuangReq added in v0.0.3

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

func (*GmXiaoShuangReq) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmXiaoShuangReq.ProtoReflect.Descriptor instead.

func (*GmXiaoShuangReq) GetRid added in v0.0.3

func (x *GmXiaoShuangReq) GetRid() int32

func (*GmXiaoShuangReq) ProtoMessage added in v0.0.3

func (*GmXiaoShuangReq) ProtoMessage()

func (*GmXiaoShuangReq) ProtoReflect added in v0.0.3

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

func (*GmXiaoShuangReq) Reset added in v0.0.3

func (x *GmXiaoShuangReq) Reset()

func (*GmXiaoShuangReq) String added in v0.0.3

func (x *GmXiaoShuangReq) String() string

type GmXiaoShuangResp added in v0.0.3

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

func (*GmXiaoShuangResp) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GmXiaoShuangResp.ProtoReflect.Descriptor instead.

func (*GmXiaoShuangResp) ProtoMessage added in v0.0.3

func (*GmXiaoShuangResp) ProtoMessage()

func (*GmXiaoShuangResp) ProtoReflect added in v0.0.3

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

func (*GmXiaoShuangResp) Reset added in v0.0.3

func (x *GmXiaoShuangResp) Reset()

func (*GmXiaoShuangResp) String added in v0.0.3

func (x *GmXiaoShuangResp) String() string

type GsInfoReq added in v0.0.13

type GsInfoReq struct {
	ServId         int32  `protobuf:"varint,1,opt,name=serv_id,json=servId,proto3" json:"serv_id,omitempty"`
	ServName       string `protobuf:"bytes,2,opt,name=serv_name,json=servName,proto3" json:"serv_name,omitempty"`
	PhysicalServer string `protobuf:"bytes,3,opt,name=physical_server,json=physicalServer,proto3" json:"physical_server,omitempty"`
	WsAddr         string `protobuf:"bytes,4,opt,name=ws_addr,json=wsAddr,proto3" json:"ws_addr,omitempty"`
	RpcAddr        string `protobuf:"bytes,5,opt,name=rpc_addr,json=rpcAddr,proto3" json:"rpc_addr,omitempty"`
	GmAddr         string `protobuf:"bytes,6,opt,name=gm_addr,json=gmAddr,proto3" json:"gm_addr,omitempty"`
	OpenDate       int64  `protobuf:"varint,7,opt,name=open_date,json=openDate,proto3" json:"open_date,omitempty"`
	MaintainStatus int32  `protobuf:"varint,8,opt,name=maintain_status,json=maintainStatus,proto3" json:"maintain_status,omitempty"`
	// contains filtered or unexported fields
}

func (*GsInfoReq) Descriptor deprecated added in v0.0.13

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

Deprecated: Use GsInfoReq.ProtoReflect.Descriptor instead.

func (*GsInfoReq) GetGmAddr added in v0.0.13

func (x *GsInfoReq) GetGmAddr() string

func (*GsInfoReq) GetMaintainStatus added in v0.0.13

func (x *GsInfoReq) GetMaintainStatus() int32

func (*GsInfoReq) GetOpenDate added in v0.0.13

func (x *GsInfoReq) GetOpenDate() int64

func (*GsInfoReq) GetPhysicalServer added in v0.0.13

func (x *GsInfoReq) GetPhysicalServer() string

func (*GsInfoReq) GetRpcAddr added in v0.0.13

func (x *GsInfoReq) GetRpcAddr() string

func (*GsInfoReq) GetServId added in v0.0.13

func (x *GsInfoReq) GetServId() int32

func (*GsInfoReq) GetServName added in v0.0.13

func (x *GsInfoReq) GetServName() string

func (*GsInfoReq) GetWsAddr added in v0.0.13

func (x *GsInfoReq) GetWsAddr() string

func (*GsInfoReq) ProtoMessage added in v0.0.13

func (*GsInfoReq) ProtoMessage()

func (*GsInfoReq) ProtoReflect added in v0.0.13

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

func (*GsInfoReq) Reset added in v0.0.13

func (x *GsInfoReq) Reset()

func (*GsInfoReq) String added in v0.0.13

func (x *GsInfoReq) String() string

type GsInfoResp added in v0.0.13

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

func (*GsInfoResp) Descriptor deprecated added in v0.0.13

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

Deprecated: Use GsInfoResp.ProtoReflect.Descriptor instead.

func (*GsInfoResp) ProtoMessage added in v0.0.13

func (*GsInfoResp) ProtoMessage()

func (*GsInfoResp) ProtoReflect added in v0.0.13

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

func (*GsInfoResp) Reset added in v0.0.13

func (x *GsInfoResp) Reset()

func (*GsInfoResp) String added in v0.0.13

func (x *GsInfoResp) 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 Item added in v0.0.41

type Item struct {
	Itemid  int32 `protobuf:"varint,1,opt,name=itemid,proto3" json:"itemid,omitempty"`
	Itemnum int32 `protobuf:"varint,2,opt,name=itemnum,proto3" json:"itemnum,omitempty"`
	// contains filtered or unexported fields
}

充值-礼包

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

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetItemid added in v0.0.41

func (x *Item) GetItemid() int32

func (*Item) GetItemnum added in v0.0.41

func (x *Item) GetItemnum() int32

func (*Item) ProtoMessage added in v0.0.41

func (*Item) ProtoMessage()

func (*Item) ProtoReflect added in v0.0.41

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

func (*Item) Reset added in v0.0.41

func (x *Item) Reset()

func (*Item) String added in v0.0.41

func (x *Item) 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 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
	// 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) 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)
	// 充值-礼包
	AddGift(ctx context.Context, in *RechargeGiftReq, opts ...grpc.CallOption) (*RechargeGiftResp, 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)
	// 充值-礼包
	AddGift(context.Context, *RechargeGiftReq) (*RechargeGiftResp, 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 {
	Id                  string      `protobuf:"bytes,1,opt,name=id,proto3" json:"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               []*Item     `protobuf:"bytes,8,rep,name=items,proto3" json:"items,omitempty"`
	BackGround          *BackGround `protobuf:"bytes,9,opt,name=backGround,proto3" json:"backGround,omitempty"`
	Rid                 int32       `protobuf:"varint,10,opt,name=rid,proto3" json:"rid,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() *BackGround

func (*RechargeGiftReq) GetDuration added in v0.0.41

func (x *RechargeGiftReq) GetDuration() int32

func (*RechargeGiftReq) GetId added in v0.0.41

func (x *RechargeGiftReq) GetId() string

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() []*Item

func (*RechargeGiftReq) GetPrice added in v0.0.41

func (x *RechargeGiftReq) GetPrice() 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) 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 ServerArgsForbidChat

type ServerArgsForbidChat struct {
	Rid        int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"`
	Forbid     bool  `protobuf:"varint,2,opt,name=forbid,proto3" json:"forbid,omitempty"`
	ExpireTime int64 `protobuf:"varint,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// contains filtered or unexported fields
}

禁言

func (*ServerArgsForbidChat) Descriptor deprecated

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

Deprecated: Use ServerArgsForbidChat.ProtoReflect.Descriptor instead.

func (*ServerArgsForbidChat) GetExpireTime

func (x *ServerArgsForbidChat) GetExpireTime() int64

func (*ServerArgsForbidChat) GetForbid

func (x *ServerArgsForbidChat) GetForbid() bool

func (*ServerArgsForbidChat) GetRid

func (x *ServerArgsForbidChat) GetRid() int32

func (*ServerArgsForbidChat) ProtoMessage

func (*ServerArgsForbidChat) ProtoMessage()

func (*ServerArgsForbidChat) ProtoReflect

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

func (*ServerArgsForbidChat) Reset

func (x *ServerArgsForbidChat) Reset()

func (*ServerArgsForbidChat) String

func (x *ServerArgsForbidChat) 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"` // 邮件标题内容,多语言列表
	// contains filtered or unexported fields
}

发送角色邮件

func (*ServerArgsSendRoleMail) Descriptor deprecated

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

Deprecated: Use ServerArgsSendRoleMail.ProtoReflect.Descriptor instead.

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) 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 ServerReplyForbidChat

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

func (*ServerReplyForbidChat) Descriptor deprecated

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

Deprecated: Use ServerReplyForbidChat.ProtoReflect.Descriptor instead.

func (*ServerReplyForbidChat) ProtoMessage

func (*ServerReplyForbidChat) ProtoMessage()

func (*ServerReplyForbidChat) ProtoReflect

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

func (*ServerReplyForbidChat) Reset

func (x *ServerReplyForbidChat) Reset()

func (*ServerReplyForbidChat) String

func (x *ServerReplyForbidChat) 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)
	// 禁言
	ForbidChat(ctx context.Context, in *ServerArgsForbidChat, opts ...grpc.CallOption) (*ServerReplyForbidChat, error)
	// 充值推送
	//rpc rechargePush (ServerArgsRechargePush) returns (ServerReplyRechargePush);
	// 时间跳跃
	TimeJump(ctx context.Context, in *ServerArgsTimeJump, opts ...grpc.CallOption) (*ServerReplyTimeJump, error)
	GsSyncInfo(ctx context.Context, in *GsInfoReq, opts ...grpc.CallOption) (*GsInfoResp, 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)
	// 禁言
	ForbidChat(context.Context, *ServerArgsForbidChat) (*ServerReplyForbidChat, error)
	// 充值推送
	//rpc rechargePush (ServerArgsRechargePush) returns (ServerReplyRechargePush);
	// 时间跳跃
	TimeJump(context.Context, *ServerArgsTimeJump) (*ServerReplyTimeJump, error)
	GsSyncInfo(context.Context, *GsInfoReq) (*GsInfoResp, 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) AddItems added in v0.0.3

func (UnimplementedGmGameServerRpcServer) BanquetAddRobot added in v0.0.3

func (UnimplementedGmGameServerRpcServer) DaShuang added in v0.0.3

func (UnimplementedGmGameServerRpcServer) GuildAddOperate added in v0.0.3

func (UnimplementedGmGameServerRpcServer) GuildExploreEvent added in v0.0.3

func (UnimplementedGmGameServerRpcServer) GuildLevelUp added in v0.0.3

func (UnimplementedGmGameServerRpcServer) GuildTrader added in v0.0.3

func (UnimplementedGmGameServerRpcServer) MainTask added in v0.0.3

func (UnimplementedGmGameServerRpcServer) XiaoShuang added in v0.0.3

type UnimplementedRechargeGameServerRpcServer added in v0.0.23

type UnimplementedRechargeGameServerRpcServer struct {
}

UnimplementedRechargeGameServerRpcServer must be embedded to have forward compatible implementations.

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) ExportRoleData

func (UnimplementedServerService2Server) ForbidChat

func (UnimplementedServerService2Server) GsSyncInfo added in v0.0.13

func (UnimplementedServerService2Server) ImportRoleData

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 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.

Jump to

Keyboard shortcuts

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