csrpc

package
v0.0.115 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AiGiftCenterServerRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "csrpc.AiGiftCenterServerRpc",
	HandlerType: (*AiGiftCenterServerRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createAiGiftOrder",
			Handler:    _AiGiftCenterServerRpc_CreateAiGiftOrder_Handler,
		},
		{
			MethodName: "takeAiGift",
			Handler:    _AiGiftCenterServerRpc_TakeAiGift_Handler,
		},
		{
			MethodName: "aiGiftList",
			Handler:    _AiGiftCenterServerRpc_AiGiftList_Handler,
		},
		{
			MethodName: "aiGiftInfo",
			Handler:    _AiGiftCenterServerRpc_AiGiftInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "center_server_rpc.proto",
}

AiGiftCenterServerRpc_ServiceDesc is the grpc.ServiceDesc for AiGiftCenterServerRpc 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 CenterServerRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "csrpc.CenterServerRpc",
	HandlerType: (*CenterServerRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "roleSyncInfo",
			Handler:    _CenterServerRpc_RoleSyncInfo_Handler,
		},
		{
			MethodName: "roleImportData",
			Handler:    _CenterServerRpc_RoleImportData_Handler,
		},
		{
			MethodName: "roleForbidLogin",
			Handler:    _CenterServerRpc_RoleForbidLogin_Handler,
		},
		{
			MethodName: "cacheRefreshCenterServer",
			Handler:    _CenterServerRpc_CacheRefreshCenterServer_Handler,
		},
		{
			MethodName: "exchangeCodeUse",
			Handler:    _CenterServerRpc_ExchangeCodeUse_Handler,
		},
		{
			MethodName: "gsInfo",
			Handler:    _CenterServerRpc_GsInfo_Handler,
		},
		{
			MethodName: "gsPushOnlineCount",
			Handler:    _CenterServerRpc_GsPushOnlineCount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "center_server_rpc.proto",
}

CenterServerRpc_ServiceDesc is the grpc.ServiceDesc for CenterServerRpc 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 File_center_server_rpc_proto protoreflect.FileDescriptor
View Source
var RechargeCenterServerRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "csrpc.RechargeCenterServerRpc",
	HandlerType: (*RechargeCenterServerRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createOrder",
			Handler:    _RechargeCenterServerRpc_CreateOrder_Handler,
		},
		{
			MethodName: "orderCheckDelive",
			Handler:    _RechargeCenterServerRpc_OrderCheckDelive_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "center_server_rpc.proto",
}

RechargeCenterServerRpc_ServiceDesc is the grpc.ServiceDesc for RechargeCenterServerRpc 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 RefreshCenterServerRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "csrpc.RefreshCenterServerRpc",
	HandlerType: (*RefreshCenterServerRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "refreshCache",
			Handler:    _RefreshCenterServerRpc_RefreshCache_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "center_server_rpc.proto",
}

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

Functions

func RegisterAiGiftCenterServerRpcServer added in v0.0.106

func RegisterAiGiftCenterServerRpcServer(s grpc.ServiceRegistrar, srv AiGiftCenterServerRpcServer)

func RegisterCenterServerRpcServer

func RegisterCenterServerRpcServer(s grpc.ServiceRegistrar, srv CenterServerRpcServer)

func RegisterRechargeCenterServerRpcServer

func RegisterRechargeCenterServerRpcServer(s grpc.ServiceRegistrar, srv RechargeCenterServerRpcServer)

func RegisterRefreshCenterServerRpcServer added in v0.0.6

func RegisterRefreshCenterServerRpcServer(s grpc.ServiceRegistrar, srv RefreshCenterServerRpcServer)

Types

type AiGift added in v0.0.106

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

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

Deprecated: Use AiGift.ProtoReflect.Descriptor instead.

func (*AiGift) GetAmountToDiamond added in v0.0.106

func (x *AiGift) GetAmountToDiamond() int32

func (*AiGift) GetBackGround added in v0.0.106

func (x *AiGift) GetBackGround() string

func (*AiGift) GetDuration added in v0.0.106

func (x *AiGift) GetDuration() int32

func (*AiGift) GetEndTs added in v0.0.107

func (x *AiGift) GetEndTs() int64

func (*AiGift) GetG123Id added in v0.0.108

func (x *AiGift) GetG123Id() string

func (*AiGift) GetId added in v0.0.106

func (x *AiGift) GetId() int64

func (*AiGift) GetIsAISupported added in v0.0.106

func (x *AiGift) GetIsAISupported() bool

func (*AiGift) GetItems added in v0.0.106

func (x *AiGift) GetItems() string

func (*AiGift) GetPrice added in v0.0.106

func (x *AiGift) GetPrice() int32

func (*AiGift) GetPriceValueRatio added in v0.0.111

func (x *AiGift) GetPriceValueRatio() int32

func (*AiGift) GetPurchaseLimitAmount added in v0.0.106

func (x *AiGift) GetPurchaseLimitAmount() int32

func (*AiGift) GetRid added in v0.0.106

func (x *AiGift) GetRid() int32

func (*AiGift) GetStatus added in v0.0.107

func (x *AiGift) GetStatus() int32

func (*AiGift) GetTemplateId added in v0.0.106

func (x *AiGift) GetTemplateId() int32

func (*AiGift) GetVipPoints added in v0.0.106

func (x *AiGift) GetVipPoints() int32

func (*AiGift) ProtoMessage added in v0.0.106

func (*AiGift) ProtoMessage()

func (*AiGift) ProtoReflect added in v0.0.106

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

func (*AiGift) Reset added in v0.0.106

func (x *AiGift) Reset()

func (*AiGift) String added in v0.0.106

func (x *AiGift) String() string

type AiGiftCenterServerRpcClient added in v0.0.106

type AiGiftCenterServerRpcClient interface {
	// 礼包-创建订单
	CreateAiGiftOrder(ctx context.Context, in *AiGiftCreateOrderReq, opts ...grpc.CallOption) (*AiGiftCreateOrderResp, error)
	// 礼包-领取
	TakeAiGift(ctx context.Context, in *AiGiftTakeReq, opts ...grpc.CallOption) (*AiGiftTakeResp, error)
	// 礼包-列表
	AiGiftList(ctx context.Context, in *AiGiftListReq, opts ...grpc.CallOption) (*AiGiftListResp, error)
	// 礼包-信息
	AiGiftInfo(ctx context.Context, in *AiGiftInfoReq, opts ...grpc.CallOption) (*AiGiftInfoResp, error)
}

