Documentation ¶
Index ¶
- Variables
- func RegisterCenterServerRpcServer(s grpc.ServiceRegistrar, srv CenterServerRpcServer)
- func RegisterRechargeCenterServerRpcServer(s grpc.ServiceRegistrar, srv RechargeCenterServerRpcServer)
- func RegisterRefreshCenterServerRpcServer(s grpc.ServiceRegistrar, srv RefreshCenterServerRpcServer)
- type CacheRefreshCenterServerReq
- func (*CacheRefreshCenterServerReq) Descriptor() ([]byte, []int)deprecated
- func (x *CacheRefreshCenterServerReq) GetRefreshType() int32
- func (*CacheRefreshCenterServerReq) ProtoMessage()
- func (x *CacheRefreshCenterServerReq) ProtoReflect() protoreflect.Message
- func (x *CacheRefreshCenterServerReq) Reset()
- func (x *CacheRefreshCenterServerReq) String() string
- type CacheRefreshCenterServerResp
- func (*CacheRefreshCenterServerResp) Descriptor() ([]byte, []int)deprecated
- func (*CacheRefreshCenterServerResp) ProtoMessage()
- func (x *CacheRefreshCenterServerResp) ProtoReflect() protoreflect.Message
- func (x *CacheRefreshCenterServerResp) Reset()
- func (x *CacheRefreshCenterServerResp) String() string
- type CenterServerRpcClient
- type CenterServerRpcServer
- type ExchangeCodeUseReq
- func (*ExchangeCodeUseReq) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeCodeUseReq) GetCode() string
- func (x *ExchangeCodeUseReq) GetRid() int32
- func (*ExchangeCodeUseReq) ProtoMessage()
- func (x *ExchangeCodeUseReq) ProtoReflect() protoreflect.Message
- func (x *ExchangeCodeUseReq) Reset()
- func (x *ExchangeCodeUseReq) String() string
- type ExchangeCodeUseResp
- func (*ExchangeCodeUseResp) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeCodeUseResp) GetItems() string
- func (*ExchangeCodeUseResp) ProtoMessage()
- func (x *ExchangeCodeUseResp) ProtoReflect() protoreflect.Message
- func (x *ExchangeCodeUseResp) Reset()
- func (x *ExchangeCodeUseResp) String() string
- type ForbidLoginInfo
- func (*ForbidLoginInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ForbidLoginInfo) GetAccount() string
- func (x *ForbidLoginInfo) GetEndTime() int64
- func (x *ForbidLoginInfo) GetForbid() bool
- func (x *ForbidLoginInfo) GetLoginType() int32
- func (*ForbidLoginInfo) ProtoMessage()
- func (x *ForbidLoginInfo) ProtoReflect() protoreflect.Message
- func (x *ForbidLoginInfo) Reset()
- func (x *ForbidLoginInfo) String() string
- type GsInfoReq
- type GsInfoResp
- func (*GsInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GsInfoResp) GetId() int32
- func (x *GsInfoResp) GetIp() string
- func (x *GsInfoResp) GetName() string
- func (x *GsInfoResp) GetOpenDate() int64
- func (x *GsInfoResp) GetPort() int32
- func (x *GsInfoResp) GetRpcPort() int32
- func (x *GsInfoResp) GetStatus() int32
- func (*GsInfoResp) ProtoMessage()
- func (x *GsInfoResp) ProtoReflect() protoreflect.Message
- func (x *GsInfoResp) Reset()
- func (x *GsInfoResp) String() string
- type RechargeCenterServerRpcClient
- type RechargeCenterServerRpcServer
- type RechargeCreateOrderReq
- func (*RechargeCreateOrderReq) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeCreateOrderReq) GetCuid() string
- func (x *RechargeCreateOrderReq) GetGood() *RechargeGood
- func (x *RechargeCreateOrderReq) GetPlatform() string
- func (x *RechargeCreateOrderReq) GetRid() int32
- func (x *RechargeCreateOrderReq) GetServerId() int32
- func (*RechargeCreateOrderReq) ProtoMessage()
- func (x *RechargeCreateOrderReq) ProtoReflect() protoreflect.Message
- func (x *RechargeCreateOrderReq) Reset()
- func (x *RechargeCreateOrderReq) String() string
- type RechargeCreateOrderResp
- func (*RechargeCreateOrderResp) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeCreateOrderResp) GetPlatformOrderNo() string
- func (x *RechargeCreateOrderResp) GetPlatformToken() string
- func (*RechargeCreateOrderResp) ProtoMessage()
- func (x *RechargeCreateOrderResp) ProtoReflect() protoreflect.Message
- func (x *RechargeCreateOrderResp) Reset()
- func (x *RechargeCreateOrderResp) String() string
- type RechargeDeliveReq
- func (*RechargeDeliveReq) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeDeliveReq) GetPlatform() string
- func (x *RechargeDeliveReq) GetPlatformOrderNo() string
- func (*RechargeDeliveReq) ProtoMessage()
- func (x *RechargeDeliveReq) ProtoReflect() protoreflect.Message
- func (x *RechargeDeliveReq) Reset()
- func (x *RechargeDeliveReq) String() string
- type RechargeDeliveResp
- type RechargeGood
- func (*RechargeGood) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeGood) GetCurrency() string
- func (x *RechargeGood) GetId() int32
- func (x *RechargeGood) GetName() string
- func (x *RechargeGood) GetPrice() string
- func (*RechargeGood) ProtoMessage()
- func (x *RechargeGood) ProtoReflect() protoreflect.Message
- func (x *RechargeGood) Reset()
- func (x *RechargeGood) String() string
- type RechargeNotDelivedListReq
- func (*RechargeNotDelivedListReq) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeNotDelivedListReq) GetCuid() string
- func (x *RechargeNotDelivedListReq) GetPlatform() string
- func (x *RechargeNotDelivedListReq) GetRid() int32
- func (*RechargeNotDelivedListReq) ProtoMessage()
- func (x *RechargeNotDelivedListReq) ProtoReflect() protoreflect.Message
- func (x *RechargeNotDelivedListReq) Reset()
- func (x *RechargeNotDelivedListReq) String() string
- type RechargeNotDelivedListResp
- func (*RechargeNotDelivedListResp) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeNotDelivedListResp) GetOrders() []*RechargeOrder
- func (*RechargeNotDelivedListResp) ProtoMessage()
- func (x *RechargeNotDelivedListResp) ProtoReflect() protoreflect.Message
- func (x *RechargeNotDelivedListResp) Reset()
- func (x *RechargeNotDelivedListResp) String() string
- type RechargeOrder
- func (*RechargeOrder) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeOrder) GetGood() *RechargeGood
- func (x *RechargeOrder) GetPlatformOrderNo() string
- func (x *RechargeOrder) GetPlatformStatus() string
- func (x *RechargeOrder) GetResult() int32
- func (*RechargeOrder) ProtoMessage()
- func (x *RechargeOrder) ProtoReflect() protoreflect.Message
- func (x *RechargeOrder) Reset()
- func (x *RechargeOrder) String() string
- type RechargeOrderStatusReq
- func (*RechargeOrderStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeOrderStatusReq) GetPlatform() string
- func (x *RechargeOrderStatusReq) GetPlatformOrderNo() string
- func (*RechargeOrderStatusReq) ProtoMessage()
- func (x *RechargeOrderStatusReq) ProtoReflect() protoreflect.Message
- func (x *RechargeOrderStatusReq) Reset()
- func (x *RechargeOrderStatusReq) String() string
- type RechargeOrderStatusResp
- func (*RechargeOrderStatusResp) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeOrderStatusResp) GetOrder() *RechargeOrder
- func (*RechargeOrderStatusResp) ProtoMessage()
- func (x *RechargeOrderStatusResp) ProtoReflect() protoreflect.Message
- func (x *RechargeOrderStatusResp) Reset()
- func (x *RechargeOrderStatusResp) String() string
- type RefreshBanReq
- type RefreshBanResp
- func (*RefreshBanResp) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshBanResp) GetCode() int32
- func (x *RefreshBanResp) GetMessage() string
- func (*RefreshBanResp) ProtoMessage()
- func (x *RefreshBanResp) ProtoReflect() protoreflect.Message
- func (x *RefreshBanResp) Reset()
- func (x *RefreshBanResp) String() string
- type RefreshCenterServerRpcClient
- type RefreshCenterServerRpcServer
- type RefreshServerReq
- type RefreshServerResp
- func (*RefreshServerResp) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshServerResp) GetCode() int32
- func (x *RefreshServerResp) GetMessage() string
- func (*RefreshServerResp) ProtoMessage()
- func (x *RefreshServerResp) ProtoReflect() protoreflect.Message
- func (x *RefreshServerResp) Reset()
- func (x *RefreshServerResp) String() string
- type RoleForbidLoginReq
- func (*RoleForbidLoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *RoleForbidLoginReq) GetInfo() []*ForbidLoginInfo
- func (*RoleForbidLoginReq) ProtoMessage()
- func (x *RoleForbidLoginReq) ProtoReflect() protoreflect.Message
- func (x *RoleForbidLoginReq) Reset()
- func (x *RoleForbidLoginReq) String() string
- type RoleForbidLoginResp
- type RoleImportDataReq
- func (*RoleImportDataReq) Descriptor() ([]byte, []int)deprecated
- func (x *RoleImportDataReq) GetRid() int32
- func (x *RoleImportDataReq) GetServId() int32
- func (*RoleImportDataReq) ProtoMessage()
- func (x *RoleImportDataReq) ProtoReflect() protoreflect.Message
- func (x *RoleImportDataReq) Reset()
- func (x *RoleImportDataReq) String() string
- type RoleImportDataResp
- func (*RoleImportDataResp) Descriptor() ([]byte, []int)deprecated
- func (x *RoleImportDataResp) GetAccount() string
- func (x *RoleImportDataResp) GetPassword() string
- func (*RoleImportDataResp) ProtoMessage()
- func (x *RoleImportDataResp) ProtoReflect() protoreflect.Message
- func (x *RoleImportDataResp) Reset()
- func (x *RoleImportDataResp) String() string
- type RoleSyncInfoReq
- func (*RoleSyncInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSyncInfoReq) GetGuildId() int32
- func (x *RoleSyncInfoReq) GetGuildName() string
- func (x *RoleSyncInfoReq) GetHisMaxCe() int64
- func (x *RoleSyncInfoReq) GetRid() int32
- func (x *RoleSyncInfoReq) GetRoleLv() int32
- func (x *RoleSyncInfoReq) GetRoleName() string
- func (x *RoleSyncInfoReq) GetUid() int32
- func (x *RoleSyncInfoReq) GetVipLv() int32
- func (*RoleSyncInfoReq) ProtoMessage()
- func (x *RoleSyncInfoReq) ProtoReflect() protoreflect.Message
- func (x *RoleSyncInfoReq) Reset()
- func (x *RoleSyncInfoReq) String() string
- type RoleSyncInfoResp
- type UnimplementedCenterServerRpcServer
- func (UnimplementedCenterServerRpcServer) CacheRefreshCenterServer(context.Context, *CacheRefreshCenterServerReq) (*CacheRefreshCenterServerResp, error)
- func (UnimplementedCenterServerRpcServer) ExchangeCodeUse(context.Context, *ExchangeCodeUseReq) (*ExchangeCodeUseResp, error)
- func (UnimplementedCenterServerRpcServer) GsInfo(context.Context, *GsInfoReq) (*GsInfoResp, error)
- func (UnimplementedCenterServerRpcServer) RoleForbidLogin(context.Context, *RoleForbidLoginReq) (*RoleForbidLoginResp, error)
- func (UnimplementedCenterServerRpcServer) RoleImportData(context.Context, *RoleImportDataReq) (*RoleImportDataResp, error)
- func (UnimplementedCenterServerRpcServer) RoleSyncInfo(context.Context, *RoleSyncInfoReq) (*RoleSyncInfoResp, error)
- type UnimplementedRechargeCenterServerRpcServer
- func (UnimplementedRechargeCenterServerRpcServer) CreateOrder(context.Context, *RechargeCreateOrderReq) (*RechargeCreateOrderResp, error)
- func (UnimplementedRechargeCenterServerRpcServer) Delive(context.Context, *RechargeDeliveReq) (*RechargeDeliveResp, error)
- func (UnimplementedRechargeCenterServerRpcServer) NotDelivedList(context.Context, *RechargeNotDelivedListReq) (*RechargeNotDelivedListResp, error)
- func (UnimplementedRechargeCenterServerRpcServer) OrderStatus(context.Context, *RechargeOrderStatusReq) (*RechargeOrderStatusResp, error)
- type UnimplementedRefreshCenterServerRpcServer
- type UnsafeCenterServerRpcServer
- type UnsafeRechargeCenterServerRpcServer
- type UnsafeRefreshCenterServerRpcServer
Constants ¶
This section is empty.
Variables ¶
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, }, }, 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)
var File_center_server_rpc_proto protoreflect.FileDescriptor
var RechargeCenterServerRpc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "csrpc.RechargeCenterServerRpc", HandlerType: (*RechargeCenterServerRpcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "createOrder", Handler: _RechargeCenterServerRpc_CreateOrder_Handler, }, { MethodName: "orderStatus", Handler: _RechargeCenterServerRpc_OrderStatus_Handler, }, { MethodName: "delive", Handler: _RechargeCenterServerRpc_Delive_Handler, }, { MethodName: "notDelivedList", Handler: _RechargeCenterServerRpc_NotDelivedList_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)
var RefreshCenterServerRpc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "csrpc.RefreshCenterServerRpc", HandlerType: (*RefreshCenterServerRpcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ban", Handler: _RefreshCenterServerRpc_Ban_Handler, }, { MethodName: "refreshServer", Handler: _RefreshCenterServerRpc_RefreshServer_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 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 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 (x *CacheRefreshCenterServerReq) ProtoReflect() protoreflect.Message
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 (x *CacheRefreshCenterServerResp) ProtoReflect() protoreflect.Message
func (*CacheRefreshCenterServerResp) Reset ¶
func (x *CacheRefreshCenterServerResp) Reset()
func (*CacheRefreshCenterServerResp) String ¶
func (x *CacheRefreshCenterServerResp) String() 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) }
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.
func NewCenterServerRpcClient ¶
func NewCenterServerRpcClient(cc grpc.ClientConnInterface) CenterServerRpcClient
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) // 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 { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
服务器信息
func (*GsInfoReq) Descriptor
deprecated
func (*GsInfoReq) ProtoMessage ¶
func (*GsInfoReq) ProtoMessage()
func (*GsInfoReq) ProtoReflect ¶
func (x *GsInfoReq) ProtoReflect() protoreflect.Message
type GsInfoResp ¶
type GsInfoResp struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // ws 端口 RpcPort int32 `protobuf:"varint,5,opt,name=rpc_port,json=rpcPort,proto3" json:"rpc_port,omitempty"` // rpc 端口 OpenDate int64 `protobuf:"varint,6,opt,name=open_date,json=openDate,proto3" json:"open_date,omitempty"` // 开服时间戳 Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` // 状态 // contains filtered or unexported fields }
func (*GsInfoResp) Descriptor
deprecated
func (*GsInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GsInfoResp.ProtoReflect.Descriptor instead.
func (*GsInfoResp) GetId ¶
func (x *GsInfoResp) GetId() int32
func (*GsInfoResp) GetIp ¶
func (x *GsInfoResp) GetIp() string
func (*GsInfoResp) GetName ¶
func (x *GsInfoResp) GetName() string
func (*GsInfoResp) GetOpenDate ¶
func (x *GsInfoResp) GetOpenDate() int64
func (*GsInfoResp) GetPort ¶
func (x *GsInfoResp) GetPort() int32
func (*GsInfoResp) GetRpcPort ¶
func (x *GsInfoResp) GetRpcPort() int32
func (*GsInfoResp) GetStatus ¶
func (x *GsInfoResp) GetStatus() int32
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 RechargeCenterServerRpcClient ¶
type RechargeCenterServerRpcClient interface { // 充值-创建订单 CreateOrder(ctx context.Context, in *RechargeCreateOrderReq, opts ...grpc.CallOption) (*RechargeCreateOrderResp, error) // 充值-获取订单状态 OrderStatus(ctx context.Context, in *RechargeOrderStatusReq, opts ...grpc.CallOption) (*RechargeOrderStatusResp, error) // 充值-发货 Delive(ctx context.Context, in *RechargeDeliveReq, opts ...grpc.CallOption) (*RechargeDeliveResp, error) // 充值-未发货列表 NotDelivedList(ctx context.Context, in *RechargeNotDelivedListReq, opts ...grpc.CallOption) (*RechargeNotDelivedListResp, 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.
func NewRechargeCenterServerRpcClient ¶
func NewRechargeCenterServerRpcClient(cc grpc.ClientConnInterface) RechargeCenterServerRpcClient
type RechargeCenterServerRpcServer ¶
type RechargeCenterServerRpcServer interface { // 充值-创建订单 CreateOrder(context.Context, *RechargeCreateOrderReq) (*RechargeCreateOrderResp, error) // 充值-获取订单状态 OrderStatus(context.Context, *RechargeOrderStatusReq) (*RechargeOrderStatusResp, error) // 充值-发货 Delive(context.Context, *RechargeDeliveReq) (*RechargeDeliveResp, error) // 充值-未发货列表 NotDelivedList(context.Context, *RechargeNotDelivedListReq) (*RechargeNotDelivedListResp, 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 RechargeDeliveReq ¶
type RechargeDeliveReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` PlatformOrderNo string `protobuf:"bytes,2,opt,name=platform_order_no,json=platformOrderNo,proto3" json:"platform_order_no,omitempty"` // contains filtered or unexported fields }
充值-发货
func (*RechargeDeliveReq) Descriptor
deprecated
func (*RechargeDeliveReq) Descriptor() ([]byte, []int)
Deprecated: Use RechargeDeliveReq.ProtoReflect.Descriptor instead.
func (*RechargeDeliveReq) GetPlatform ¶
func (x *RechargeDeliveReq) GetPlatform() string
func (*RechargeDeliveReq) GetPlatformOrderNo ¶
func (x *RechargeDeliveReq) GetPlatformOrderNo() string
func (*RechargeDeliveReq) ProtoMessage ¶
func (*RechargeDeliveReq) ProtoMessage()
func (*RechargeDeliveReq) ProtoReflect ¶
func (x *RechargeDeliveReq) ProtoReflect() protoreflect.Message
func (*RechargeDeliveReq) Reset ¶
func (x *RechargeDeliveReq) Reset()
func (*RechargeDeliveReq) String ¶
func (x *RechargeDeliveReq) String() string
type RechargeDeliveResp ¶
type RechargeDeliveResp struct {
// contains filtered or unexported fields
}
func (*RechargeDeliveResp) Descriptor
deprecated
func (*RechargeDeliveResp) Descriptor() ([]byte, []int)
Deprecated: Use RechargeDeliveResp.ProtoReflect.Descriptor instead.
func (*RechargeDeliveResp) ProtoMessage ¶
func (*RechargeDeliveResp) ProtoMessage()
func (*RechargeDeliveResp) ProtoReflect ¶
func (x *RechargeDeliveResp) ProtoReflect() protoreflect.Message
func (*RechargeDeliveResp) Reset ¶
func (x *RechargeDeliveResp) Reset()
func (*RechargeDeliveResp) String ¶
func (x *RechargeDeliveResp) 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 (x *RechargeNotDelivedListReq) ProtoReflect() protoreflect.Message
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 (x *RechargeNotDelivedListResp) ProtoReflect() protoreflect.Message
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 RechargeOrderStatusReq ¶
type RechargeOrderStatusReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` PlatformOrderNo string `protobuf:"bytes,2,opt,name=platform_order_no,json=platformOrderNo,proto3" json:"platform_order_no,omitempty"` // contains filtered or unexported fields }
充值-查询订单
func (*RechargeOrderStatusReq) Descriptor
deprecated
func (*RechargeOrderStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use RechargeOrderStatusReq.ProtoReflect.Descriptor instead.
func (*RechargeOrderStatusReq) GetPlatform ¶
func (x *RechargeOrderStatusReq) GetPlatform() string
func (*RechargeOrderStatusReq) GetPlatformOrderNo ¶
func (x *RechargeOrderStatusReq) GetPlatformOrderNo() string
func (*RechargeOrderStatusReq) ProtoMessage ¶
func (*RechargeOrderStatusReq) ProtoMessage()
func (*RechargeOrderStatusReq) ProtoReflect ¶
func (x *RechargeOrderStatusReq) ProtoReflect() protoreflect.Message
func (*RechargeOrderStatusReq) Reset ¶
func (x *RechargeOrderStatusReq) Reset()
func (*RechargeOrderStatusReq) String ¶
func (x *RechargeOrderStatusReq) String() string
type RechargeOrderStatusResp ¶
type RechargeOrderStatusResp struct { Order *RechargeOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` // contains filtered or unexported fields }
func (*RechargeOrderStatusResp) Descriptor
deprecated
func (*RechargeOrderStatusResp) Descriptor() ([]byte, []int)
Deprecated: Use RechargeOrderStatusResp.ProtoReflect.Descriptor instead.
func (*RechargeOrderStatusResp) GetOrder ¶
func (x *RechargeOrderStatusResp) GetOrder() *RechargeOrder
func (*RechargeOrderStatusResp) ProtoMessage ¶
func (*RechargeOrderStatusResp) ProtoMessage()
func (*RechargeOrderStatusResp) ProtoReflect ¶
func (x *RechargeOrderStatusResp) ProtoReflect() protoreflect.Message
func (*RechargeOrderStatusResp) Reset ¶
func (x *RechargeOrderStatusResp) Reset()
func (*RechargeOrderStatusResp) String ¶
func (x *RechargeOrderStatusResp) String() string
type RefreshBanReq ¶ added in v0.0.6
type RefreshBanReq struct {
// contains filtered or unexported fields
}
封号,禁言
func (*RefreshBanReq) Descriptor
deprecated
added in
v0.0.6
func (*RefreshBanReq) Descriptor() ([]byte, []int)
Deprecated: Use RefreshBanReq.ProtoReflect.Descriptor instead.
func (*RefreshBanReq) ProtoMessage ¶ added in v0.0.6
func (*RefreshBanReq) ProtoMessage()
func (*RefreshBanReq) ProtoReflect ¶ added in v0.0.6
func (x *RefreshBanReq) ProtoReflect() protoreflect.Message
func (*RefreshBanReq) Reset ¶ added in v0.0.6
func (x *RefreshBanReq) Reset()
func (*RefreshBanReq) String ¶ added in v0.0.6
func (x *RefreshBanReq) String() string
type RefreshBanResp ¶ added in v0.0.6
type RefreshBanResp 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 (*RefreshBanResp) Descriptor
deprecated
added in
v0.0.6
func (*RefreshBanResp) Descriptor() ([]byte, []int)
Deprecated: Use RefreshBanResp.ProtoReflect.Descriptor instead.
func (*RefreshBanResp) GetCode ¶ added in v0.0.6
func (x *RefreshBanResp) GetCode() int32
func (*RefreshBanResp) GetMessage ¶ added in v0.0.6
func (x *RefreshBanResp) GetMessage() string
func (*RefreshBanResp) ProtoMessage ¶ added in v0.0.6
func (*RefreshBanResp) ProtoMessage()
func (*RefreshBanResp) ProtoReflect ¶ added in v0.0.6
func (x *RefreshBanResp) ProtoReflect() protoreflect.Message
func (*RefreshBanResp) Reset ¶ added in v0.0.6
func (x *RefreshBanResp) Reset()
func (*RefreshBanResp) String ¶ added in v0.0.6
func (x *RefreshBanResp) String() string
type RefreshCenterServerRpcClient ¶ added in v0.0.6
type RefreshCenterServerRpcClient interface { // Ban(ctx context.Context, in *RefreshBanReq, opts ...grpc.CallOption) (*RefreshBanResp, error) RefreshServer(ctx context.Context, in *RefreshServerReq, opts ...grpc.CallOption) (*RefreshServerResp, 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 { // Ban(context.Context, *RefreshBanReq) (*RefreshBanResp, error) RefreshServer(context.Context, *RefreshServerReq) (*RefreshServerResp, error) // contains filtered or unexported methods }
RefreshCenterServerRpcServer is the server API for RefreshCenterServerRpc service. All implementations must embed UnimplementedRefreshCenterServerRpcServer for forward compatibility
type RefreshServerReq ¶ added in v0.0.6
type RefreshServerReq struct {
// contains filtered or unexported fields
}
刷新服务器列表
func (*RefreshServerReq) Descriptor
deprecated
added in
v0.0.6
func (*RefreshServerReq) Descriptor() ([]byte, []int)
Deprecated: Use RefreshServerReq.ProtoReflect.Descriptor instead.
func (*RefreshServerReq) ProtoMessage ¶ added in v0.0.6
func (*RefreshServerReq) ProtoMessage()
func (*RefreshServerReq) ProtoReflect ¶ added in v0.0.6
func (x *RefreshServerReq) ProtoReflect() protoreflect.Message
func (*RefreshServerReq) Reset ¶ added in v0.0.6
func (x *RefreshServerReq) Reset()
func (*RefreshServerReq) String ¶ added in v0.0.6
func (x *RefreshServerReq) String() string
type RefreshServerResp ¶ added in v0.0.6
type RefreshServerResp 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 (*RefreshServerResp) Descriptor
deprecated
added in
v0.0.6
func (*RefreshServerResp) Descriptor() ([]byte, []int)
Deprecated: Use RefreshServerResp.ProtoReflect.Descriptor instead.
func (*RefreshServerResp) GetCode ¶ added in v0.0.6
func (x *RefreshServerResp) GetCode() int32
func (*RefreshServerResp) GetMessage ¶ added in v0.0.6
func (x *RefreshServerResp) GetMessage() string
func (*RefreshServerResp) ProtoMessage ¶ added in v0.0.6
func (*RefreshServerResp) ProtoMessage()
func (*RefreshServerResp) ProtoReflect ¶ added in v0.0.6
func (x *RefreshServerResp) ProtoReflect() protoreflect.Message
func (*RefreshServerResp) Reset ¶ added in v0.0.6
func (x *RefreshServerResp) Reset()
func (*RefreshServerResp) String ¶ added in v0.0.6
func (x *RefreshServerResp) String() string
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 { Uid int32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,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"` HisMaxCe int64 `protobuf:"varint,6,opt,name=his_max_ce,json=hisMaxCe,proto3" json:"his_max_ce,omitempty"` //历史最大战力 GuildId int32 `protobuf:"varint,7,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` //师团ID GuildName string `protobuf:"bytes,8,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) GetGuildId ¶
func (x *RoleSyncInfoReq) GetGuildId() int32
func (*RoleSyncInfoReq) GetGuildName ¶
func (x *RoleSyncInfoReq) GetGuildName() string
func (*RoleSyncInfoReq) GetHisMaxCe ¶
func (x *RoleSyncInfoReq) GetHisMaxCe() int64
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) GetUid ¶
func (x *RoleSyncInfoReq) GetUid() int32
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 UnimplementedCenterServerRpcServer ¶
type UnimplementedCenterServerRpcServer struct { }
UnimplementedCenterServerRpcServer must be embedded to have forward compatible implementations.
func (UnimplementedCenterServerRpcServer) CacheRefreshCenterServer ¶
func (UnimplementedCenterServerRpcServer) CacheRefreshCenterServer(context.Context, *CacheRefreshCenterServerReq) (*CacheRefreshCenterServerResp, error)
func (UnimplementedCenterServerRpcServer) ExchangeCodeUse ¶
func (UnimplementedCenterServerRpcServer) ExchangeCodeUse(context.Context, *ExchangeCodeUseReq) (*ExchangeCodeUseResp, error)
func (UnimplementedCenterServerRpcServer) GsInfo ¶
func (UnimplementedCenterServerRpcServer) GsInfo(context.Context, *GsInfoReq) (*GsInfoResp, error)
func (UnimplementedCenterServerRpcServer) RoleForbidLogin ¶
func (UnimplementedCenterServerRpcServer) RoleForbidLogin(context.Context, *RoleForbidLoginReq) (*RoleForbidLoginResp, error)
func (UnimplementedCenterServerRpcServer) RoleImportData ¶
func (UnimplementedCenterServerRpcServer) RoleImportData(context.Context, *RoleImportDataReq) (*RoleImportDataResp, error)
func (UnimplementedCenterServerRpcServer) RoleSyncInfo ¶
func (UnimplementedCenterServerRpcServer) RoleSyncInfo(context.Context, *RoleSyncInfoReq) (*RoleSyncInfoResp, error)
type UnimplementedRechargeCenterServerRpcServer ¶
type UnimplementedRechargeCenterServerRpcServer struct { }
UnimplementedRechargeCenterServerRpcServer must be embedded to have forward compatible implementations.
func (UnimplementedRechargeCenterServerRpcServer) CreateOrder ¶
func (UnimplementedRechargeCenterServerRpcServer) CreateOrder(context.Context, *RechargeCreateOrderReq) (*RechargeCreateOrderResp, error)
func (UnimplementedRechargeCenterServerRpcServer) Delive ¶
func (UnimplementedRechargeCenterServerRpcServer) Delive(context.Context, *RechargeDeliveReq) (*RechargeDeliveResp, error)
func (UnimplementedRechargeCenterServerRpcServer) NotDelivedList ¶
func (UnimplementedRechargeCenterServerRpcServer) NotDelivedList(context.Context, *RechargeNotDelivedListReq) (*RechargeNotDelivedListResp, error)
func (UnimplementedRechargeCenterServerRpcServer) OrderStatus ¶
func (UnimplementedRechargeCenterServerRpcServer) OrderStatus(context.Context, *RechargeOrderStatusReq) (*RechargeOrderStatusResp, error)
type UnimplementedRefreshCenterServerRpcServer ¶ added in v0.0.6
type UnimplementedRefreshCenterServerRpcServer struct { }
UnimplementedRefreshCenterServerRpcServer must be embedded to have forward compatible implementations.
func (UnimplementedRefreshCenterServerRpcServer) Ban ¶ added in v0.0.6
func (UnimplementedRefreshCenterServerRpcServer) Ban(context.Context, *RefreshBanReq) (*RefreshBanResp, error)
func (UnimplementedRefreshCenterServerRpcServer) RefreshServer ¶ added in v0.0.6
func (UnimplementedRefreshCenterServerRpcServer) RefreshServer(context.Context, *RefreshServerReq) (*RefreshServerResp, error)
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.