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) GetGmAddr() string
- func (x *GsInfoResp) GetMaintainStatus() int32
- func (x *GsInfoResp) GetOpenDate() int64
- func (x *GsInfoResp) GetPhysicalServer() string
- func (x *GsInfoResp) GetRpcAddr() string
- func (x *GsInfoResp) GetServId() int32
- func (x *GsInfoResp) GetServName() string
- func (x *GsInfoResp) GetWsAddr() string
- func (*GsInfoResp) ProtoMessage()
- func (x *GsInfoResp) ProtoReflect() protoreflect.Message
- func (x *GsInfoResp) Reset()
- func (x *GsInfoResp) String() string
- type GsPushOnlineCountReq
- func (*GsPushOnlineCountReq) Descriptor() ([]byte, []int)deprecated
- func (x *GsPushOnlineCountReq) GetGsid() int32
- func (x *GsPushOnlineCountReq) GetOnlineCount() int64
- func (x *GsPushOnlineCountReq) GetRechargeCount() int32
- func (x *GsPushOnlineCountReq) GetRegistCount() int64
- func (*GsPushOnlineCountReq) ProtoMessage()
- func (x *GsPushOnlineCountReq) ProtoReflect() protoreflect.Message
- func (x *GsPushOnlineCountReq) Reset()
- func (x *GsPushOnlineCountReq) String() string
- type GsPushOnlineCountResp
- 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 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 RechargeOrderCheckDeliveReq
- func (*RechargeOrderCheckDeliveReq) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeOrderCheckDeliveReq) GetRid() int32
- func (*RechargeOrderCheckDeliveReq) ProtoMessage()
- func (x *RechargeOrderCheckDeliveReq) ProtoReflect() protoreflect.Message
- func (x *RechargeOrderCheckDeliveReq) Reset()
- func (x *RechargeOrderCheckDeliveReq) String() string
- type RechargeOrderStatusDeliveResp
- func (*RechargeOrderStatusDeliveResp) Descriptor() ([]byte, []int)deprecated
- func (*RechargeOrderStatusDeliveResp) ProtoMessage()
- func (x *RechargeOrderStatusDeliveResp) ProtoReflect() protoreflect.Message
- func (x *RechargeOrderStatusDeliveResp) Reset()
- func (x *RechargeOrderStatusDeliveResp) String() string
- type RefreshCacheReq
- func (*RefreshCacheReq) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshCacheReq) GetOpId() int32
- func (x *RefreshCacheReq) GetParams() string
- func (*RefreshCacheReq) ProtoMessage()
- func (x *RefreshCacheReq) ProtoReflect() protoreflect.Message
- func (x *RefreshCacheReq) Reset()
- func (x *RefreshCacheReq) String() string
- type RefreshCacheResp
- type RefreshCenterServerRpcClient
- type RefreshCenterServerRpcServer
- 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) GetCe() int64
- func (x *RoleSyncInfoReq) GetCuid() string
- func (x *RoleSyncInfoReq) GetGuildId() int32
- func (x *RoleSyncInfoReq) GetGuildName() string
- func (x *RoleSyncInfoReq) GetRid() int32
- func (x *RoleSyncInfoReq) GetRoleLv() int32
- func (x *RoleSyncInfoReq) GetRoleName() string
- 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) GsPushOnlineCount(context.Context, *GsPushOnlineCountReq) (*GsPushOnlineCountResp, 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
- 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, }, { 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)
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: "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)
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 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) // 推送在线角色数量 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.
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) // 推送在线角色数量 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) ProtoMessage ¶
func (*GsInfoReq) ProtoMessage()
func (*GsInfoReq) ProtoReflect ¶
func (x *GsInfoReq) ProtoReflect() protoreflect.Message
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.
func NewRechargeCenterServerRpcClient ¶
func NewRechargeCenterServerRpcClient(cc grpc.ClientConnInterface) RechargeCenterServerRpcClient
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 (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 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 (x *RechargeOrderCheckDeliveReq) ProtoReflect() protoreflect.Message
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 (x *RechargeOrderStatusDeliveResp) ProtoReflect() protoreflect.Message
func (*RechargeOrderStatusDeliveResp) Reset ¶ added in v0.0.40
func (x *RechargeOrderStatusDeliveResp) Reset()
func (*RechargeOrderStatusDeliveResp) String ¶ added in v0.0.40
func (x *RechargeOrderStatusDeliveResp) String() string
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 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) GsPushOnlineCount ¶ added in v0.0.7
func (UnimplementedCenterServerRpcServer) GsPushOnlineCount(context.Context, *GsPushOnlineCountReq) (*GsPushOnlineCountResp, 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) OrderCheckDelive ¶ added in v0.0.40
func (UnimplementedRechargeCenterServerRpcServer) OrderCheckDelive(context.Context, *RechargeOrderCheckDeliveReq) (*RechargeOrderStatusDeliveResp, error)
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
func (UnimplementedRefreshCenterServerRpcServer) RefreshCache(context.Context, *RefreshCacheReq) (*RefreshCacheResp, 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.