AiGiftCenterServerRpcClient is the client API for AiGiftCenterServerRpc 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 NewAiGiftCenterServerRpcClient added in v0.0.106

func NewAiGiftCenterServerRpcClient(cc grpc.ClientConnInterface) AiGiftCenterServerRpcClient

type AiGiftCenterServerRpcServer added in v0.0.106

type AiGiftCenterServerRpcServer interface {
	// 礼包-创建订单
	CreateAiGiftOrder(context.Context, *AiGiftCreateOrderReq) (*AiGiftCreateOrderResp, error)
	// 礼包-领取
	TakeAiGift(context.Context, *AiGiftTakeReq) (*AiGiftTakeResp, error)
	// 礼包-列表
	AiGiftList(context.Context, *AiGiftListReq) (*AiGiftListResp, error)
	// 礼包-信息
	AiGiftInfo(context.Context, *AiGiftInfoReq) (*AiGiftInfoResp, error)
	// contains filtered or unexported methods
}

AiGiftCenterServerRpcServer is the server API for AiGiftCenterServerRpc service. All implementations must embed UnimplementedAiGiftCenterServerRpcServer for forward compatibility

type AiGiftCreateOrderReq added in v0.0.106

type AiGiftCreateOrderReq struct {
	Platform string        `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	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"`
	Good     *RechargeGood `protobuf:"bytes,5,opt,name=good,proto3" json:"good,omitempty"`
	// contains filtered or unexported fields
}

充值-创建订单

func (*AiGiftCreateOrderReq) Descriptor deprecated added in v0.0.106

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

Deprecated: Use AiGiftCreateOrderReq.ProtoReflect.Descriptor instead.

func (*AiGiftCreateOrderReq) GetCuid added in v0.0.106

func (x *AiGiftCreateOrderReq) GetCuid() string

func (*AiGiftCreateOrderReq) GetGood added in v0.0.106

func (x *AiGiftCreateOrderReq) GetGood() *RechargeGood

func (*AiGiftCreateOrderReq) GetPlatform added in v0.0.106

func (x *AiGiftCreateOrderReq) GetPlatform() string

func (*AiGiftCreateOrderReq) GetRid added in v0.0.106

func (x *AiGiftCreateOrderReq) GetRid() int32

func (*AiGiftCreateOrderReq) GetServerId added in v0.0.106

func (x *AiGiftCreateOrderReq) GetServerId() int32

func (*AiGiftCreateOrderReq) ProtoMessage added in v0.0.106

func (*AiGiftCreateOrderReq) ProtoMessage()

func (*AiGiftCreateOrderReq) ProtoReflect added in v0.0.106

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

func (*AiGiftCreateOrderReq) Reset added in v0.0.106

func (x *AiGiftCreateOrderReq) Reset()

func (*AiGiftCreateOrderReq) String added in v0.0.106

func (x *AiGiftCreateOrderReq) String() string

type AiGiftCreateOrderResp added in v0.0.106

