Documentation ¶
Index ¶
- Variables
- func RegisterServerService2Server(s grpc.ServiceRegistrar, srv ServerService2Server)
- type ExportRoleDataIn
- type ExportRoleDataOut
- func (*ExportRoleDataOut) Descriptor() ([]byte, []int)deprecated
- func (x *ExportRoleDataOut) GetCode() int32
- func (x *ExportRoleDataOut) GetData() []byte
- func (x *ExportRoleDataOut) GetMessage() string
- func (*ExportRoleDataOut) ProtoMessage()
- func (x *ExportRoleDataOut) ProtoReflect() protoreflect.Message
- func (x *ExportRoleDataOut) Reset()
- func (x *ExportRoleDataOut) String() string
- type GetOnlineRoleCountRequest
- type GetOnlineRoleCountResponse
- func (*GetOnlineRoleCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOnlineRoleCountResponse) GetOnlineCount() int64
- func (x *GetOnlineRoleCountResponse) GetRegistCount() int64
- func (*GetOnlineRoleCountResponse) ProtoMessage()
- func (x *GetOnlineRoleCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetOnlineRoleCountResponse) Reset()
- func (x *GetOnlineRoleCountResponse) String() string
- type ImportRoleDataIn
- func (*ImportRoleDataIn) Descriptor() ([]byte, []int)deprecated
- func (x *ImportRoleDataIn) GetData() []byte
- func (x *ImportRoleDataIn) GetRid() int32
- func (x *ImportRoleDataIn) GetUid() int32
- func (*ImportRoleDataIn) ProtoMessage()
- func (x *ImportRoleDataIn) ProtoReflect() protoreflect.Message
- func (x *ImportRoleDataIn) Reset()
- func (x *ImportRoleDataIn) String() string
- type ImportRoleDataOut
- func (*ImportRoleDataOut) Descriptor() ([]byte, []int)deprecated
- func (x *ImportRoleDataOut) GetCode() int32
- func (x *ImportRoleDataOut) GetMessage() string
- func (*ImportRoleDataOut) ProtoMessage()
- func (x *ImportRoleDataOut) ProtoReflect() protoreflect.Message
- func (x *ImportRoleDataOut) Reset()
- func (x *ImportRoleDataOut) String() string
- type K32V64
- type ServerArgsAddItems
- func (*ServerArgsAddItems) Descriptor() ([]byte, []int)deprecated
- func (x *ServerArgsAddItems) GetItems() []*K32V64
- func (x *ServerArgsAddItems) GetRid() int32
- func (*ServerArgsAddItems) ProtoMessage()
- func (x *ServerArgsAddItems) ProtoReflect() protoreflect.Message
- func (x *ServerArgsAddItems) Reset()
- func (x *ServerArgsAddItems) String() string
- type ServerArgsForbidChat
- func (*ServerArgsForbidChat) Descriptor() ([]byte, []int)deprecated
- func (x *ServerArgsForbidChat) GetExpireTime() int64
- func (x *ServerArgsForbidChat) GetForbid() bool
- func (x *ServerArgsForbidChat) GetRid() int32
- func (*ServerArgsForbidChat) ProtoMessage()
- func (x *ServerArgsForbidChat) ProtoReflect() protoreflect.Message
- func (x *ServerArgsForbidChat) Reset()
- func (x *ServerArgsForbidChat) String() string
- type ServerArgsRechargePush
- func (*ServerArgsRechargePush) Descriptor() ([]byte, []int)deprecated
- func (x *ServerArgsRechargePush) GetAmount() string
- func (x *ServerArgsRechargePush) GetCheckAmount() bool
- func (x *ServerArgsRechargePush) GetOrderId() string
- func (x *ServerArgsRechargePush) GetPackageType() int32
- func (x *ServerArgsRechargePush) GetPayType() string
- func (x *ServerArgsRechargePush) GetProductId() int32
- func (x *ServerArgsRechargePush) GetRid() int32
- func (x *ServerArgsRechargePush) GetSdkProductId() string
- func (*ServerArgsRechargePush) ProtoMessage()
- func (x *ServerArgsRechargePush) ProtoReflect() protoreflect.Message
- func (x *ServerArgsRechargePush) Reset()
- func (x *ServerArgsRechargePush) String() string
- type ServerArgsSendRoleMail
- func (*ServerArgsSendRoleMail) Descriptor() ([]byte, []int)deprecated
- func (x *ServerArgsSendRoleMail) GetCharF() int32
- func (x *ServerArgsSendRoleMail) GetCharS() int32
- func (x *ServerArgsSendRoleMail) GetCustomContent() []string
- func (x *ServerArgsSendRoleMail) GetCustomTitle() []string
- func (x *ServerArgsSendRoleMail) GetItems() []*K32V64
- func (x *ServerArgsSendRoleMail) GetLan() []string
- func (x *ServerArgsSendRoleMail) GetRids() []int32
- func (*ServerArgsSendRoleMail) ProtoMessage()
- func (x *ServerArgsSendRoleMail) ProtoReflect() protoreflect.Message
- func (x *ServerArgsSendRoleMail) Reset()
- func (x *ServerArgsSendRoleMail) String() string
- type ServerArgsSendServMail
- func (*ServerArgsSendServMail) Descriptor() ([]byte, []int)deprecated
- func (x *ServerArgsSendServMail) GetCharF() int32
- func (x *ServerArgsSendServMail) GetCharS() int32
- func (x *ServerArgsSendServMail) GetCustomContent() []string
- func (x *ServerArgsSendServMail) GetCustomTitle() []string
- func (x *ServerArgsSendServMail) GetItems() []*K32V64
- func (x *ServerArgsSendServMail) GetLan() []string
- func (x *ServerArgsSendServMail) GetNeedLv() int32
- func (x *ServerArgsSendServMail) GetNeedVipLv() int32
- func (x *ServerArgsSendServMail) GetServId() int32
- func (*ServerArgsSendServMail) ProtoMessage()
- func (x *ServerArgsSendServMail) ProtoReflect() protoreflect.Message
- func (x *ServerArgsSendServMail) Reset()
- func (x *ServerArgsSendServMail) String() string
- type ServerArgsTimeJump
- func (*ServerArgsTimeJump) Descriptor() ([]byte, []int)deprecated
- func (x *ServerArgsTimeJump) GetCancel() bool
- func (x *ServerArgsTimeJump) GetTime() string
- func (*ServerArgsTimeJump) ProtoMessage()
- func (x *ServerArgsTimeJump) ProtoReflect() protoreflect.Message
- func (x *ServerArgsTimeJump) Reset()
- func (x *ServerArgsTimeJump) String() string
- type ServerReplyAddItems
- func (*ServerReplyAddItems) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReplyAddItems) GetCode() int32
- func (x *ServerReplyAddItems) GetMessage() string
- func (*ServerReplyAddItems) ProtoMessage()
- func (x *ServerReplyAddItems) ProtoReflect() protoreflect.Message
- func (x *ServerReplyAddItems) Reset()
- func (x *ServerReplyAddItems) String() string
- type ServerReplyForbidChat
- type ServerReplyRechargePush
- func (*ServerReplyRechargePush) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReplyRechargePush) GetCode() int32
- func (x *ServerReplyRechargePush) GetMessage() string
- func (*ServerReplyRechargePush) ProtoMessage()
- func (x *ServerReplyRechargePush) ProtoReflect() protoreflect.Message
- func (x *ServerReplyRechargePush) Reset()
- func (x *ServerReplyRechargePush) String() string
- type ServerReplySendRoleMail
- func (*ServerReplySendRoleMail) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReplySendRoleMail) GetCode() int32
- func (x *ServerReplySendRoleMail) GetMessage() string
- func (*ServerReplySendRoleMail) ProtoMessage()
- func (x *ServerReplySendRoleMail) ProtoReflect() protoreflect.Message
- func (x *ServerReplySendRoleMail) Reset()
- func (x *ServerReplySendRoleMail) String() string
- type ServerReplySendServMail
- func (*ServerReplySendServMail) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReplySendServMail) GetCode() int32
- func (x *ServerReplySendServMail) GetMessage() string
- func (*ServerReplySendServMail) ProtoMessage()
- func (x *ServerReplySendServMail) ProtoReflect() protoreflect.Message
- func (x *ServerReplySendServMail) Reset()
- func (x *ServerReplySendServMail) String() string
- type ServerReplyTimeJump
- func (*ServerReplyTimeJump) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReplyTimeJump) GetCode() int32
- func (x *ServerReplyTimeJump) GetMessage() string
- func (*ServerReplyTimeJump) ProtoMessage()
- func (x *ServerReplyTimeJump) ProtoReflect() protoreflect.Message
- func (x *ServerReplyTimeJump) Reset()
- func (x *ServerReplyTimeJump) String() string
- type ServerService2Client
- type ServerService2Server
- type UnimplementedServerService2Server
- func (UnimplementedServerService2Server) AddItems(context.Context, *ServerArgsAddItems) (*ServerReplyAddItems, error)
- func (UnimplementedServerService2Server) ExportRoleData(context.Context, *ExportRoleDataIn) (*ExportRoleDataOut, error)
- func (UnimplementedServerService2Server) ForbidChat(context.Context, *ServerArgsForbidChat) (*ServerReplyForbidChat, error)
- func (UnimplementedServerService2Server) GetOnlineRoleCount(context.Context, *GetOnlineRoleCountRequest) (*GetOnlineRoleCountResponse, error)
- func (UnimplementedServerService2Server) ImportRoleData(context.Context, *ImportRoleDataIn) (*ImportRoleDataOut, error)
- func (UnimplementedServerService2Server) RechargePush(context.Context, *ServerArgsRechargePush) (*ServerReplyRechargePush, error)
- func (UnimplementedServerService2Server) SendRoleMail(context.Context, *ServerArgsSendRoleMail) (*ServerReplySendRoleMail, error)
- func (UnimplementedServerService2Server) SendServMail(context.Context, *ServerArgsSendServMail) (*ServerReplySendServMail, error)
- func (UnimplementedServerService2Server) TimeJump(context.Context, *ServerArgsTimeJump) (*ServerReplyTimeJump, error)
- type UnsafeServerService2Server
Constants ¶
This section is empty.
Variables ¶
var File_game_server_rpc_proto protoreflect.FileDescriptor
var ServerService2_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gsrpc.ServerService2", HandlerType: (*ServerService2Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "addItems", Handler: _ServerService2_AddItems_Handler, }, { MethodName: "sendRoleMail", Handler: _ServerService2_SendRoleMail_Handler, }, { MethodName: "exportRoleData", Handler: _ServerService2_ExportRoleData_Handler, }, { MethodName: "importRoleData", Handler: _ServerService2_ImportRoleData_Handler, }, { MethodName: "sendServMail", Handler: _ServerService2_SendServMail_Handler, }, { MethodName: "forbidChat", Handler: _ServerService2_ForbidChat_Handler, }, { MethodName: "rechargePush", Handler: _ServerService2_RechargePush_Handler, }, { MethodName: "timeJump", Handler: _ServerService2_TimeJump_Handler, }, { MethodName: "getOnlineRoleCount", Handler: _ServerService2_GetOnlineRoleCount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "game_server_rpc.proto", }
ServerService2_ServiceDesc is the grpc.ServiceDesc for ServerService2 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServerService2Server ¶
func RegisterServerService2Server(s grpc.ServiceRegistrar, srv ServerService2Server)
Types ¶
type ExportRoleDataIn ¶
type ExportRoleDataIn struct { Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` // contains filtered or unexported fields }
func (*ExportRoleDataIn) Descriptor
deprecated
func (*ExportRoleDataIn) Descriptor() ([]byte, []int)
Deprecated: Use ExportRoleDataIn.ProtoReflect.Descriptor instead.
func (*ExportRoleDataIn) GetRid ¶
func (x *ExportRoleDataIn) GetRid() int32
func (*ExportRoleDataIn) ProtoMessage ¶
func (*ExportRoleDataIn) ProtoMessage()
func (*ExportRoleDataIn) ProtoReflect ¶
func (x *ExportRoleDataIn) ProtoReflect() protoreflect.Message
func (*ExportRoleDataIn) Reset ¶
func (x *ExportRoleDataIn) Reset()
func (*ExportRoleDataIn) String ¶
func (x *ExportRoleDataIn) String() string
type ExportRoleDataOut ¶
type ExportRoleDataOut struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ExportRoleDataOut) Descriptor
deprecated
func (*ExportRoleDataOut) Descriptor() ([]byte, []int)
Deprecated: Use ExportRoleDataOut.ProtoReflect.Descriptor instead.
func (*ExportRoleDataOut) GetCode ¶
func (x *ExportRoleDataOut) GetCode() int32
func (*ExportRoleDataOut) GetData ¶
func (x *ExportRoleDataOut) GetData() []byte
func (*ExportRoleDataOut) GetMessage ¶
func (x *ExportRoleDataOut) GetMessage() string
func (*ExportRoleDataOut) ProtoMessage ¶
func (*ExportRoleDataOut) ProtoMessage()
func (*ExportRoleDataOut) ProtoReflect ¶
func (x *ExportRoleDataOut) ProtoReflect() protoreflect.Message
func (*ExportRoleDataOut) Reset ¶
func (x *ExportRoleDataOut) Reset()
func (*ExportRoleDataOut) String ¶
func (x *ExportRoleDataOut) String() string
type GetOnlineRoleCountRequest ¶
type GetOnlineRoleCountRequest struct {
// contains filtered or unexported fields
}
获取区服在线角色数量
func (*GetOnlineRoleCountRequest) Descriptor
deprecated
func (*GetOnlineRoleCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOnlineRoleCountRequest.ProtoReflect.Descriptor instead.
func (*GetOnlineRoleCountRequest) ProtoMessage ¶
func (*GetOnlineRoleCountRequest) ProtoMessage()
func (*GetOnlineRoleCountRequest) ProtoReflect ¶
func (x *GetOnlineRoleCountRequest) ProtoReflect() protoreflect.Message
func (*GetOnlineRoleCountRequest) Reset ¶
func (x *GetOnlineRoleCountRequest) Reset()
func (*GetOnlineRoleCountRequest) String ¶
func (x *GetOnlineRoleCountRequest) String() string
type GetOnlineRoleCountResponse ¶
type GetOnlineRoleCountResponse struct { OnlineCount int64 `protobuf:"varint,1,opt,name=online_count,json=onlineCount,proto3" json:"online_count,omitempty"` RegistCount int64 `protobuf:"varint,2,opt,name=regist_count,json=registCount,proto3" json:"regist_count,omitempty"` // contains filtered or unexported fields }
func (*GetOnlineRoleCountResponse) Descriptor
deprecated
func (*GetOnlineRoleCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOnlineRoleCountResponse.ProtoReflect.Descriptor instead.
func (*GetOnlineRoleCountResponse) GetOnlineCount ¶
func (x *GetOnlineRoleCountResponse) GetOnlineCount() int64
func (*GetOnlineRoleCountResponse) GetRegistCount ¶
func (x *GetOnlineRoleCountResponse) GetRegistCount() int64
func (*GetOnlineRoleCountResponse) ProtoMessage ¶
func (*GetOnlineRoleCountResponse) ProtoMessage()
func (*GetOnlineRoleCountResponse) ProtoReflect ¶
func (x *GetOnlineRoleCountResponse) ProtoReflect() protoreflect.Message
func (*GetOnlineRoleCountResponse) Reset ¶
func (x *GetOnlineRoleCountResponse) Reset()
func (*GetOnlineRoleCountResponse) String ¶
func (x *GetOnlineRoleCountResponse) String() string
type ImportRoleDataIn ¶
type ImportRoleDataIn struct { Uid int32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` Rid int32 `protobuf:"varint,2,opt,name=rid,proto3" json:"rid,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ImportRoleDataIn) Descriptor
deprecated
func (*ImportRoleDataIn) Descriptor() ([]byte, []int)
Deprecated: Use ImportRoleDataIn.ProtoReflect.Descriptor instead.
func (*ImportRoleDataIn) GetData ¶
func (x *ImportRoleDataIn) GetData() []byte
func (*ImportRoleDataIn) GetRid ¶
func (x *ImportRoleDataIn) GetRid() int32
func (*ImportRoleDataIn) GetUid ¶
func (x *ImportRoleDataIn) GetUid() int32
func (*ImportRoleDataIn) ProtoMessage ¶
func (*ImportRoleDataIn) ProtoMessage()
func (*ImportRoleDataIn) ProtoReflect ¶
func (x *ImportRoleDataIn) ProtoReflect() protoreflect.Message
func (*ImportRoleDataIn) Reset ¶
func (x *ImportRoleDataIn) Reset()
func (*ImportRoleDataIn) String ¶
func (x *ImportRoleDataIn) String() string
type ImportRoleDataOut ¶
type ImportRoleDataOut struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ImportRoleDataOut) Descriptor
deprecated
func (*ImportRoleDataOut) Descriptor() ([]byte, []int)
Deprecated: Use ImportRoleDataOut.ProtoReflect.Descriptor instead.
func (*ImportRoleDataOut) GetCode ¶
func (x *ImportRoleDataOut) GetCode() int32
func (*ImportRoleDataOut) GetMessage ¶
func (x *ImportRoleDataOut) GetMessage() string
func (*ImportRoleDataOut) ProtoMessage ¶
func (*ImportRoleDataOut) ProtoMessage()
func (*ImportRoleDataOut) ProtoReflect ¶
func (x *ImportRoleDataOut) ProtoReflect() protoreflect.Message
func (*ImportRoleDataOut) Reset ¶
func (x *ImportRoleDataOut) Reset()
func (*ImportRoleDataOut) String ¶
func (x *ImportRoleDataOut) String() string
type K32V64 ¶
type K32V64 struct { K int32 `protobuf:"varint,1,opt,name=k,proto3" json:"k,omitempty"` V int64 `protobuf:"varint,2,opt,name=v,proto3" json:"v,omitempty"` // contains filtered or unexported fields }
func (*K32V64) Descriptor
deprecated
func (*K32V64) ProtoMessage ¶
func (*K32V64) ProtoMessage()
func (*K32V64) ProtoReflect ¶
func (x *K32V64) ProtoReflect() protoreflect.Message
type ServerArgsAddItems ¶
type ServerArgsAddItems struct { Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` // 角色Id Items []*K32V64 `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 物品 // contains filtered or unexported fields }
发送物品
func (*ServerArgsAddItems) Descriptor
deprecated
func (*ServerArgsAddItems) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsAddItems.ProtoReflect.Descriptor instead.
func (*ServerArgsAddItems) GetItems ¶
func (x *ServerArgsAddItems) GetItems() []*K32V64
func (*ServerArgsAddItems) GetRid ¶
func (x *ServerArgsAddItems) GetRid() int32
func (*ServerArgsAddItems) ProtoMessage ¶
func (*ServerArgsAddItems) ProtoMessage()
func (*ServerArgsAddItems) ProtoReflect ¶
func (x *ServerArgsAddItems) ProtoReflect() protoreflect.Message
func (*ServerArgsAddItems) Reset ¶
func (x *ServerArgsAddItems) Reset()
func (*ServerArgsAddItems) String ¶
func (x *ServerArgsAddItems) String() string
type ServerArgsForbidChat ¶
type ServerArgsForbidChat struct { Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` Forbid bool `protobuf:"varint,2,opt,name=forbid,proto3" json:"forbid,omitempty"` ExpireTime int64 `protobuf:"varint,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
禁言
func (*ServerArgsForbidChat) Descriptor
deprecated
func (*ServerArgsForbidChat) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsForbidChat.ProtoReflect.Descriptor instead.
func (*ServerArgsForbidChat) GetExpireTime ¶
func (x *ServerArgsForbidChat) GetExpireTime() int64
func (*ServerArgsForbidChat) GetForbid ¶
func (x *ServerArgsForbidChat) GetForbid() bool
func (*ServerArgsForbidChat) GetRid ¶
func (x *ServerArgsForbidChat) GetRid() int32
func (*ServerArgsForbidChat) ProtoMessage ¶
func (*ServerArgsForbidChat) ProtoMessage()
func (*ServerArgsForbidChat) ProtoReflect ¶
func (x *ServerArgsForbidChat) ProtoReflect() protoreflect.Message
func (*ServerArgsForbidChat) Reset ¶
func (x *ServerArgsForbidChat) Reset()
func (*ServerArgsForbidChat) String ¶
func (x *ServerArgsForbidChat) String() string
type ServerArgsRechargePush ¶
type ServerArgsRechargePush struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 订单Id PackageType int32 `protobuf:"varint,2,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"` // 包类型 PayType string `protobuf:"bytes,3,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"` // 支付类型 SdkProductId string `protobuf:"bytes,4,opt,name=sdk_product_id,json=sdkProductId,proto3" json:"sdk_product_id,omitempty"` // SDK商品Id ProductId int32 `protobuf:"varint,5,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // SDK商品Id Rid int32 `protobuf:"varint,6,opt,name=rid,proto3" json:"rid,omitempty"` // 角色Id CheckAmount bool `protobuf:"varint,7,opt,name=check_amount,json=checkAmount,proto3" json:"check_amount,omitempty"` Amount string `protobuf:"bytes,8,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
充值推送
func (*ServerArgsRechargePush) Descriptor
deprecated
func (*ServerArgsRechargePush) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsRechargePush.ProtoReflect.Descriptor instead.
func (*ServerArgsRechargePush) GetAmount ¶
func (x *ServerArgsRechargePush) GetAmount() string
func (*ServerArgsRechargePush) GetCheckAmount ¶
func (x *ServerArgsRechargePush) GetCheckAmount() bool
func (*ServerArgsRechargePush) GetOrderId ¶
func (x *ServerArgsRechargePush) GetOrderId() string
func (*ServerArgsRechargePush) GetPackageType ¶
func (x *ServerArgsRechargePush) GetPackageType() int32
func (*ServerArgsRechargePush) GetPayType ¶
func (x *ServerArgsRechargePush) GetPayType() string
func (*ServerArgsRechargePush) GetProductId ¶
func (x *ServerArgsRechargePush) GetProductId() int32
func (*ServerArgsRechargePush) GetRid ¶
func (x *ServerArgsRechargePush) GetRid() int32
func (*ServerArgsRechargePush) GetSdkProductId ¶
func (x *ServerArgsRechargePush) GetSdkProductId() string
func (*ServerArgsRechargePush) ProtoMessage ¶
func (*ServerArgsRechargePush) ProtoMessage()
func (*ServerArgsRechargePush) ProtoReflect ¶
func (x *ServerArgsRechargePush) ProtoReflect() protoreflect.Message
func (*ServerArgsRechargePush) Reset ¶
func (x *ServerArgsRechargePush) Reset()
func (*ServerArgsRechargePush) String ¶
func (x *ServerArgsRechargePush) String() string
type ServerArgsSendRoleMail ¶
type ServerArgsSendRoleMail struct { Rids []int32 `protobuf:"varint,1,rep,packed,name=rids,proto3" json:"rids,omitempty"` // 角色Id集合 CharF int32 `protobuf:"varint,2,opt,name=char_f,json=charF,proto3" json:"char_f,omitempty"` // 多语言Key CharS int32 `protobuf:"varint,3,opt,name=char_s,json=charS,proto3" json:"char_s,omitempty"` // 多语言Key Items []*K32V64 `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` // 奖励物品 Lan []string `protobuf:"bytes,5,rep,name=lan,proto3" json:"lan,omitempty"` CustomTitle []string `protobuf:"bytes,6,rep,name=custom_title,json=customTitle,proto3" json:"custom_title,omitempty"` // 自定义标题 CustomContent []string `protobuf:"bytes,7,rep,name=custom_content,json=customContent,proto3" json:"custom_content,omitempty"` // 自定义内容 // contains filtered or unexported fields }
发送角色邮件
func (*ServerArgsSendRoleMail) Descriptor
deprecated
func (*ServerArgsSendRoleMail) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsSendRoleMail.ProtoReflect.Descriptor instead.
func (*ServerArgsSendRoleMail) GetCharF ¶
func (x *ServerArgsSendRoleMail) GetCharF() int32
func (*ServerArgsSendRoleMail) GetCharS ¶
func (x *ServerArgsSendRoleMail) GetCharS() int32
func (*ServerArgsSendRoleMail) GetCustomContent ¶
func (x *ServerArgsSendRoleMail) GetCustomContent() []string
func (*ServerArgsSendRoleMail) GetCustomTitle ¶
func (x *ServerArgsSendRoleMail) GetCustomTitle() []string
func (*ServerArgsSendRoleMail) GetItems ¶
func (x *ServerArgsSendRoleMail) GetItems() []*K32V64
func (*ServerArgsSendRoleMail) GetLan ¶
func (x *ServerArgsSendRoleMail) GetLan() []string
func (*ServerArgsSendRoleMail) GetRids ¶
func (x *ServerArgsSendRoleMail) GetRids() []int32
func (*ServerArgsSendRoleMail) ProtoMessage ¶
func (*ServerArgsSendRoleMail) ProtoMessage()
func (*ServerArgsSendRoleMail) ProtoReflect ¶
func (x *ServerArgsSendRoleMail) ProtoReflect() protoreflect.Message
func (*ServerArgsSendRoleMail) Reset ¶
func (x *ServerArgsSendRoleMail) Reset()
func (*ServerArgsSendRoleMail) String ¶
func (x *ServerArgsSendRoleMail) String() string
type ServerArgsSendServMail ¶
type ServerArgsSendServMail struct { ServId int32 `protobuf:"varint,1,opt,name=serv_id,json=servId,proto3" json:"serv_id,omitempty"` // 区服Id CharF int32 `protobuf:"varint,2,opt,name=char_f,json=charF,proto3" json:"char_f,omitempty"` // 多语言Key CharS int32 `protobuf:"varint,3,opt,name=char_s,json=charS,proto3" json:"char_s,omitempty"` // 多语言Key NeedLv int32 `protobuf:"varint,4,opt,name=need_lv,json=needLv,proto3" json:"need_lv,omitempty"` // 需求等级 NeedVipLv int32 `protobuf:"varint,5,opt,name=need_vip_lv,json=needVipLv,proto3" json:"need_vip_lv,omitempty"` // 需求VIP等级 Items []*K32V64 `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"` // 奖励物品 Lan []string `protobuf:"bytes,7,rep,name=lan,proto3" json:"lan,omitempty"` CustomTitle []string `protobuf:"bytes,8,rep,name=custom_title,json=customTitle,proto3" json:"custom_title,omitempty"` // 自定义标题 CustomContent []string `protobuf:"bytes,9,rep,name=custom_content,json=customContent,proto3" json:"custom_content,omitempty"` // 自定义内容 // contains filtered or unexported fields }
发送区服邮件
func (*ServerArgsSendServMail) Descriptor
deprecated
func (*ServerArgsSendServMail) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsSendServMail.ProtoReflect.Descriptor instead.
func (*ServerArgsSendServMail) GetCharF ¶
func (x *ServerArgsSendServMail) GetCharF() int32
func (*ServerArgsSendServMail) GetCharS ¶
func (x *ServerArgsSendServMail) GetCharS() int32
func (*ServerArgsSendServMail) GetCustomContent ¶
func (x *ServerArgsSendServMail) GetCustomContent() []string
func (*ServerArgsSendServMail) GetCustomTitle ¶
func (x *ServerArgsSendServMail) GetCustomTitle() []string
func (*ServerArgsSendServMail) GetItems ¶
func (x *ServerArgsSendServMail) GetItems() []*K32V64
func (*ServerArgsSendServMail) GetLan ¶
func (x *ServerArgsSendServMail) GetLan() []string
func (*ServerArgsSendServMail) GetNeedLv ¶
func (x *ServerArgsSendServMail) GetNeedLv() int32
func (*ServerArgsSendServMail) GetNeedVipLv ¶
func (x *ServerArgsSendServMail) GetNeedVipLv() int32
func (*ServerArgsSendServMail) GetServId ¶
func (x *ServerArgsSendServMail) GetServId() int32
func (*ServerArgsSendServMail) ProtoMessage ¶
func (*ServerArgsSendServMail) ProtoMessage()
func (*ServerArgsSendServMail) ProtoReflect ¶
func (x *ServerArgsSendServMail) ProtoReflect() protoreflect.Message
func (*ServerArgsSendServMail) Reset ¶
func (x *ServerArgsSendServMail) Reset()
func (*ServerArgsSendServMail) String ¶
func (x *ServerArgsSendServMail) String() string
type ServerArgsTimeJump ¶
type ServerArgsTimeJump struct { Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // time str Cancel bool `protobuf:"varint,2,opt,name=cancel,proto3" json:"cancel,omitempty"` // 取消 // contains filtered or unexported fields }
时间跳跃
func (*ServerArgsTimeJump) Descriptor
deprecated
func (*ServerArgsTimeJump) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsTimeJump.ProtoReflect.Descriptor instead.
func (*ServerArgsTimeJump) GetCancel ¶
func (x *ServerArgsTimeJump) GetCancel() bool
func (*ServerArgsTimeJump) GetTime ¶
func (x *ServerArgsTimeJump) GetTime() string
func (*ServerArgsTimeJump) ProtoMessage ¶
func (*ServerArgsTimeJump) ProtoMessage()
func (*ServerArgsTimeJump) ProtoReflect ¶
func (x *ServerArgsTimeJump) ProtoReflect() protoreflect.Message
func (*ServerArgsTimeJump) Reset ¶
func (x *ServerArgsTimeJump) Reset()
func (*ServerArgsTimeJump) String ¶
func (x *ServerArgsTimeJump) String() string
type ServerReplyAddItems ¶
type ServerReplyAddItems 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 (*ServerReplyAddItems) Descriptor
deprecated
func (*ServerReplyAddItems) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplyAddItems.ProtoReflect.Descriptor instead.
func (*ServerReplyAddItems) GetCode ¶
func (x *ServerReplyAddItems) GetCode() int32
func (*ServerReplyAddItems) GetMessage ¶
func (x *ServerReplyAddItems) GetMessage() string
func (*ServerReplyAddItems) ProtoMessage ¶
func (*ServerReplyAddItems) ProtoMessage()
func (*ServerReplyAddItems) ProtoReflect ¶
func (x *ServerReplyAddItems) ProtoReflect() protoreflect.Message
func (*ServerReplyAddItems) Reset ¶
func (x *ServerReplyAddItems) Reset()
func (*ServerReplyAddItems) String ¶
func (x *ServerReplyAddItems) String() string
type ServerReplyForbidChat ¶
type ServerReplyForbidChat struct {
// contains filtered or unexported fields
}
func (*ServerReplyForbidChat) Descriptor
deprecated
func (*ServerReplyForbidChat) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplyForbidChat.ProtoReflect.Descriptor instead.
func (*ServerReplyForbidChat) ProtoMessage ¶
func (*ServerReplyForbidChat) ProtoMessage()
func (*ServerReplyForbidChat) ProtoReflect ¶
func (x *ServerReplyForbidChat) ProtoReflect() protoreflect.Message
func (*ServerReplyForbidChat) Reset ¶
func (x *ServerReplyForbidChat) Reset()
func (*ServerReplyForbidChat) String ¶
func (x *ServerReplyForbidChat) String() string
type ServerReplyRechargePush ¶
type ServerReplyRechargePush struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息 // contains filtered or unexported fields }
func (*ServerReplyRechargePush) Descriptor
deprecated
func (*ServerReplyRechargePush) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplyRechargePush.ProtoReflect.Descriptor instead.
func (*ServerReplyRechargePush) GetCode ¶
func (x *ServerReplyRechargePush) GetCode() int32
func (*ServerReplyRechargePush) GetMessage ¶
func (x *ServerReplyRechargePush) GetMessage() string
func (*ServerReplyRechargePush) ProtoMessage ¶
func (*ServerReplyRechargePush) ProtoMessage()
func (*ServerReplyRechargePush) ProtoReflect ¶
func (x *ServerReplyRechargePush) ProtoReflect() protoreflect.Message
func (*ServerReplyRechargePush) Reset ¶
func (x *ServerReplyRechargePush) Reset()
func (*ServerReplyRechargePush) String ¶
func (x *ServerReplyRechargePush) String() string
type ServerReplySendRoleMail ¶
type ServerReplySendRoleMail struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息 // contains filtered or unexported fields }
func (*ServerReplySendRoleMail) Descriptor
deprecated
func (*ServerReplySendRoleMail) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplySendRoleMail.ProtoReflect.Descriptor instead.
func (*ServerReplySendRoleMail) GetCode ¶
func (x *ServerReplySendRoleMail) GetCode() int32
func (*ServerReplySendRoleMail) GetMessage ¶
func (x *ServerReplySendRoleMail) GetMessage() string
func (*ServerReplySendRoleMail) ProtoMessage ¶
func (*ServerReplySendRoleMail) ProtoMessage()
func (*ServerReplySendRoleMail) ProtoReflect ¶
func (x *ServerReplySendRoleMail) ProtoReflect() protoreflect.Message
func (*ServerReplySendRoleMail) Reset ¶
func (x *ServerReplySendRoleMail) Reset()
func (*ServerReplySendRoleMail) String ¶
func (x *ServerReplySendRoleMail) String() string
type ServerReplySendServMail ¶
type ServerReplySendServMail struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息 // contains filtered or unexported fields }
func (*ServerReplySendServMail) Descriptor
deprecated
func (*ServerReplySendServMail) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplySendServMail.ProtoReflect.Descriptor instead.
func (*ServerReplySendServMail) GetCode ¶
func (x *ServerReplySendServMail) GetCode() int32
func (*ServerReplySendServMail) GetMessage ¶
func (x *ServerReplySendServMail) GetMessage() string
func (*ServerReplySendServMail) ProtoMessage ¶
func (*ServerReplySendServMail) ProtoMessage()
func (*ServerReplySendServMail) ProtoReflect ¶
func (x *ServerReplySendServMail) ProtoReflect() protoreflect.Message
func (*ServerReplySendServMail) Reset ¶
func (x *ServerReplySendServMail) Reset()
func (*ServerReplySendServMail) String ¶
func (x *ServerReplySendServMail) String() string
type ServerReplyTimeJump ¶
type ServerReplyTimeJump struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息 // contains filtered or unexported fields }
func (*ServerReplyTimeJump) Descriptor
deprecated
func (*ServerReplyTimeJump) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplyTimeJump.ProtoReflect.Descriptor instead.
func (*ServerReplyTimeJump) GetCode ¶
func (x *ServerReplyTimeJump) GetCode() int32
func (*ServerReplyTimeJump) GetMessage ¶
func (x *ServerReplyTimeJump) GetMessage() string
func (*ServerReplyTimeJump) ProtoMessage ¶
func (*ServerReplyTimeJump) ProtoMessage()
func (*ServerReplyTimeJump) ProtoReflect ¶
func (x *ServerReplyTimeJump) ProtoReflect() protoreflect.Message
func (*ServerReplyTimeJump) Reset ¶
func (x *ServerReplyTimeJump) Reset()
func (*ServerReplyTimeJump) String ¶
func (x *ServerReplyTimeJump) String() string
type ServerService2Client ¶
type ServerService2Client interface { // 发送物品 AddItems(ctx context.Context, in *ServerArgsAddItems, opts ...grpc.CallOption) (*ServerReplyAddItems, error) // 发送邮件 SendRoleMail(ctx context.Context, in *ServerArgsSendRoleMail, opts ...grpc.CallOption) (*ServerReplySendRoleMail, error) // 导出数据 ExportRoleData(ctx context.Context, in *ExportRoleDataIn, opts ...grpc.CallOption) (*ExportRoleDataOut, error) // 导入数据 ImportRoleData(ctx context.Context, in *ImportRoleDataIn, opts ...grpc.CallOption) (*ImportRoleDataOut, error) // 发送区服邮件 SendServMail(ctx context.Context, in *ServerArgsSendServMail, opts ...grpc.CallOption) (*ServerReplySendServMail, error) // 禁言 ForbidChat(ctx context.Context, in *ServerArgsForbidChat, opts ...grpc.CallOption) (*ServerReplyForbidChat, error) // 充值推送 RechargePush(ctx context.Context, in *ServerArgsRechargePush, opts ...grpc.CallOption) (*ServerReplyRechargePush, error) // 时间跳跃 TimeJump(ctx context.Context, in *ServerArgsTimeJump, opts ...grpc.CallOption) (*ServerReplyTimeJump, error) // 获取区服在线角色数量 GetOnlineRoleCount(ctx context.Context, in *GetOnlineRoleCountRequest, opts ...grpc.CallOption) (*GetOnlineRoleCountResponse, error) }
ServerService2Client is the client API for ServerService2 service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServerService2Client ¶
func NewServerService2Client(cc grpc.ClientConnInterface) ServerService2Client
type ServerService2Server ¶
type ServerService2Server interface { // 发送物品 AddItems(context.Context, *ServerArgsAddItems) (*ServerReplyAddItems, error) // 发送邮件 SendRoleMail(context.Context, *ServerArgsSendRoleMail) (*ServerReplySendRoleMail, error) // 导出数据 ExportRoleData(context.Context, *ExportRoleDataIn) (*ExportRoleDataOut, error) // 导入数据 ImportRoleData(context.Context, *ImportRoleDataIn) (*ImportRoleDataOut, error) // 发送区服邮件 SendServMail(context.Context, *ServerArgsSendServMail) (*ServerReplySendServMail, error) // 禁言 ForbidChat(context.Context, *ServerArgsForbidChat) (*ServerReplyForbidChat, error) // 充值推送 RechargePush(context.Context, *ServerArgsRechargePush) (*ServerReplyRechargePush, error) // 时间跳跃 TimeJump(context.Context, *ServerArgsTimeJump) (*ServerReplyTimeJump, error) // 获取区服在线角色数量 GetOnlineRoleCount(context.Context, *GetOnlineRoleCountRequest) (*GetOnlineRoleCountResponse, error) // contains filtered or unexported methods }
ServerService2Server is the server API for ServerService2 service. All implementations must embed UnimplementedServerService2Server for forward compatibility
type UnimplementedServerService2Server ¶
type UnimplementedServerService2Server struct { }
UnimplementedServerService2Server must be embedded to have forward compatible implementations.
func (UnimplementedServerService2Server) AddItems ¶
func (UnimplementedServerService2Server) AddItems(context.Context, *ServerArgsAddItems) (*ServerReplyAddItems, error)
func (UnimplementedServerService2Server) ExportRoleData ¶
func (UnimplementedServerService2Server) ExportRoleData(context.Context, *ExportRoleDataIn) (*ExportRoleDataOut, error)
func (UnimplementedServerService2Server) ForbidChat ¶
func (UnimplementedServerService2Server) ForbidChat(context.Context, *ServerArgsForbidChat) (*ServerReplyForbidChat, error)
func (UnimplementedServerService2Server) GetOnlineRoleCount ¶
func (UnimplementedServerService2Server) GetOnlineRoleCount(context.Context, *GetOnlineRoleCountRequest) (*GetOnlineRoleCountResponse, error)
func (UnimplementedServerService2Server) ImportRoleData ¶
func (UnimplementedServerService2Server) ImportRoleData(context.Context, *ImportRoleDataIn) (*ImportRoleDataOut, error)
func (UnimplementedServerService2Server) RechargePush ¶
func (UnimplementedServerService2Server) RechargePush(context.Context, *ServerArgsRechargePush) (*ServerReplyRechargePush, error)
func (UnimplementedServerService2Server) SendRoleMail ¶
func (UnimplementedServerService2Server) SendRoleMail(context.Context, *ServerArgsSendRoleMail) (*ServerReplySendRoleMail, error)
func (UnimplementedServerService2Server) SendServMail ¶
func (UnimplementedServerService2Server) SendServMail(context.Context, *ServerArgsSendServMail) (*ServerReplySendServMail, error)
func (UnimplementedServerService2Server) TimeJump ¶
func (UnimplementedServerService2Server) TimeJump(context.Context, *ServerArgsTimeJump) (*ServerReplyTimeJump, error)
type UnsafeServerService2Server ¶
type UnsafeServerService2Server interface {
// contains filtered or unexported methods
}
UnsafeServerService2Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServerService2Server will result in compilation errors.