type AiGiftCreateOrderResp struct {
	PlatformOrderNo string `protobuf:"bytes,1,opt,name=platform_order_no,json=platformOrderNo,proto3" json:"platform_order_no,omitempty"`
	PlatformToken   string `protobuf:"bytes,2,opt,name=platform_token,json=platformToken,proto3" json:"platform_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AiGiftCreateOrderResp) Descriptor deprecated added in v0.0.106

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

Deprecated: Use AiGiftCreateOrderResp.ProtoReflect.Descriptor instead.

func (*AiGiftCreateOrderResp) GetPlatformOrderNo added in v0.0.106

func (x *AiGiftCreateOrderResp) GetPlatformOrderNo() string

func (*AiGiftCreateOrderResp) GetPlatformToken added in v0.0.106

func (x *AiGiftCreateOrderResp) GetPlatformToken() string

func (*AiGiftCreateOrderResp) ProtoMessage added in v0.0.106

func (*AiGiftCreateOrderResp) ProtoMessage()

func (*AiGiftCreateOrderResp) ProtoReflect added in v0.0.106

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

func (*AiGiftCreateOrderResp) Reset added in v0.0.106

func (x *AiGiftCreateOrderResp) Reset()

func (*AiGiftCreateOrderResp) String added in v0.0.106

func (x *AiGiftCreateOrderResp) String() string

type AiGiftInfoReq added in v0.0.113

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

礼包-信息

func (*AiGiftInfoReq) Descriptor deprecated added in v0.0.113

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

Deprecated: Use AiGiftInfoReq.ProtoReflect.Descriptor instead.

func (*AiGiftInfoReq) GetGiftId added in v0.0.113

func (x *AiGiftInfoReq) GetGiftId() string

func (*AiGiftInfoReq) GetRid added in v0.0.113

func (x *AiGiftInfoReq) GetRid() int32

func (*AiGiftInfoReq) ProtoMessage added in v0.0.113

func (*AiGiftInfoReq) ProtoMessage()

func (*AiGiftInfoReq) ProtoReflect added in v0.0.113

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

func (*AiGiftInfoReq) Reset added in v0.0.113

func (x *AiGiftInfoReq) Reset()

func (*AiGiftInfoReq) String added in v0.0.113

func (x *AiGiftInfoReq) String() string

type AiGiftInfoResp added in v0.0.113

type AiGiftInfoResp struct {
	Gift *AiGift `protobuf:"bytes,1,opt,name=gift,proto3" json:"gift,omitempty"`
	// contains filtered or unexported fields
}

func (*AiGiftInfoResp) Descriptor deprecated added in v0.0.113

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

Deprecated: Use AiGiftInfoResp.ProtoReflect.Descriptor instead.

func (*AiGiftInfoResp) GetGift added in v0.0.113

func (x *AiGiftInfoResp) GetGift() *AiGift

func (*AiGiftInfoResp) ProtoMessage added in v0.0.113

func (*AiGiftInfoResp) ProtoMessage()

func (*AiGiftInfoResp) ProtoReflect added in v0.0.113

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

func (*AiGiftInfoResp) Reset added in v0.0.113

func (x *AiGiftInfoResp) Reset()

func (*AiGiftInfoResp) String added in v0.0.113

func (x *AiGiftInfoResp) String() string

type AiGiftListReq added in v0.0.106

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

礼包-列表

func (*AiGiftListReq) Descriptor deprecated added in v0.0.106

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

Deprecated: Use AiGiftListReq.ProtoReflect.Descriptor instead.

func (*AiGiftListReq) GetCuid added in v0.0.106

func (x *AiGiftListReq) GetCuid() string

func (*AiGiftListReq) GetPlatform added in v0.0.106

func (x *AiGiftListReq) GetPlatform() string

func (*AiGiftListReq) GetRid added in v0.0.106

func (x *AiGiftListReq) GetRid() int32

func (*AiGiftListReq) ProtoMessage added in v0.0.106

func (*AiGiftListReq) ProtoMessage()

func (*AiGiftListReq) ProtoReflect added in v0.0.106

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

func (*AiGiftListReq) Reset added in v0.0.106

func (x *AiGiftListReq) Reset()

func (*AiGiftListReq) String added in v0.0.106

func (x *AiGiftListReq) String() string

type AiGiftListResp added in v0.0.106

type AiGiftListResp struct {
	Gifts []*AiGift `protobuf:"bytes,1,rep,name=gifts,proto3" json:"gifts,omitempty"`
	// contains filtered or unexported fields
}

func (*AiGiftListResp) Descriptor deprecated added in v0.0.106

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

Deprecated: Use AiGiftListResp.ProtoReflect.Descriptor instead.

func (*AiGiftListResp) GetGifts added in v0.0.106

func (x *AiGiftListResp) GetGifts() []*AiGift

func (*AiGiftListResp) ProtoMessage added in v0.0.106

func (*AiGiftListResp) ProtoMessage()

func (*AiGiftListResp) ProtoReflect added in v0.0.106

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

func (*AiGiftListResp) Reset added in v0.0.106

func (x *AiGiftListResp) Reset()

func (*AiGiftListResp) String added in v0.0.106

func (x *AiGiftListResp) String() string

type AiGiftTakeReq added in v0.0.106

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

礼包-领取

func (*AiGiftTakeReq) Descriptor deprecated added in v0.0.106

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

Deprecated: Use AiGiftTakeReq.ProtoReflect.Descriptor instead.

func (*AiGiftTakeReq) GetGiftId added in v0.0.106

func (x *AiGiftTakeReq) GetGiftId() string

func (*AiGiftTakeReq) GetRid added in v0.0.106

func (x *AiGiftTakeReq) GetRid() int32

func (*AiGiftTakeReq) ProtoMessage added in v0.0.106

func (*AiGiftTakeReq) ProtoMessage()

func (*AiGiftTakeReq) ProtoReflect added in v0.0.106

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

func (*AiGiftTakeReq) Reset added in v0.0.106

func (x *AiGiftTakeReq) Reset()

func (*AiGiftTakeReq) String added in v0.0.106

func (x *AiGiftTakeReq) String() string

type AiGiftTakeResp added in v0.0.106

type AiGiftTakeResp struct {
	Items string `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*AiGiftTakeResp) Descriptor deprecated added in v0.0.106

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

Deprecated: Use AiGiftTakeResp.ProtoReflect.Descriptor instead.

func (*AiGiftTakeResp) GetItems added in v0.0.110

func (x *AiGiftTakeResp) GetItems() string

func (*AiGiftTakeResp) ProtoMessage added in v0.0.106

func (*AiGiftTakeResp) ProtoMessage()

func (*AiGiftTakeResp) ProtoReflect added in v0.0.106

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

func (*AiGiftTakeResp) Reset added in v0.0.106

func (x *AiGiftTakeResp) Reset()

func (*AiGiftTakeResp) String added in v0.0.106

func (x *AiGiftTakeResp) String() string

type CacheRefreshCenterServerReq

type CacheRefreshCenterServerReq struct {
	RefreshType int32 `protobuf:"varint,1,opt,name=refresh_type,json=refreshType,proto3" json:"refresh_type,omitempty"`
	// contains filtered or unexported fields
}

刷新中心缓存

func (*CacheRefreshCenterServerReq) Descriptor deprecated

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

Deprecated: Use CacheRefreshCenterServerReq.ProtoReflect.Descriptor instead.

func (*CacheRefreshCenterServerReq) GetRefreshType

func (x *CacheRefreshCenterServerReq) GetRefreshType() int32

func (*CacheRefreshCenterServerReq) ProtoMessage

func (*CacheRefreshCenterServerReq) ProtoMessage()

func (*CacheRefreshCenterServerReq) ProtoReflect

func (*CacheRefreshCenterServerReq) Reset

func (x *CacheRefreshCenterServerReq) Reset()

func (*CacheRefreshCenterServerReq) String

func (x *CacheRefreshCenterServerReq) String() string

type CacheRefreshCenterServerResp

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

func (*CacheRefreshCenterServerResp) Descriptor deprecated

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

Deprecated: Use CacheRefreshCenterServerResp.ProtoReflect.Descriptor instead.

func (*CacheRefreshCenterServerResp) ProtoMessage

func (*CacheRefreshCenterServerResp) ProtoMessage()

func (*CacheRefreshCenterServerResp) ProtoReflect

func (*CacheRefreshCenterServerResp) Reset

func (x *CacheRefreshCenterServerResp) Reset()

func (*CacheRefreshCenterServerResp) String

type CenterServerRpcClient

type CenterServerRpcClient interface {
	// 同步角色信息
	RoleSyncInfo(ctx context.Context, in *RoleSyncInfoReq, opts ...grpc.CallOption) (*RoleSyncInfoResp, error)
	// 导入用户数据
	RoleImportData(ctx context.Context, in *RoleImportDataReq, opts ...grpc.CallOption) (*RoleImportDataResp, error)
	// 封号
	RoleForbidLogin(ctx context.Context, in *RoleForbidLoginReq, opts ...grpc.CallOption) (*RoleForbidLoginResp, error)
	// 刷新中心redis缓存
	CacheRefreshCenterServer(ctx context.Context, in *CacheRefreshCenterServerReq, opts ...grpc.CallOption) (*CacheRefreshCenterServerResp, error)
	// 使用礼包码
	ExchangeCodeUse(ctx context.Context, in *ExchangeCodeUseReq, opts ...grpc.CallOption) (*ExchangeCodeUseResp, error)
	// 游服信息
	GsInfo(ctx context.Context, in *GsInfoReq, opts ...grpc.CallOption) (*GsInfoResp, error)
	// 推送在线角色数量
	GsPushOnlineCount(ctx context.Context, in *GsPushOnlineCountReq, opts ...grpc.CallOption) (*GsPushOnlineCountResp, error)
}

CenterServerRpcClient is the client API for CenterServerRpc 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 CenterServerRpcServer

type CenterServerRpcServer interface {
	// 同步角色信息
	RoleSyncInfo(context.Context, *RoleSyncInfoReq) (*RoleSyncInfoResp, error)
	// 导入用户数据
	RoleImportData(context.Context, *RoleImportDataReq) (*RoleImportDataResp, error)
	// 封号
	RoleForbidLogin(context.Context, *RoleForbidLoginReq) (*RoleForbidLoginResp, error)
	// 刷新中心redis缓存
	CacheRefreshCenterServer(context.Context, *CacheRefreshCenterServerReq) (*CacheRefreshCenterServerResp, error)
	// 使用礼包码
	ExchangeCodeUse(context.Context, *ExchangeCodeUseReq) (*ExchangeCodeUseResp, error)
	// 游服信息
	GsInfo(context.Context, *GsInfoReq) (*GsInfoResp, error)
	// 推送在线角色数量
	GsPushOnlineCount(context.Context, *GsPushOnlineCountReq) (*GsPushOnlineCountResp, error)
	// contains filtered or unexported methods
}

CenterServerRpcServer is the server API for CenterServerRpc service. All implementations must embed UnimplementedCenterServerRpcServer for forward compatibility

type ExchangeCodeUseReq

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

使用礼包码

func (*ExchangeCodeUseReq) Descriptor deprecated

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

Deprecated: Use ExchangeCodeUseReq.ProtoReflect.Descriptor instead.

func (*ExchangeCodeUseReq) GetCode

func (x *ExchangeCodeUseReq) GetCode() string

func (*ExchangeCodeUseReq) GetRid

func (x *ExchangeCodeUseReq) GetRid() int32

func (*ExchangeCodeUseReq) ProtoMessage

func (*ExchangeCodeUseReq) ProtoMessage()

func (*ExchangeCodeUseReq) ProtoReflect

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

func (*ExchangeCodeUseReq) Reset

func (x *ExchangeCodeUseReq) Reset()

func (*ExchangeCodeUseReq) String

func (x *ExchangeCodeUseReq) String() string

type ExchangeCodeUseResp

type ExchangeCodeUseResp struct {
	Items string `protobuf:"bytes,2,opt,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeCodeUseResp) Descriptor deprecated

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

Deprecated: Use ExchangeCodeUseResp.ProtoReflect.Descriptor instead.

func (*ExchangeCodeUseResp) GetItems

func (x *ExchangeCodeUseResp) GetItems() string

func (*ExchangeCodeUseResp) ProtoMessage

func (*ExchangeCodeUseResp) ProtoMessage()

func (*ExchangeCodeUseResp) ProtoReflect

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

func (*ExchangeCodeUseResp) Reset

func (x *ExchangeCodeUseResp) Reset()

func (*ExchangeCodeUseResp) String

func (x *ExchangeCodeUseResp) String() string

type ForbidLoginInfo

type ForbidLoginInfo struct {
	LoginType int32  `protobuf:"varint,1,opt,name=loginType,proto3" json:"loginType,omitempty"`
	Account   string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Forbid    bool   `protobuf:"varint,3,opt,name=forbid,proto3" json:"forbid,omitempty"`
	EndTime   int64  `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// contains filtered or unexported fields
}

封号

func (*ForbidLoginInfo) Descriptor deprecated

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

Deprecated: Use ForbidLoginInfo.ProtoReflect.Descriptor instead.

func (*ForbidLoginInfo) GetAccount

func (x *ForbidLoginInfo) GetAccount() string

func (*ForbidLoginInfo) GetEndTime

func (x *ForbidLoginInfo) GetEndTime() int64

func (*ForbidLoginInfo) GetForbid

func (x *ForbidLoginInfo) GetForbid() bool

func (*ForbidLoginInfo) GetLoginType

func (x *ForbidLoginInfo) GetLoginType() int32

func (*ForbidLoginInfo) ProtoMessage

func (*ForbidLoginInfo) ProtoMessage()

func (*ForbidLoginInfo) ProtoReflect

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

func (*ForbidLoginInfo) Reset

func (x *ForbidLoginInfo) Reset()

func (*ForbidLoginInfo) String

func (x *ForbidLoginInfo) String() string

type GsInfoReq

type GsInfoReq struct {
	ServId int32 `protobuf:"varint,1,opt,name=serv_id,json=servId,proto3" json:"serv_id,omitempty"`
	// contains filtered or unexported fields
}

服务器信息

func (*GsInfoReq) Descriptor deprecated

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

Deprecated: Use GsInfoReq.ProtoReflect.Descriptor instead.

func (*GsInfoReq) GetServId added in v0.0.13

func (x *GsInfoReq) GetServId() int32

func (*GsInfoReq) ProtoMessage

func (*GsInfoReq) ProtoMessage()

func (*GsInfoReq) ProtoReflect

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

func (*GsInfoReq) Reset

func (x *GsInfoReq) Reset()

func (*GsInfoReq) String

func (x *GsInfoReq) String() string

type GsInfoResp

type GsInfoResp 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 (*GsInfoResp) Descriptor deprecated

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

Deprecated: Use GsInfoResp.ProtoReflect.Descriptor instead.

func (*GsInfoResp) GetGmAddr added in v0.0.13

func (x *GsInfoResp) GetGmAddr() string

func (*GsInfoResp) GetMaintainStatus added in v0.0.13

func (x *GsInfoResp) GetMaintainStatus() int32

func (*GsInfoResp) GetOpenDate

func (x *GsInfoResp) GetOpenDate() int64

func (*GsInfoResp) GetPhysicalServer added in v0.0.13

func (x *GsInfoResp) GetPhysicalServer() string

func (*GsInfoResp) GetRpcAddr added in v0.0.13

func (x *GsInfoResp) GetRpcAddr() string

func (*GsInfoResp) GetServId added in v0.0.13

func (x *GsInfoResp) GetServId() int32

func (*GsInfoResp) GetServName added in v0.0.13

func (x *GsInfoResp) GetServName() string

func (*GsInfoResp) GetWsAddr added in v0.0.13

func (x *GsInfoResp) GetWsAddr() string

func (*GsInfoResp) ProtoMessage

func (*GsInfoResp) ProtoMessage()

func (*GsInfoResp) ProtoReflect

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

func (*GsInfoResp) Reset

func (x *GsInfoResp) Reset()

func (*GsInfoResp) String

func (x *GsInfoResp) String() string

type GsPushOnlineCountReq added in v0.0.7

type GsPushOnlineCountReq struct {
	Gsid          int32 `protobuf:"varint,1,opt,name=gsid,proto3" json:"gsid,omitempty"`
	OnlineCount   int64 `protobuf:"varint,2,opt,name=online_count,json=onlineCount,proto3" json:"online_count,omitempty"`
	RegistCount   int64 `protobuf:"varint,3,opt,name=regist_count,json=registCount,proto3" json:"regist_count,omitempty"`
	RechargeCount int32 `protobuf:"varint,4,opt,name=recharge_count,json=rechargeCount,proto3" json:"recharge_count,omitempty"`
	// contains filtered or unexported fields
}

获取区服在线角色数量

func (*GsPushOnlineCountReq) Descriptor deprecated added in v0.0.7

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

Deprecated: Use GsPushOnlineCountReq.ProtoReflect.Descriptor instead.

func (*GsPushOnlineCountReq) GetGsid added in v0.0.8

func (x *GsPushOnlineCountReq) GetGsid() int32

func (*GsPushOnlineCountReq) GetOnlineCount added in v0.0.7

func (x *GsPushOnlineCountReq) GetOnlineCount() int64

func (*GsPushOnlineCountReq) GetRechargeCount added in v0.0.38

func (x *GsPushOnlineCountReq) GetRechargeCount() int32

func (*GsPushOnlineCountReq) GetRegistCount added in v0.0.7

func (x *GsPushOnlineCountReq) GetRegistCount() int64

func (*GsPushOnlineCountReq) ProtoMessage added in v0.0.7

func (*GsPushOnlineCountReq) ProtoMessage()

func (*GsPushOnlineCountReq) ProtoReflect added in v0.0.7

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

func (*GsPushOnlineCountReq) Reset added in v0.0.7

func (x *GsPushOnlineCountReq) Reset()

func (*GsPushOnlineCountReq) String added in v0.0.7

func (x *GsPushOnlineCountReq) String() string

type GsPushOnlineCountResp added in v0.0.7

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

func (*GsPushOnlineCountResp) Descriptor deprecated added in v0.0.7

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

Deprecated: Use GsPushOnlineCountResp.ProtoReflect.Descriptor instead.

func (*GsPushOnlineCountResp) ProtoMessage added in v0.0.7

func (*GsPushOnlineCountResp) ProtoMessage()

func (*GsPushOnlineCountResp) ProtoReflect added in v0.0.7

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

func (*GsPushOnlineCountResp) Reset added in v0.0.7

func (x *GsPushOnlineCountResp) Reset()

func (*GsPushOnlineCountResp) String added in v0.0.7

func (x *GsPushOnlineCountResp) String() string

type RechargeCenterServerRpcClient

type RechargeCenterServerRpcClient interface {
	// 充值-创建订单
	CreateOrder(ctx context.Context, in *RechargeCreateOrderReq, opts ...grpc.CallOption) (*RechargeCreateOrderResp, error)
	// 充值-检查订单并发货
	OrderCheckDelive(ctx context.Context, in *RechargeOrderCheckDeliveReq, opts ...grpc.CallOption) (*RechargeOrderStatusDeliveResp, error)
}

RechargeCenterServerRpcClient is the client API for RechargeCenterServerRpc 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 RechargeCenterServerRpcServer

type RechargeCenterServerRpcServer interface {
	// 充值-创建订单
	CreateOrder(context.Context, *RechargeCreateOrderReq) (*RechargeCreateOrderResp, error)
	// 充值-检查订单并发货
	OrderCheckDelive(context.Context, *RechargeOrderCheckDeliveReq) (*RechargeOrderStatusDeliveResp, error)
	// contains filtered or unexported methods
}

RechargeCenterServerRpcServer is the server API for RechargeCenterServerRpc service. All implementations must embed UnimplementedRechargeCenterServerRpcServer for forward compatibility

type RechargeCreateOrderReq

type RechargeCreateOrderReq struct {
	Platform string        `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	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"`
	Good     *RechargeGood `protobuf:"bytes,5,opt,name=good,proto3" json:"good,omitempty"`
	// contains filtered or unexported fields
}

充值-创建订单

func (*RechargeCreateOrderReq) Descriptor deprecated

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

Deprecated: Use RechargeCreateOrderReq.ProtoReflect.Descriptor instead.

func (*RechargeCreateOrderReq) GetCuid

func (x *RechargeCreateOrderReq) GetCuid() string

func (*RechargeCreateOrderReq) GetGood

func (x *RechargeCreateOrderReq) GetGood() *RechargeGood

func (*RechargeCreateOrderReq) GetPlatform

func (x *RechargeCreateOrderReq) GetPlatform() string

func (*RechargeCreateOrderReq) GetRid

func (x *RechargeCreateOrderReq) GetRid() int32

func (*RechargeCreateOrderReq) GetServerId

func (x *RechargeCreateOrderReq) GetServerId() int32

func (*RechargeCreateOrderReq) ProtoMessage

func (*RechargeCreateOrderReq) ProtoMessage()

func (*RechargeCreateOrderReq) ProtoReflect

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

func (*RechargeCreateOrderReq) Reset

func (x *RechargeCreateOrderReq) Reset()

func (*RechargeCreateOrderReq) String

func (x *RechargeCreateOrderReq) String() string

type RechargeCreateOrderResp

type RechargeCreateOrderResp struct {
	PlatformOrderNo string `protobuf:"bytes,1,opt,name=platform_order_no,json=platformOrderNo,proto3" json:"platform_order_no,omitempty"`
	PlatformToken   string `protobuf:"bytes,2,opt,name=platform_token,json=platformToken,proto3" json:"platform_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RechargeCreateOrderResp) Descriptor deprecated

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

Deprecated: Use RechargeCreateOrderResp.ProtoReflect.Descriptor instead.

func (*RechargeCreateOrderResp) GetPlatformOrderNo

func (x *RechargeCreateOrderResp) GetPlatformOrderNo() string

func (*RechargeCreateOrderResp) GetPlatformToken

func (x *RechargeCreateOrderResp) GetPlatformToken() string

func (*RechargeCreateOrderResp) ProtoMessage

func (*RechargeCreateOrderResp) ProtoMessage()

func (*RechargeCreateOrderResp) ProtoReflect

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

func (*RechargeCreateOrderResp) Reset

func (x *RechargeCreateOrderResp) Reset()

func (*RechargeCreateOrderResp) String

func (x *RechargeCreateOrderResp) String() string

type RechargeGood

type RechargeGood struct {
	Id       int32  `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`            // 商品 id
	Name     string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`         // 商品名
	Price    string `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`       // 商品金额 0.01
	Currency string `protobuf:"bytes,7,opt,name=currency,proto3" json:"currency,omitempty"` // 商品币种 CNY
	// contains filtered or unexported fields
}

gs 的 cfgplt env 是确定的,但 center 不知道 gs 的 cfgplt env center 对应多个 platform

func (*RechargeGood) Descriptor deprecated

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

Deprecated: Use RechargeGood.ProtoReflect.Descriptor instead.

func (*RechargeGood) GetCurrency

func (x *RechargeGood) GetCurrency() string

func (*RechargeGood) GetId

func (x *RechargeGood) GetId() int32

func (*RechargeGood) GetName

func (x *RechargeGood) GetName() string

func (*RechargeGood) GetPrice

func (x *RechargeGood) GetPrice() string

func (*RechargeGood) ProtoMessage

func (*RechargeGood) ProtoMessage()

func (*RechargeGood) ProtoReflect

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

func (*RechargeGood) Reset

func (x *RechargeGood) Reset()

func (*RechargeGood) String

func (x *RechargeGood) String() string

type RechargeNotDelivedListReq

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

充值-未发货订单列表

func (*RechargeNotDelivedListReq) Descriptor deprecated

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

Deprecated: Use RechargeNotDelivedListReq.ProtoReflect.Descriptor instead.

func (*RechargeNotDelivedListReq) GetCuid

func (x *RechargeNotDelivedListReq) GetCuid() string

func (*RechargeNotDelivedListReq) GetPlatform

func (x *RechargeNotDelivedListReq) GetPlatform() string

func (*RechargeNotDelivedListReq) GetRid

func (x *RechargeNotDelivedListReq) GetRid() int32

func (*RechargeNotDelivedListReq) ProtoMessage

func (*RechargeNotDelivedListReq) ProtoMessage()

func (*RechargeNotDelivedListReq) ProtoReflect

func (*RechargeNotDelivedListReq) Reset

func (x *RechargeNotDelivedListReq) Reset()

func (*RechargeNotDelivedListReq) String

func (x *RechargeNotDelivedListReq) String() string

type RechargeNotDelivedListResp

type RechargeNotDelivedListResp struct {
	Orders []*RechargeOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

func (*RechargeNotDelivedListResp) Descriptor deprecated

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

Deprecated: Use RechargeNotDelivedListResp.ProtoReflect.Descriptor instead.

func (*RechargeNotDelivedListResp) GetOrders

func (x *RechargeNotDelivedListResp) GetOrders() []*RechargeOrder

func (*RechargeNotDelivedListResp) ProtoMessage

func (*RechargeNotDelivedListResp) ProtoMessage()

func (*RechargeNotDelivedListResp) ProtoReflect

func (*RechargeNotDelivedListResp) Reset

func (x *RechargeNotDelivedListResp) Reset()

func (*RechargeNotDelivedListResp) String

func (x *RechargeNotDelivedListResp) String() string

type RechargeOrder

type RechargeOrder struct {
	PlatformOrderNo string        `protobuf:"bytes,1,opt,name=platform_order_no,json=platformOrderNo,proto3" json:"platform_order_no,omitempty"`
	PlatformStatus  string        `protobuf:"bytes,2,opt,name=platform_status,json=platformStatus,proto3" json:"platform_status,omitempty"`
	Result          int32         `protobuf:"varint,3,opt,name=result,proto3" json:"result,omitempty"`
	Good            *RechargeGood `protobuf:"bytes,4,opt,name=good,proto3" json:"good,omitempty"`
	// contains filtered or unexported fields
}

func (*RechargeOrder) Descriptor deprecated

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

Deprecated: Use RechargeOrder.ProtoReflect.Descriptor instead.

func (*RechargeOrder) GetGood

func (x *RechargeOrder) GetGood() *RechargeGood

func (*RechargeOrder) GetPlatformOrderNo

func (x *RechargeOrder) GetPlatformOrderNo() string

func (*RechargeOrder) GetPlatformStatus

func (x *RechargeOrder) GetPlatformStatus() string

func (*RechargeOrder) GetResult

func (x *RechargeOrder) GetResult() int32

func (*RechargeOrder) ProtoMessage

func (*RechargeOrder) ProtoMessage()

func (*RechargeOrder) ProtoReflect

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

func (*RechargeOrder) Reset

func (x *RechargeOrder) Reset()

func (*RechargeOrder) String

func (x *RechargeOrder) String() string

type RechargeOrderCheckDeliveReq added in v0.0.40

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

充值-检查订单并发货

func (*RechargeOrderCheckDeliveReq) Descriptor deprecated added in v0.0.40

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

Deprecated: Use RechargeOrderCheckDeliveReq.ProtoReflect.Descriptor instead.

func (*RechargeOrderCheckDeliveReq) GetRid added in v0.0.40

func (x *RechargeOrderCheckDeliveReq) GetRid() int32

func (*RechargeOrderCheckDeliveReq) ProtoMessage added in v0.0.40

func (*RechargeOrderCheckDeliveReq) ProtoMessage()

func (*RechargeOrderCheckDeliveReq) ProtoReflect added in v0.0.40

func (*RechargeOrderCheckDeliveReq) Reset added in v0.0.40

func (x *RechargeOrderCheckDeliveReq) Reset()

func (*RechargeOrderCheckDeliveReq) String added in v0.0.40

func (x *RechargeOrderCheckDeliveReq) String() string

type RechargeOrderStatusDeliveResp added in v0.0.40

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

func (*RechargeOrderStatusDeliveResp) Descriptor deprecated added in v0.0.40

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

Deprecated: Use RechargeOrderStatusDeliveResp.ProtoReflect.Descriptor instead.

func (*RechargeOrderStatusDeliveResp) ProtoMessage added in v0.0.40

func (*RechargeOrderStatusDeliveResp) ProtoMessage()

func (*RechargeOrderStatusDeliveResp) ProtoReflect added in v0.0.40

func (*RechargeOrderStatusDeliveResp) Reset added in v0.0.40

func (x *RechargeOrderStatusDeliveResp) Reset()

func (*RechargeOrderStatusDeliveResp) String added in v0.0.40

type RefreshCacheReq added in v0.0.24

type RefreshCacheReq struct {
	OpId   int32  `protobuf:"varint,1,opt,name=op_id,json=opId,proto3" json:"op_id,omitempty"`
	Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` //模块自定义
	// contains filtered or unexported fields
}

刷新缓存 0.封号,禁言 rid_actid_ip_ts 1.刷新服务器列表 2.刷新白名单 3.刷新公告

func (*RefreshCacheReq) Descriptor deprecated added in v0.0.24

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

Deprecated: Use RefreshCacheReq.ProtoReflect.Descriptor instead.

func (*RefreshCacheReq) GetOpId added in v0.0.24

func (x *RefreshCacheReq) GetOpId() int32

func (*RefreshCacheReq) GetParams added in v0.0.68

func (x *RefreshCacheReq) GetParams() string

func (*RefreshCacheReq) ProtoMessage added in v0.0.24

func (*RefreshCacheReq) ProtoMessage()

func (*RefreshCacheReq) ProtoReflect added in v0.0.24

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

func (*RefreshCacheReq) Reset added in v0.0.24

func (x *RefreshCacheReq) Reset()

func (*RefreshCacheReq) String added in v0.0.24

func (x *RefreshCacheReq) String() string

type RefreshCacheResp added in v0.0.24

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

func (*RefreshCacheResp) Descriptor deprecated added in v0.0.24

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

Deprecated: Use RefreshCacheResp.ProtoReflect.Descriptor instead.

func (*RefreshCacheResp) ProtoMessage added in v0.0.24

func (*RefreshCacheResp) ProtoMessage()

func (*RefreshCacheResp) ProtoReflect added in v0.0.24

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

func (*RefreshCacheResp) Reset added in v0.0.24

func (x *RefreshCacheResp) Reset()

func (*RefreshCacheResp) String added in v0.0.24

func (x *RefreshCacheResp) String() string

type RefreshCenterServerRpcClient added in v0.0.6

type RefreshCenterServerRpcClient interface {
	//
	RefreshCache(ctx context.Context, in *RefreshCacheReq, opts ...grpc.CallOption) (*RefreshCacheResp, error)
}

RefreshCenterServerRpcClient is the client API for RefreshCenterServerRpc 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 NewRefreshCenterServerRpcClient added in v0.0.6

func NewRefreshCenterServerRpcClient(cc grpc.ClientConnInterface) RefreshCenterServerRpcClient

type RefreshCenterServerRpcServer added in v0.0.6

type RefreshCenterServerRpcServer interface {
	//
	RefreshCache(context.Context, *RefreshCacheReq) (*RefreshCacheResp, error)
	// contains filtered or unexported methods
}

RefreshCenterServerRpcServer is the server API for RefreshCenterServerRpc service. All implementations must embed UnimplementedRefreshCenterServerRpcServer for forward compatibility

type RoleForbidLoginReq

type RoleForbidLoginReq struct {
	Info []*ForbidLoginInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleForbidLoginReq) Descriptor deprecated

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

Deprecated: Use RoleForbidLoginReq.ProtoReflect.Descriptor instead.

func (*RoleForbidLoginReq) GetInfo

func (x *RoleForbidLoginReq) GetInfo() []*ForbidLoginInfo

func (*RoleForbidLoginReq) ProtoMessage

func (*RoleForbidLoginReq) ProtoMessage()

func (*RoleForbidLoginReq) ProtoReflect

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

func (*RoleForbidLoginReq) Reset

func (x *RoleForbidLoginReq) Reset()

func (*RoleForbidLoginReq) String

func (x *RoleForbidLoginReq) String() string

type RoleForbidLoginResp

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

func (*RoleForbidLoginResp) Descriptor deprecated

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

Deprecated: Use RoleForbidLoginResp.ProtoReflect.Descriptor instead.

func (*RoleForbidLoginResp) ProtoMessage

func (*RoleForbidLoginResp) ProtoMessage()

func (*RoleForbidLoginResp) ProtoReflect

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

func (*RoleForbidLoginResp) Reset

func (x *RoleForbidLoginResp) Reset()

func (*RoleForbidLoginResp) String

func (x *RoleForbidLoginResp) String() string

type RoleImportDataReq

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

func (*RoleImportDataReq) Descriptor deprecated

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

Deprecated: Use RoleImportDataReq.ProtoReflect.Descriptor instead.

func (*RoleImportDataReq) GetRid

func (x *RoleImportDataReq) GetRid() int32

func (*RoleImportDataReq) GetServId

func (x *RoleImportDataReq) GetServId() int32

func (*RoleImportDataReq) ProtoMessage

func (*RoleImportDataReq) ProtoMessage()

func (*RoleImportDataReq) ProtoReflect

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

func (*RoleImportDataReq) Reset

func (x *RoleImportDataReq) Reset()

func (*RoleImportDataReq) String

func (x *RoleImportDataReq) String() string

type RoleImportDataResp

type RoleImportDataResp struct {
	Account  string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleImportDataResp) Descriptor deprecated

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

Deprecated: Use RoleImportDataResp.ProtoReflect.Descriptor instead.

func (*RoleImportDataResp) GetAccount

func (x *RoleImportDataResp) GetAccount() string

func (*RoleImportDataResp) GetPassword

func (x *RoleImportDataResp) GetPassword() string

func (*RoleImportDataResp) ProtoMessage

func (*RoleImportDataResp) ProtoMessage()

func (*RoleImportDataResp) ProtoReflect

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

func (*RoleImportDataResp) Reset

func (x *RoleImportDataResp) Reset()

func (*RoleImportDataResp) String

func (x *RoleImportDataResp) String() string

type RoleSyncInfoReq

type RoleSyncInfoReq 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"`
	RoleName  string `protobuf:"bytes,3,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	RoleLv    int32  `protobuf:"varint,4,opt,name=role_lv,json=roleLv,proto3" json:"role_lv,omitempty"`
	VipLv     int32  `protobuf:"varint,5,opt,name=vip_lv,json=vipLv,proto3" json:"vip_lv,omitempty"`
	Ce        int64  `protobuf:"varint,6,opt,name=ce,proto3" json:"ce,omitempty"`                               //历史最大战力
	GuildId   int32  `protobuf:"varint,8,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`      //师团ID
	GuildName string `protobuf:"bytes,9,opt,name=guild_name,json=guildName,proto3" json:"guild_name,omitempty"` //师团名
	// contains filtered or unexported fields
}

修改角色信息

func (*RoleSyncInfoReq) Descriptor deprecated

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

Deprecated: Use RoleSyncInfoReq.ProtoReflect.Descriptor instead.

func (*RoleSyncInfoReq) GetCe added in v0.0.8

func (x *RoleSyncInfoReq) GetCe() int64

func (*RoleSyncInfoReq) GetCuid added in v0.0.8

func (x *RoleSyncInfoReq) GetCuid() string

func (*RoleSyncInfoReq) GetGuildId

func (x *RoleSyncInfoReq) GetGuildId() int32

func (*RoleSyncInfoReq) GetGuildName

func (x *RoleSyncInfoReq) GetGuildName() string

func (*RoleSyncInfoReq) GetRid

func (x *RoleSyncInfoReq) GetRid() int32

func (*RoleSyncInfoReq) GetRoleLv

func (x *RoleSyncInfoReq) GetRoleLv() int32

func (*RoleSyncInfoReq) GetRoleName

func (x *RoleSyncInfoReq) GetRoleName() string

func (*RoleSyncInfoReq) GetVipLv

func (x *RoleSyncInfoReq) GetVipLv() int32

func (*RoleSyncInfoReq) ProtoMessage

func (*RoleSyncInfoReq) ProtoMessage()

func (*RoleSyncInfoReq) ProtoReflect

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

func (*RoleSyncInfoReq) Reset

func (x *RoleSyncInfoReq) Reset()

func (*RoleSyncInfoReq) String

func (x *RoleSyncInfoReq) String() string

type RoleSyncInfoResp

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

func (*RoleSyncInfoResp) Descriptor deprecated

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

Deprecated: Use RoleSyncInfoResp.ProtoReflect.Descriptor instead.

func (*RoleSyncInfoResp) ProtoMessage

func (*RoleSyncInfoResp) ProtoMessage()

func (*RoleSyncInfoResp) ProtoReflect

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

func (*RoleSyncInfoResp) Reset

func (x *RoleSyncInfoResp) Reset()

func (*RoleSyncInfoResp) String

func (x *RoleSyncInfoResp) String() string

type UnimplementedAiGiftCenterServerRpcServer added in v0.0.106

type UnimplementedAiGiftCenterServerRpcServer struct {
}

UnimplementedAiGiftCenterServerRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedAiGiftCenterServerRpcServer) AiGiftInfo added in v0.0.113

func (UnimplementedAiGiftCenterServerRpcServer) AiGiftList added in v0.0.106

func (UnimplementedAiGiftCenterServerRpcServer) CreateAiGiftOrder added in v0.0.106

func (UnimplementedAiGiftCenterServerRpcServer) TakeAiGift added in v0.0.106

type UnimplementedCenterServerRpcServer

type UnimplementedCenterServerRpcServer struct {
}

UnimplementedCenterServerRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedCenterServerRpcServer) CacheRefreshCenterServer

func (UnimplementedCenterServerRpcServer) ExchangeCodeUse

func (UnimplementedCenterServerRpcServer) GsInfo

func (UnimplementedCenterServerRpcServer) GsPushOnlineCount added in v0.0.7

func (UnimplementedCenterServerRpcServer) RoleForbidLogin

func (UnimplementedCenterServerRpcServer) RoleImportData

func (UnimplementedCenterServerRpcServer) RoleSyncInfo

type UnimplementedRechargeCenterServerRpcServer

type UnimplementedRechargeCenterServerRpcServer struct {
}

UnimplementedRechargeCenterServerRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedRechargeCenterServerRpcServer) CreateOrder

func (UnimplementedRechargeCenterServerRpcServer) OrderCheckDelive added in v0.0.40

type UnimplementedRefreshCenterServerRpcServer added in v0.0.6

type UnimplementedRefreshCenterServerRpcServer struct {
}

UnimplementedRefreshCenterServerRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedRefreshCenterServerRpcServer) RefreshCache added in v0.0.24

type UnsafeAiGiftCenterServerRpcServer added in v0.0.106

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

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

type UnsafeCenterServerRpcServer

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

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

type UnsafeRechargeCenterServerRpcServer

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

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

type UnsafeRefreshCenterServerRpcServer added in v0.0.6

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

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

Jump to

Keyboard shortcuts

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