Documentation ¶
Index ¶
- Variables
- func RegisterGmGameServerRpcServer(s grpc.ServiceRegistrar, srv GmGameServerRpcServer)
- func RegisterGvgGameServerRpcServer(s grpc.ServiceRegistrar, srv GvgGameServerRpcServer)
- func RegisterRechargeGameServerRpcServer(s grpc.ServiceRegistrar, srv RechargeGameServerRpcServer)
- func RegisterServerService2Server(s grpc.ServiceRegistrar, srv ServerService2Server)
- type BackGround
- type DeleteNotInitedRidReq
- func (*DeleteNotInitedRidReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotInitedRidReq) GetRid() int32
- func (*DeleteNotInitedRidReq) ProtoMessage()
- func (x *DeleteNotInitedRidReq) ProtoReflect() protoreflect.Message
- func (x *DeleteNotInitedRidReq) Reset()
- func (x *DeleteNotInitedRidReq) String() string
- type DeleteNotInitedRidResp
- 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 GetNotInitedRidsReq
- type GetNotInitedRidsResp
- func (*GetNotInitedRidsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotInitedRidsResp) GetIds() []*NotInited
- func (*GetNotInitedRidsResp) ProtoMessage()
- func (x *GetNotInitedRidsResp) ProtoReflect() protoreflect.Message
- func (x *GetNotInitedRidsResp) Reset()
- func (x *GetNotInitedRidsResp) String() string
- type GmGameServerRpcClient
- type GmGameServerRpcServer
- type GmSendGMReq
- func (*GmSendGMReq) Descriptor() ([]byte, []int)deprecated
- func (x *GmSendGMReq) GetGmid() int32
- func (x *GmSendGMReq) GetParams() []string
- func (*GmSendGMReq) ProtoMessage()
- func (x *GmSendGMReq) ProtoReflect() protoreflect.Message
- func (x *GmSendGMReq) Reset()
- func (x *GmSendGMReq) String() string
- type GmSendGMResp
- type GvgFleetReq
- type GvgFleetResp
- type GvgGameServerRpcClient
- type GvgGameServerRpcServer
- type GvgReportReq
- func (*GvgReportReq) Descriptor() ([]byte, []int)deprecated
- func (x *GvgReportReq) GetCid() string
- func (x *GvgReportReq) GetRid() int32
- func (x *GvgReportReq) GetV() string
- func (*GvgReportReq) ProtoMessage()
- func (x *GvgReportReq) ProtoReflect() protoreflect.Message
- func (x *GvgReportReq) Reset()
- func (x *GvgReportReq) String() string
- type GvgReportResp
- type HERO_ITEM
- 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 Item
- type K32V64
- type MailLanInfo
- func (*MailLanInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MailLanInfo) GetBackgroundUrl() string
- func (x *MailLanInfo) GetContent() string
- func (x *MailLanInfo) GetHeader() string
- func (x *MailLanInfo) GetLanguage() string
- func (*MailLanInfo) ProtoMessage()
- func (x *MailLanInfo) ProtoReflect() protoreflect.Message
- func (x *MailLanInfo) Reset()
- func (x *MailLanInfo) String() string
- type NotInited
- type RechargeDeliveReq
- func (*RechargeDeliveReq) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeDeliveReq) GetCuid() string
- func (x *RechargeDeliveReq) GetId() int32
- func (x *RechargeDeliveReq) GetRid() int32
- func (x *RechargeDeliveReq) GetServerId() int32
- func (*RechargeDeliveReq) ProtoMessage()
- func (x *RechargeDeliveReq) ProtoReflect() protoreflect.Message
- func (x *RechargeDeliveReq) Reset()
- func (x *RechargeDeliveReq) String() string
- type RechargeDeliveResp
- type RechargeGameServerRpcClient
- type RechargeGameServerRpcServer
- type RechargeGiftReq
- func (*RechargeGiftReq) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeGiftReq) GetAmountToDiamond() int32
- func (x *RechargeGiftReq) GetBackGround() *BackGround
- func (x *RechargeGiftReq) GetDuration() int32
- func (x *RechargeGiftReq) GetId() string
- func (x *RechargeGiftReq) GetIsAISupported() bool
- func (x *RechargeGiftReq) GetItems() []*Item
- func (x *RechargeGiftReq) GetPrice() int32
- func (x *RechargeGiftReq) GetPurchaseLimitAmount() int32
- func (x *RechargeGiftReq) GetRid() int32
- func (x *RechargeGiftReq) GetTemplateId() string
- func (x *RechargeGiftReq) GetVipPoints() int32
- func (*RechargeGiftReq) ProtoMessage()
- func (x *RechargeGiftReq) ProtoReflect() protoreflect.Message
- func (x *RechargeGiftReq) Reset()
- func (x *RechargeGiftReq) String() string
- type RechargeGiftResp
- type ServerArgsOffline
- 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) GetItems() []*K32V64
- func (x *ServerArgsSendRoleMail) GetMailLan() []*MailLanInfo
- 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) GetFirstType() int32
- func (x *ServerArgsSendServMail) GetItems() []*K32V64
- func (x *ServerArgsSendServMail) GetMailId() int64
- func (x *ServerArgsSendServMail) GetMailLan() []*MailLanInfo
- func (x *ServerArgsSendServMail) GetNeedLvMax() int32
- func (x *ServerArgsSendServMail) GetNeedLvMin() int32
- func (x *ServerArgsSendServMail) GetRegisteredAfter() int64
- func (x *ServerArgsSendServMail) GetRegisteredBefore() int64
- func (x *ServerArgsSendServMail) GetSecondType() 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 ServerReplyOffline
- 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 UnimplementedGmGameServerRpcServer
- type UnimplementedGvgGameServerRpcServer
- type UnimplementedRechargeGameServerRpcServer
- type UnimplementedServerService2Server
- func (UnimplementedServerService2Server) DeleteNotInitRid(context.Context, *DeleteNotInitedRidReq) (*DeleteNotInitedRidResp, error)
- func (UnimplementedServerService2Server) ExportRoleData(context.Context, *ExportRoleDataIn) (*ExportRoleDataOut, error)
- func (UnimplementedServerService2Server) GetNotInitedRids(context.Context, *GetNotInitedRidsReq) (*GetNotInitedRidsResp, error)
- func (UnimplementedServerService2Server) ImportRoleData(context.Context, *ImportRoleDataIn) (*ImportRoleDataOut, error)
- func (UnimplementedServerService2Server) Offline(context.Context, *ServerArgsOffline) (*ServerReplyOffline, 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 UnsafeGmGameServerRpcServer
- type UnsafeGvgGameServerRpcServer
- type UnsafeRechargeGameServerRpcServer
- type UnsafeServerService2Server
- type WARSHIP_ITEM
- func (*WARSHIP_ITEM) Descriptor() ([]byte, []int)deprecated
- func (x *WARSHIP_ITEM) GetAtk() int64
- func (x *WARSHIP_ITEM) GetDef() int64
- func (x *WARSHIP_ITEM) GetHeros() []*HERO_ITEM
- func (x *WARSHIP_ITEM) GetWid() int32
- func (*WARSHIP_ITEM) ProtoMessage()
- func (x *WARSHIP_ITEM) ProtoReflect() protoreflect.Message
- func (x *WARSHIP_ITEM) Reset()
- func (x *WARSHIP_ITEM) String() string
Constants ¶
This section is empty.
Variables ¶
var File_game_server_rpc_proto protoreflect.FileDescriptor
var GmGameServerRpc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gsrpc.GmGameServerRpc", HandlerType: (*GmGameServerRpcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "sendGM", Handler: _GmGameServerRpc_SendGM_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "game_server_rpc.proto", }
GmGameServerRpc_ServiceDesc is the grpc.ServiceDesc for GmGameServerRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var GvgGameServerRpc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gsrpc.GvgGameServerRpc", HandlerType: (*GvgGameServerRpcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getGvgFleetByRid", Handler: _GvgGameServerRpc_GetGvgFleetByRid_Handler, }, { MethodName: "sendGvgReport", Handler: _GvgGameServerRpc_SendGvgReport_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "game_server_rpc.proto", }
GvgGameServerRpc_ServiceDesc is the grpc.ServiceDesc for GvgGameServerRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RechargeGameServerRpc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gsrpc.RechargeGameServerRpc", HandlerType: (*RechargeGameServerRpcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "delive", Handler: _RechargeGameServerRpc_Delive_Handler, }, { MethodName: "addGift", Handler: _RechargeGameServerRpc_AddGift_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "game_server_rpc.proto", }
RechargeGameServerRpc_ServiceDesc is the grpc.ServiceDesc for RechargeGameServerRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ServerService2_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gsrpc.ServerService2", HandlerType: (*ServerService2Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "sendRoleMail", Handler: _ServerService2_SendRoleMail_Handler, }, { MethodName: "exportRoleData", Handler: _ServerService2_ExportRoleData_Handler, }, { MethodName: "importRoleData", Handler: _ServerService2_ImportRoleData_Handler, }, { MethodName: "sendServMail", Handler: _ServerService2_SendServMail_Handler, }, { MethodName: "offline", Handler: _ServerService2_Offline_Handler, }, { MethodName: "timeJump", Handler: _ServerService2_TimeJump_Handler, }, { MethodName: "getNotInitedRids", Handler: _ServerService2_GetNotInitedRids_Handler, }, { MethodName: "deleteNotInitRid", Handler: _ServerService2_DeleteNotInitRid_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "game_server_rpc.proto", }
ServerService2_ServiceDesc is the grpc.ServiceDesc for ServerService2 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGmGameServerRpcServer ¶ added in v0.0.3
func RegisterGmGameServerRpcServer(s grpc.ServiceRegistrar, srv GmGameServerRpcServer)
func RegisterGvgGameServerRpcServer ¶ added in v0.0.99
func RegisterGvgGameServerRpcServer(s grpc.ServiceRegistrar, srv GvgGameServerRpcServer)
func RegisterRechargeGameServerRpcServer ¶ added in v0.0.23
func RegisterRechargeGameServerRpcServer(s grpc.ServiceRegistrar, srv RechargeGameServerRpcServer)
func RegisterServerService2Server ¶
func RegisterServerService2Server(s grpc.ServiceRegistrar, srv ServerService2Server)
Types ¶
type BackGround ¶ added in v0.0.41
type BackGround struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` BackGround string `protobuf:"bytes,2,opt,name=backGround,proto3" json:"backGround,omitempty"` // contains filtered or unexported fields }
func (*BackGround) Descriptor
deprecated
added in
v0.0.41
func (*BackGround) Descriptor() ([]byte, []int)
Deprecated: Use BackGround.ProtoReflect.Descriptor instead.
func (*BackGround) GetBackGround ¶ added in v0.0.41
func (x *BackGround) GetBackGround() string
func (*BackGround) GetEnabled ¶ added in v0.0.41
func (x *BackGround) GetEnabled() bool
func (*BackGround) ProtoMessage ¶ added in v0.0.41
func (*BackGround) ProtoMessage()
func (*BackGround) ProtoReflect ¶ added in v0.0.41
func (x *BackGround) ProtoReflect() protoreflect.Message
func (*BackGround) Reset ¶ added in v0.0.41
func (x *BackGround) Reset()
func (*BackGround) String ¶ added in v0.0.41
func (x *BackGround) String() string
type DeleteNotInitedRidReq ¶ added in v0.0.87
type DeleteNotInitedRidReq struct { Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` // contains filtered or unexported fields }
删除未创角的用户数据
func (*DeleteNotInitedRidReq) Descriptor
deprecated
added in
v0.0.87
func (*DeleteNotInitedRidReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotInitedRidReq.ProtoReflect.Descriptor instead.
func (*DeleteNotInitedRidReq) GetRid ¶ added in v0.0.87
func (x *DeleteNotInitedRidReq) GetRid() int32
func (*DeleteNotInitedRidReq) ProtoMessage ¶ added in v0.0.87
func (*DeleteNotInitedRidReq) ProtoMessage()
func (*DeleteNotInitedRidReq) ProtoReflect ¶ added in v0.0.87
func (x *DeleteNotInitedRidReq) ProtoReflect() protoreflect.Message
func (*DeleteNotInitedRidReq) Reset ¶ added in v0.0.87
func (x *DeleteNotInitedRidReq) Reset()
func (*DeleteNotInitedRidReq) String ¶ added in v0.0.87
func (x *DeleteNotInitedRidReq) String() string
type DeleteNotInitedRidResp ¶ added in v0.0.87
type DeleteNotInitedRidResp struct {
// contains filtered or unexported fields
}
func (*DeleteNotInitedRidResp) Descriptor
deprecated
added in
v0.0.87
func (*DeleteNotInitedRidResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotInitedRidResp.ProtoReflect.Descriptor instead.
func (*DeleteNotInitedRidResp) ProtoMessage ¶ added in v0.0.87
func (*DeleteNotInitedRidResp) ProtoMessage()
func (*DeleteNotInitedRidResp) ProtoReflect ¶ added in v0.0.87
func (x *DeleteNotInitedRidResp) ProtoReflect() protoreflect.Message
func (*DeleteNotInitedRidResp) Reset ¶ added in v0.0.87
func (x *DeleteNotInitedRidResp) Reset()
func (*DeleteNotInitedRidResp) String ¶ added in v0.0.87
func (x *DeleteNotInitedRidResp) String() string
type ExportRoleDataIn ¶
type ExportRoleDataIn struct { Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` // contains filtered or unexported fields }
func (*ExportRoleDataIn) Descriptor
deprecated
func (*ExportRoleDataIn) Descriptor() ([]byte, []int)
Deprecated: Use ExportRoleDataIn.ProtoReflect.Descriptor instead.
func (*ExportRoleDataIn) GetRid ¶
func (x *ExportRoleDataIn) GetRid() int32
func (*ExportRoleDataIn) ProtoMessage ¶
func (*ExportRoleDataIn) ProtoMessage()
func (*ExportRoleDataIn) ProtoReflect ¶
func (x *ExportRoleDataIn) ProtoReflect() protoreflect.Message
func (*ExportRoleDataIn) Reset ¶
func (x *ExportRoleDataIn) Reset()
func (*ExportRoleDataIn) String ¶
func (x *ExportRoleDataIn) String() string
type ExportRoleDataOut ¶
type ExportRoleDataOut struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ExportRoleDataOut) Descriptor
deprecated
func (*ExportRoleDataOut) Descriptor() ([]byte, []int)
Deprecated: Use ExportRoleDataOut.ProtoReflect.Descriptor instead.
func (*ExportRoleDataOut) GetCode ¶
func (x *ExportRoleDataOut) GetCode() int32
func (*ExportRoleDataOut) GetData ¶
func (x *ExportRoleDataOut) GetData() []byte
func (*ExportRoleDataOut) GetMessage ¶
func (x *ExportRoleDataOut) GetMessage() string
func (*ExportRoleDataOut) ProtoMessage ¶
func (*ExportRoleDataOut) ProtoMessage()
func (*ExportRoleDataOut) ProtoReflect ¶
func (x *ExportRoleDataOut) ProtoReflect() protoreflect.Message
func (*ExportRoleDataOut) Reset ¶
func (x *ExportRoleDataOut) Reset()
func (*ExportRoleDataOut) String ¶
func (x *ExportRoleDataOut) String() string
type GetNotInitedRidsReq ¶ added in v0.0.87
type GetNotInitedRidsReq struct {
// contains filtered or unexported fields
}
func (*GetNotInitedRidsReq) Descriptor
deprecated
added in
v0.0.87
func (*GetNotInitedRidsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetNotInitedRidsReq.ProtoReflect.Descriptor instead.
func (*GetNotInitedRidsReq) ProtoMessage ¶ added in v0.0.87
func (*GetNotInitedRidsReq) ProtoMessage()
func (*GetNotInitedRidsReq) ProtoReflect ¶ added in v0.0.87
func (x *GetNotInitedRidsReq) ProtoReflect() protoreflect.Message
func (*GetNotInitedRidsReq) Reset ¶ added in v0.0.87
func (x *GetNotInitedRidsReq) Reset()
func (*GetNotInitedRidsReq) String ¶ added in v0.0.87
func (x *GetNotInitedRidsReq) String() string
type GetNotInitedRidsResp ¶ added in v0.0.87
type GetNotInitedRidsResp struct { Ids []*NotInited `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*GetNotInitedRidsResp) Descriptor
deprecated
added in
v0.0.87
func (*GetNotInitedRidsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetNotInitedRidsResp.ProtoReflect.Descriptor instead.
func (*GetNotInitedRidsResp) GetIds ¶ added in v0.0.89
func (x *GetNotInitedRidsResp) GetIds() []*NotInited
func (*GetNotInitedRidsResp) ProtoMessage ¶ added in v0.0.87
func (*GetNotInitedRidsResp) ProtoMessage()
func (*GetNotInitedRidsResp) ProtoReflect ¶ added in v0.0.87
func (x *GetNotInitedRidsResp) ProtoReflect() protoreflect.Message
func (*GetNotInitedRidsResp) Reset ¶ added in v0.0.87
func (x *GetNotInitedRidsResp) Reset()
func (*GetNotInitedRidsResp) String ¶ added in v0.0.87
func (x *GetNotInitedRidsResp) String() string
type GmGameServerRpcClient ¶ added in v0.0.3
type GmGameServerRpcClient interface { //通用gm,string格式转发到游服,避免添加命令修改多个项目 SendGM(ctx context.Context, in *GmSendGMReq, opts ...grpc.CallOption) (*GmSendGMResp, error) }
GmGameServerRpcClient is the client API for GmGameServerRpc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGmGameServerRpcClient ¶ added in v0.0.3
func NewGmGameServerRpcClient(cc grpc.ClientConnInterface) GmGameServerRpcClient
type GmGameServerRpcServer ¶ added in v0.0.3
type GmGameServerRpcServer interface { //通用gm,string格式转发到游服,避免添加命令修改多个项目 SendGM(context.Context, *GmSendGMReq) (*GmSendGMResp, error) // contains filtered or unexported methods }
GmGameServerRpcServer is the server API for GmGameServerRpc service. All implementations must embed UnimplementedGmGameServerRpcServer for forward compatibility
type GmSendGMReq ¶ added in v0.0.59
type GmSendGMReq struct { Gmid int32 `protobuf:"varint,1,opt,name=gmid,proto3" json:"gmid,omitempty"` Params []string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*GmSendGMReq) Descriptor
deprecated
added in
v0.0.59
func (*GmSendGMReq) Descriptor() ([]byte, []int)
Deprecated: Use GmSendGMReq.ProtoReflect.Descriptor instead.
func (*GmSendGMReq) GetGmid ¶ added in v0.0.59
func (x *GmSendGMReq) GetGmid() int32
func (*GmSendGMReq) GetParams ¶ added in v0.0.59
func (x *GmSendGMReq) GetParams() []string
func (*GmSendGMReq) ProtoMessage ¶ added in v0.0.59
func (*GmSendGMReq) ProtoMessage()
func (*GmSendGMReq) ProtoReflect ¶ added in v0.0.59
func (x *GmSendGMReq) ProtoReflect() protoreflect.Message
func (*GmSendGMReq) Reset ¶ added in v0.0.59
func (x *GmSendGMReq) Reset()
func (*GmSendGMReq) String ¶ added in v0.0.59
func (x *GmSendGMReq) String() string
type GmSendGMResp ¶ added in v0.0.59
type GmSendGMResp struct {
// contains filtered or unexported fields
}
func (*GmSendGMResp) Descriptor
deprecated
added in
v0.0.59
func (*GmSendGMResp) Descriptor() ([]byte, []int)
Deprecated: Use GmSendGMResp.ProtoReflect.Descriptor instead.
func (*GmSendGMResp) ProtoMessage ¶ added in v0.0.59
func (*GmSendGMResp) ProtoMessage()
func (*GmSendGMResp) ProtoReflect ¶ added in v0.0.59
func (x *GmSendGMResp) ProtoReflect() protoreflect.Message
func (*GmSendGMResp) Reset ¶ added in v0.0.59
func (x *GmSendGMResp) Reset()
func (*GmSendGMResp) String ¶ added in v0.0.59
func (x *GmSendGMResp) String() string
type GvgFleetReq ¶ added in v0.0.99
type GvgFleetReq struct { Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` Pos int32 `protobuf:"varint,2,opt,name=pos,proto3" json:"pos,omitempty"` // contains filtered or unexported fields }
Gvg玩家舰队信息
func (*GvgFleetReq) Descriptor
deprecated
added in
v0.0.99
func (*GvgFleetReq) Descriptor() ([]byte, []int)
Deprecated: Use GvgFleetReq.ProtoReflect.Descriptor instead.
func (*GvgFleetReq) GetPos ¶ added in v0.0.99
func (x *GvgFleetReq) GetPos() int32
func (*GvgFleetReq) GetRid ¶ added in v0.0.99
func (x *GvgFleetReq) GetRid() int32
func (*GvgFleetReq) ProtoMessage ¶ added in v0.0.99
func (*GvgFleetReq) ProtoMessage()
func (*GvgFleetReq) ProtoReflect ¶ added in v0.0.99
func (x *GvgFleetReq) ProtoReflect() protoreflect.Message
func (*GvgFleetReq) Reset ¶ added in v0.0.99
func (x *GvgFleetReq) Reset()
func (*GvgFleetReq) String ¶ added in v0.0.99
func (x *GvgFleetReq) String() string
type GvgFleetResp ¶ added in v0.0.99
type GvgFleetResp struct { Fleets []*WARSHIP_ITEM `protobuf:"bytes,1,rep,name=fleets,proto3" json:"fleets,omitempty"` // contains filtered or unexported fields }
func (*GvgFleetResp) Descriptor
deprecated
added in
v0.0.99
func (*GvgFleetResp) Descriptor() ([]byte, []int)
Deprecated: Use GvgFleetResp.ProtoReflect.Descriptor instead.
func (*GvgFleetResp) GetFleets ¶ added in v0.0.100
func (x *GvgFleetResp) GetFleets() []*WARSHIP_ITEM
func (*GvgFleetResp) ProtoMessage ¶ added in v0.0.99
func (*GvgFleetResp) ProtoMessage()
func (*GvgFleetResp) ProtoReflect ¶ added in v0.0.99
func (x *GvgFleetResp) ProtoReflect() protoreflect.Message
func (*GvgFleetResp) Reset ¶ added in v0.0.99
func (x *GvgFleetResp) Reset()
func (*GvgFleetResp) String ¶ added in v0.0.99
func (x *GvgFleetResp) String() string
type GvgGameServerRpcClient ¶ added in v0.0.99
type GvgGameServerRpcClient interface { // gvg获取玩家舰队信息 GetGvgFleetByRid(ctx context.Context, in *GvgFleetReq, opts ...grpc.CallOption) (*GvgFleetResp, error) // gvg发送战报 SendGvgReport(ctx context.Context, in *GvgReportReq, opts ...grpc.CallOption) (*GvgReportResp, error) }
GvgGameServerRpcClient is the client API for GvgGameServerRpc 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 NewGvgGameServerRpcClient ¶ added in v0.0.99
func NewGvgGameServerRpcClient(cc grpc.ClientConnInterface) GvgGameServerRpcClient
type GvgGameServerRpcServer ¶ added in v0.0.99
type GvgGameServerRpcServer interface { // gvg获取玩家舰队信息 GetGvgFleetByRid(context.Context, *GvgFleetReq) (*GvgFleetResp, error) // gvg发送战报 SendGvgReport(context.Context, *GvgReportReq) (*GvgReportResp, error) // contains filtered or unexported methods }
GvgGameServerRpcServer is the server API for GvgGameServerRpc service. All implementations must embed UnimplementedGvgGameServerRpcServer for forward compatibility
type GvgReportReq ¶ added in v0.0.100
type GvgReportReq struct { Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` V string `protobuf:"bytes,3,opt,name=v,proto3" json:"v,omitempty"` // contains filtered or unexported fields }
func (*GvgReportReq) Descriptor
deprecated
added in
v0.0.100
func (*GvgReportReq) Descriptor() ([]byte, []int)
Deprecated: Use GvgReportReq.ProtoReflect.Descriptor instead.
func (*GvgReportReq) GetCid ¶ added in v0.0.100
func (x *GvgReportReq) GetCid() string
func (*GvgReportReq) GetRid ¶ added in v0.0.100
func (x *GvgReportReq) GetRid() int32
func (*GvgReportReq) GetV ¶ added in v0.0.100
func (x *GvgReportReq) GetV() string
func (*GvgReportReq) ProtoMessage ¶ added in v0.0.100
func (*GvgReportReq) ProtoMessage()
func (*GvgReportReq) ProtoReflect ¶ added in v0.0.100
func (x *GvgReportReq) ProtoReflect() protoreflect.Message
func (*GvgReportReq) Reset ¶ added in v0.0.100
func (x *GvgReportReq) Reset()
func (*GvgReportReq) String ¶ added in v0.0.100
func (x *GvgReportReq) String() string
type GvgReportResp ¶ added in v0.0.100
type GvgReportResp struct {
// contains filtered or unexported fields
}
func (*GvgReportResp) Descriptor
deprecated
added in
v0.0.100
func (*GvgReportResp) Descriptor() ([]byte, []int)
Deprecated: Use GvgReportResp.ProtoReflect.Descriptor instead.
func (*GvgReportResp) ProtoMessage ¶ added in v0.0.100
func (*GvgReportResp) ProtoMessage()
func (*GvgReportResp) ProtoReflect ¶ added in v0.0.100
func (x *GvgReportResp) ProtoReflect() protoreflect.Message
func (*GvgReportResp) Reset ¶ added in v0.0.100
func (x *GvgReportResp) Reset()
func (*GvgReportResp) String ¶ added in v0.0.100
func (x *GvgReportResp) String() string
type HERO_ITEM ¶ added in v0.0.100
type HERO_ITEM struct { Hid int32 `protobuf:"varint,1,opt,name=hid,proto3" json:"hid,omitempty"` Hp int64 `protobuf:"varint,2,opt,name=hp,proto3" json:"hp,omitempty"` // contains filtered or unexported fields }
伙伴基本信息
func (*HERO_ITEM) Descriptor
deprecated
added in
v0.0.100
func (*HERO_ITEM) ProtoMessage ¶ added in v0.0.100
func (*HERO_ITEM) ProtoMessage()
func (*HERO_ITEM) ProtoReflect ¶ added in v0.0.100
func (x *HERO_ITEM) ProtoReflect() protoreflect.Message
type ImportRoleDataIn ¶
type ImportRoleDataIn struct { Uid int32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` Rid int32 `protobuf:"varint,2,opt,name=rid,proto3" json:"rid,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ImportRoleDataIn) Descriptor
deprecated
func (*ImportRoleDataIn) Descriptor() ([]byte, []int)
Deprecated: Use ImportRoleDataIn.ProtoReflect.Descriptor instead.
func (*ImportRoleDataIn) GetData ¶
func (x *ImportRoleDataIn) GetData() []byte
func (*ImportRoleDataIn) GetRid ¶
func (x *ImportRoleDataIn) GetRid() int32
func (*ImportRoleDataIn) GetUid ¶
func (x *ImportRoleDataIn) GetUid() int32
func (*ImportRoleDataIn) ProtoMessage ¶
func (*ImportRoleDataIn) ProtoMessage()
func (*ImportRoleDataIn) ProtoReflect ¶
func (x *ImportRoleDataIn) ProtoReflect() protoreflect.Message
func (*ImportRoleDataIn) Reset ¶
func (x *ImportRoleDataIn) Reset()
func (*ImportRoleDataIn) String ¶
func (x *ImportRoleDataIn) String() string
type ImportRoleDataOut ¶
type ImportRoleDataOut struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ImportRoleDataOut) Descriptor
deprecated
func (*ImportRoleDataOut) Descriptor() ([]byte, []int)
Deprecated: Use ImportRoleDataOut.ProtoReflect.Descriptor instead.
func (*ImportRoleDataOut) GetCode ¶
func (x *ImportRoleDataOut) GetCode() int32
func (*ImportRoleDataOut) GetMessage ¶
func (x *ImportRoleDataOut) GetMessage() string
func (*ImportRoleDataOut) ProtoMessage ¶
func (*ImportRoleDataOut) ProtoMessage()
func (*ImportRoleDataOut) ProtoReflect ¶
func (x *ImportRoleDataOut) ProtoReflect() protoreflect.Message
func (*ImportRoleDataOut) Reset ¶
func (x *ImportRoleDataOut) Reset()
func (*ImportRoleDataOut) String ¶
func (x *ImportRoleDataOut) String() string
type Item ¶ added in v0.0.41
type Item struct { Itemid int32 `protobuf:"varint,1,opt,name=itemid,proto3" json:"itemid,omitempty"` Itemnum int32 `protobuf:"varint,2,opt,name=itemnum,proto3" json:"itemnum,omitempty"` // contains filtered or unexported fields }
充值-礼包
func (*Item) Descriptor
deprecated
added in
v0.0.41
func (*Item) GetItemnum ¶ added in v0.0.41
func (*Item) ProtoMessage ¶ added in v0.0.41
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶ added in v0.0.41
func (x *Item) ProtoReflect() protoreflect.Message
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 MailLanInfo ¶ added in v0.0.36
type MailLanInfo struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // 对应语言 Header string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` // 自定义标题 Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // 自定义内容 BackgroundUrl string `protobuf:"bytes,4,opt,name=backgroundUrl,proto3" json:"backgroundUrl,omitempty"` // contains filtered or unexported fields }
多语言邮件内容
func (*MailLanInfo) Descriptor
deprecated
added in
v0.0.36
func (*MailLanInfo) Descriptor() ([]byte, []int)
Deprecated: Use MailLanInfo.ProtoReflect.Descriptor instead.
func (*MailLanInfo) GetBackgroundUrl ¶ added in v0.0.46
func (x *MailLanInfo) GetBackgroundUrl() string
func (*MailLanInfo) GetContent ¶ added in v0.0.46
func (x *MailLanInfo) GetContent() string
func (*MailLanInfo) GetHeader ¶ added in v0.0.46
func (x *MailLanInfo) GetHeader() string
func (*MailLanInfo) GetLanguage ¶ added in v0.0.46
func (x *MailLanInfo) GetLanguage() string
func (*MailLanInfo) ProtoMessage ¶ added in v0.0.36
func (*MailLanInfo) ProtoMessage()
func (*MailLanInfo) ProtoReflect ¶ added in v0.0.36
func (x *MailLanInfo) ProtoReflect() protoreflect.Message
func (*MailLanInfo) Reset ¶ added in v0.0.36
func (x *MailLanInfo) Reset()
func (*MailLanInfo) String ¶ added in v0.0.36
func (x *MailLanInfo) String() string
type NotInited ¶ added in v0.0.89
type NotInited 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"` // contains filtered or unexported fields }
未创角的用户列表
func (*NotInited) Descriptor
deprecated
added in
v0.0.89
func (*NotInited) ProtoMessage ¶ added in v0.0.89
func (*NotInited) ProtoMessage()
func (*NotInited) ProtoReflect ¶ added in v0.0.89
func (x *NotInited) ProtoReflect() protoreflect.Message
type RechargeDeliveReq ¶ added in v0.0.23
type RechargeDeliveReq struct { Cuid string `protobuf:"bytes,2,opt,name=cuid,proto3" json:"cuid,omitempty"` Rid int32 `protobuf:"varint,3,opt,name=rid,proto3" json:"rid,omitempty"` ServerId int32 `protobuf:"varint,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` Id int32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` // 商品 id // contains filtered or unexported fields }
充值-发货
func (*RechargeDeliveReq) Descriptor
deprecated
added in
v0.0.23
func (*RechargeDeliveReq) Descriptor() ([]byte, []int)
Deprecated: Use RechargeDeliveReq.ProtoReflect.Descriptor instead.
func (*RechargeDeliveReq) GetCuid ¶ added in v0.0.23
func (x *RechargeDeliveReq) GetCuid() string
func (*RechargeDeliveReq) GetId ¶ added in v0.0.23
func (x *RechargeDeliveReq) GetId() int32
func (*RechargeDeliveReq) GetRid ¶ added in v0.0.23
func (x *RechargeDeliveReq) GetRid() int32
func (*RechargeDeliveReq) GetServerId ¶ added in v0.0.23
func (x *RechargeDeliveReq) GetServerId() int32
func (*RechargeDeliveReq) ProtoMessage ¶ added in v0.0.23
func (*RechargeDeliveReq) ProtoMessage()
func (*RechargeDeliveReq) ProtoReflect ¶ added in v0.0.23
func (x *RechargeDeliveReq) ProtoReflect() protoreflect.Message
func (*RechargeDeliveReq) Reset ¶ added in v0.0.23
func (x *RechargeDeliveReq) Reset()
func (*RechargeDeliveReq) String ¶ added in v0.0.23
func (x *RechargeDeliveReq) String() string
type RechargeDeliveResp ¶ added in v0.0.23
type RechargeDeliveResp struct {
// contains filtered or unexported fields
}
func (*RechargeDeliveResp) Descriptor
deprecated
added in
v0.0.23
func (*RechargeDeliveResp) Descriptor() ([]byte, []int)
Deprecated: Use RechargeDeliveResp.ProtoReflect.Descriptor instead.
func (*RechargeDeliveResp) ProtoMessage ¶ added in v0.0.23
func (*RechargeDeliveResp) ProtoMessage()
func (*RechargeDeliveResp) ProtoReflect ¶ added in v0.0.23
func (x *RechargeDeliveResp) ProtoReflect() protoreflect.Message
func (*RechargeDeliveResp) Reset ¶ added in v0.0.23
func (x *RechargeDeliveResp) Reset()
func (*RechargeDeliveResp) String ¶ added in v0.0.23
func (x *RechargeDeliveResp) String() string
type RechargeGameServerRpcClient ¶ added in v0.0.23
type RechargeGameServerRpcClient interface { // 充值-发货 Delive(ctx context.Context, in *RechargeDeliveReq, opts ...grpc.CallOption) (*RechargeDeliveResp, error) // 充值-礼包 AddGift(ctx context.Context, in *RechargeGiftReq, opts ...grpc.CallOption) (*RechargeGiftResp, error) }
RechargeGameServerRpcClient is the client API for RechargeGameServerRpc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRechargeGameServerRpcClient ¶ added in v0.0.23
func NewRechargeGameServerRpcClient(cc grpc.ClientConnInterface) RechargeGameServerRpcClient
type RechargeGameServerRpcServer ¶ added in v0.0.23
type RechargeGameServerRpcServer interface { // 充值-发货 Delive(context.Context, *RechargeDeliveReq) (*RechargeDeliveResp, error) // 充值-礼包 AddGift(context.Context, *RechargeGiftReq) (*RechargeGiftResp, error) // contains filtered or unexported methods }
RechargeGameServerRpcServer is the server API for RechargeGameServerRpc service. All implementations must embed UnimplementedRechargeGameServerRpcServer for forward compatibility
type RechargeGiftReq ¶ added in v0.0.41
type RechargeGiftReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` VipPoints int32 `protobuf:"varint,2,opt,name=vipPoints,proto3" json:"vipPoints,omitempty"` AmountToDiamond int32 `protobuf:"varint,3,opt,name=amountToDiamond,proto3" json:"amountToDiamond,omitempty"` Price int32 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"` Duration int32 `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"` PurchaseLimitAmount int32 `protobuf:"varint,6,opt,name=purchaseLimitAmount,proto3" json:"purchaseLimitAmount,omitempty"` IsAISupported bool `protobuf:"varint,7,opt,name=isAISupported,proto3" json:"isAISupported,omitempty"` Items []*Item `protobuf:"bytes,8,rep,name=items,proto3" json:"items,omitempty"` BackGround *BackGround `protobuf:"bytes,9,opt,name=backGround,proto3" json:"backGround,omitempty"` Rid int32 `protobuf:"varint,10,opt,name=rid,proto3" json:"rid,omitempty"` TemplateId string `protobuf:"bytes,11,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // contains filtered or unexported fields }
func (*RechargeGiftReq) Descriptor
deprecated
added in
v0.0.41
func (*RechargeGiftReq) Descriptor() ([]byte, []int)
Deprecated: Use RechargeGiftReq.ProtoReflect.Descriptor instead.
func (*RechargeGiftReq) GetAmountToDiamond ¶ added in v0.0.41
func (x *RechargeGiftReq) GetAmountToDiamond() int32
func (*RechargeGiftReq) GetBackGround ¶ added in v0.0.41
func (x *RechargeGiftReq) GetBackGround() *BackGround
func (*RechargeGiftReq) GetDuration ¶ added in v0.0.41
func (x *RechargeGiftReq) GetDuration() int32
func (*RechargeGiftReq) GetId ¶ added in v0.0.41
func (x *RechargeGiftReq) GetId() string
func (*RechargeGiftReq) GetIsAISupported ¶ added in v0.0.41
func (x *RechargeGiftReq) GetIsAISupported() bool
func (*RechargeGiftReq) GetItems ¶ added in v0.0.41
func (x *RechargeGiftReq) GetItems() []*Item
func (*RechargeGiftReq) GetPrice ¶ added in v0.0.41
func (x *RechargeGiftReq) GetPrice() int32
func (*RechargeGiftReq) GetPurchaseLimitAmount ¶ added in v0.0.41
func (x *RechargeGiftReq) GetPurchaseLimitAmount() int32
func (*RechargeGiftReq) GetRid ¶ added in v0.0.51
func (x *RechargeGiftReq) GetRid() int32
func (*RechargeGiftReq) GetTemplateId ¶ added in v0.0.106
func (x *RechargeGiftReq) GetTemplateId() string
func (*RechargeGiftReq) GetVipPoints ¶ added in v0.0.41
func (x *RechargeGiftReq) GetVipPoints() int32
func (*RechargeGiftReq) ProtoMessage ¶ added in v0.0.41
func (*RechargeGiftReq) ProtoMessage()
func (*RechargeGiftReq) ProtoReflect ¶ added in v0.0.41
func (x *RechargeGiftReq) ProtoReflect() protoreflect.Message
func (*RechargeGiftReq) Reset ¶ added in v0.0.41
func (x *RechargeGiftReq) Reset()
func (*RechargeGiftReq) String ¶ added in v0.0.41
func (x *RechargeGiftReq) String() string
type RechargeGiftResp ¶ added in v0.0.41
type RechargeGiftResp struct {
// contains filtered or unexported fields
}
func (*RechargeGiftResp) Descriptor
deprecated
added in
v0.0.41
func (*RechargeGiftResp) Descriptor() ([]byte, []int)
Deprecated: Use RechargeGiftResp.ProtoReflect.Descriptor instead.
func (*RechargeGiftResp) ProtoMessage ¶ added in v0.0.41
func (*RechargeGiftResp) ProtoMessage()
func (*RechargeGiftResp) ProtoReflect ¶ added in v0.0.41
func (x *RechargeGiftResp) ProtoReflect() protoreflect.Message
func (*RechargeGiftResp) Reset ¶ added in v0.0.41
func (x *RechargeGiftResp) Reset()
func (*RechargeGiftResp) String ¶ added in v0.0.41
func (x *RechargeGiftResp) String() string
type ServerArgsOffline ¶ added in v0.0.69
type ServerArgsOffline struct { Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid,omitempty"` // contains filtered or unexported fields }
通知下线
func (*ServerArgsOffline) Descriptor
deprecated
added in
v0.0.69
func (*ServerArgsOffline) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsOffline.ProtoReflect.Descriptor instead.
func (*ServerArgsOffline) GetRid ¶ added in v0.0.69
func (x *ServerArgsOffline) GetRid() int32
func (*ServerArgsOffline) ProtoMessage ¶ added in v0.0.69
func (*ServerArgsOffline) ProtoMessage()
func (*ServerArgsOffline) ProtoReflect ¶ added in v0.0.69
func (x *ServerArgsOffline) ProtoReflect() protoreflect.Message
func (*ServerArgsOffline) Reset ¶ added in v0.0.69
func (x *ServerArgsOffline) Reset()
func (*ServerArgsOffline) String ¶ added in v0.0.69
func (x *ServerArgsOffline) String() string
type ServerArgsRechargePush ¶
type ServerArgsRechargePush struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 订单Id PackageType int32 `protobuf:"varint,2,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"` // 包类型 PayType string `protobuf:"bytes,3,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"` // 支付类型 SdkProductId string `protobuf:"bytes,4,opt,name=sdk_product_id,json=sdkProductId,proto3" json:"sdk_product_id,omitempty"` // SDK商品Id ProductId int32 `protobuf:"varint,5,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // SDK商品Id Rid int32 `protobuf:"varint,6,opt,name=rid,proto3" json:"rid,omitempty"` // 角色Id CheckAmount bool `protobuf:"varint,7,opt,name=check_amount,json=checkAmount,proto3" json:"check_amount,omitempty"` Amount string `protobuf:"bytes,8,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
充值推送
func (*ServerArgsRechargePush) Descriptor
deprecated
func (*ServerArgsRechargePush) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsRechargePush.ProtoReflect.Descriptor instead.
func (*ServerArgsRechargePush) GetAmount ¶
func (x *ServerArgsRechargePush) GetAmount() string
func (*ServerArgsRechargePush) GetCheckAmount ¶
func (x *ServerArgsRechargePush) GetCheckAmount() bool
func (*ServerArgsRechargePush) GetOrderId ¶
func (x *ServerArgsRechargePush) GetOrderId() string
func (*ServerArgsRechargePush) GetPackageType ¶
func (x *ServerArgsRechargePush) GetPackageType() int32
func (*ServerArgsRechargePush) GetPayType ¶
func (x *ServerArgsRechargePush) GetPayType() string
func (*ServerArgsRechargePush) GetProductId ¶
func (x *ServerArgsRechargePush) GetProductId() int32
func (*ServerArgsRechargePush) GetRid ¶
func (x *ServerArgsRechargePush) GetRid() int32
func (*ServerArgsRechargePush) GetSdkProductId ¶
func (x *ServerArgsRechargePush) GetSdkProductId() string
func (*ServerArgsRechargePush) ProtoMessage ¶
func (*ServerArgsRechargePush) ProtoMessage()
func (*ServerArgsRechargePush) ProtoReflect ¶
func (x *ServerArgsRechargePush) ProtoReflect() protoreflect.Message
func (*ServerArgsRechargePush) Reset ¶
func (x *ServerArgsRechargePush) Reset()
func (*ServerArgsRechargePush) String ¶
func (x *ServerArgsRechargePush) String() string
type ServerArgsSendRoleMail ¶
type ServerArgsSendRoleMail struct { Rids []int32 `protobuf:"varint,1,rep,packed,name=rids,proto3" json:"rids,omitempty"` // 角色Id集合 //int32 char_f=2; // 多语言Key //int32 char_s=3; // 多语言Key Items []*K32V64 `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 奖励物品 //repeated string lan=5; //repeated string custom_title=6; // 自定义标题 //repeated string custom_content=7; // 自定义内容 MailLan []*MailLanInfo `protobuf:"bytes,3,rep,name=mail_lan,json=mailLan,proto3" json:"mail_lan,omitempty"` // 邮件标题内容,多语言列表 // contains filtered or unexported fields }
发送角色邮件
func (*ServerArgsSendRoleMail) Descriptor
deprecated
func (*ServerArgsSendRoleMail) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsSendRoleMail.ProtoReflect.Descriptor instead.
func (*ServerArgsSendRoleMail) GetItems ¶
func (x *ServerArgsSendRoleMail) GetItems() []*K32V64
func (*ServerArgsSendRoleMail) GetMailLan ¶ added in v0.0.36
func (x *ServerArgsSendRoleMail) GetMailLan() []*MailLanInfo
func (*ServerArgsSendRoleMail) GetRids ¶
func (x *ServerArgsSendRoleMail) GetRids() []int32
func (*ServerArgsSendRoleMail) ProtoMessage ¶
func (*ServerArgsSendRoleMail) ProtoMessage()
func (*ServerArgsSendRoleMail) ProtoReflect ¶
func (x *ServerArgsSendRoleMail) ProtoReflect() protoreflect.Message
func (*ServerArgsSendRoleMail) Reset ¶
func (x *ServerArgsSendRoleMail) Reset()
func (*ServerArgsSendRoleMail) String ¶
func (x *ServerArgsSendRoleMail) String() string
type ServerArgsSendServMail ¶
type ServerArgsSendServMail struct { ServId int32 `protobuf:"varint,1,opt,name=serv_id,json=servId,proto3" json:"serv_id,omitempty"` // 区服Id Items []*K32V64 `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 奖励物品 MailLan []*MailLanInfo `protobuf:"bytes,3,rep,name=mail_lan,json=mailLan,proto3" json:"mail_lan,omitempty"` // 邮件标题内容,多语言列表 NeedLvMin int32 `protobuf:"varint,4,opt,name=need_lv_min,json=needLvMin,proto3" json:"need_lv_min,omitempty"` // 最小收到等级 NeedLvMax int32 `protobuf:"varint,5,opt,name=need_lv_max,json=needLvMax,proto3" json:"need_lv_max,omitempty"` // 最大收到等级 RegisteredBefore int64 `protobuf:"varint,6,opt,name=registered_before,json=registeredBefore,proto3" json:"registered_before,omitempty"` // 创角时间在此之前 13位时间戳(ms) RegisteredAfter int64 `protobuf:"varint,7,opt,name=registered_after,json=registeredAfter,proto3" json:"registered_after,omitempty"` // 创角时间在此之后 13位时间戳(ms) MailId int64 `protobuf:"varint,8,opt,name=mail_id,json=mailId,proto3" json:"mail_id,omitempty"` // 邮件id FirstType int32 `protobuf:"varint,9,opt,name=first_type,json=firstType,proto3" json:"first_type,omitempty"` // 大类 SecondType int32 `protobuf:"varint,10,opt,name=second_type,json=secondType,proto3" json:"second_type,omitempty"` // 小类 // contains filtered or unexported fields }
发送区服邮件
func (*ServerArgsSendServMail) Descriptor
deprecated
func (*ServerArgsSendServMail) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsSendServMail.ProtoReflect.Descriptor instead.
func (*ServerArgsSendServMail) GetFirstType ¶ added in v0.0.53
func (x *ServerArgsSendServMail) GetFirstType() int32
func (*ServerArgsSendServMail) GetItems ¶
func (x *ServerArgsSendServMail) GetItems() []*K32V64
func (*ServerArgsSendServMail) GetMailId ¶ added in v0.0.52
func (x *ServerArgsSendServMail) GetMailId() int64
func (*ServerArgsSendServMail) GetMailLan ¶ added in v0.0.36
func (x *ServerArgsSendServMail) GetMailLan() []*MailLanInfo
func (*ServerArgsSendServMail) GetNeedLvMax ¶ added in v0.0.36
func (x *ServerArgsSendServMail) GetNeedLvMax() int32
func (*ServerArgsSendServMail) GetNeedLvMin ¶ added in v0.0.36
func (x *ServerArgsSendServMail) GetNeedLvMin() int32
func (*ServerArgsSendServMail) GetRegisteredAfter ¶ added in v0.0.50
func (x *ServerArgsSendServMail) GetRegisteredAfter() int64
func (*ServerArgsSendServMail) GetRegisteredBefore ¶ added in v0.0.50
func (x *ServerArgsSendServMail) GetRegisteredBefore() int64
func (*ServerArgsSendServMail) GetSecondType ¶ added in v0.0.53
func (x *ServerArgsSendServMail) GetSecondType() int32
func (*ServerArgsSendServMail) GetServId ¶
func (x *ServerArgsSendServMail) GetServId() int32
func (*ServerArgsSendServMail) ProtoMessage ¶
func (*ServerArgsSendServMail) ProtoMessage()
func (*ServerArgsSendServMail) ProtoReflect ¶
func (x *ServerArgsSendServMail) ProtoReflect() protoreflect.Message
func (*ServerArgsSendServMail) Reset ¶
func (x *ServerArgsSendServMail) Reset()
func (*ServerArgsSendServMail) String ¶
func (x *ServerArgsSendServMail) String() string
type ServerArgsTimeJump ¶
type ServerArgsTimeJump struct { Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // time str Cancel bool `protobuf:"varint,2,opt,name=cancel,proto3" json:"cancel,omitempty"` // 取消 // contains filtered or unexported fields }
时间跳跃
func (*ServerArgsTimeJump) Descriptor
deprecated
func (*ServerArgsTimeJump) Descriptor() ([]byte, []int)
Deprecated: Use ServerArgsTimeJump.ProtoReflect.Descriptor instead.
func (*ServerArgsTimeJump) GetCancel ¶
func (x *ServerArgsTimeJump) GetCancel() bool
func (*ServerArgsTimeJump) GetTime ¶
func (x *ServerArgsTimeJump) GetTime() string
func (*ServerArgsTimeJump) ProtoMessage ¶
func (*ServerArgsTimeJump) ProtoMessage()
func (*ServerArgsTimeJump) ProtoReflect ¶
func (x *ServerArgsTimeJump) ProtoReflect() protoreflect.Message
func (*ServerArgsTimeJump) Reset ¶
func (x *ServerArgsTimeJump) Reset()
func (*ServerArgsTimeJump) String ¶
func (x *ServerArgsTimeJump) String() string
type ServerReplyOffline ¶ added in v0.0.69
type ServerReplyOffline struct {
// contains filtered or unexported fields
}
func (*ServerReplyOffline) Descriptor
deprecated
added in
v0.0.69
func (*ServerReplyOffline) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplyOffline.ProtoReflect.Descriptor instead.
func (*ServerReplyOffline) ProtoMessage ¶ added in v0.0.69
func (*ServerReplyOffline) ProtoMessage()
func (*ServerReplyOffline) ProtoReflect ¶ added in v0.0.69
func (x *ServerReplyOffline) ProtoReflect() protoreflect.Message
func (*ServerReplyOffline) Reset ¶ added in v0.0.69
func (x *ServerReplyOffline) Reset()
func (*ServerReplyOffline) String ¶ added in v0.0.69
func (x *ServerReplyOffline) String() string
type ServerReplyRechargePush ¶
type ServerReplyRechargePush struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息 // contains filtered or unexported fields }
func (*ServerReplyRechargePush) Descriptor
deprecated
func (*ServerReplyRechargePush) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplyRechargePush.ProtoReflect.Descriptor instead.
func (*ServerReplyRechargePush) GetCode ¶
func (x *ServerReplyRechargePush) GetCode() int32
func (*ServerReplyRechargePush) GetMessage ¶
func (x *ServerReplyRechargePush) GetMessage() string
func (*ServerReplyRechargePush) ProtoMessage ¶
func (*ServerReplyRechargePush) ProtoMessage()
func (*ServerReplyRechargePush) ProtoReflect ¶
func (x *ServerReplyRechargePush) ProtoReflect() protoreflect.Message
func (*ServerReplyRechargePush) Reset ¶
func (x *ServerReplyRechargePush) Reset()
func (*ServerReplyRechargePush) String ¶
func (x *ServerReplyRechargePush) String() string
type ServerReplySendRoleMail ¶
type ServerReplySendRoleMail struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息 // contains filtered or unexported fields }
func (*ServerReplySendRoleMail) Descriptor
deprecated
func (*ServerReplySendRoleMail) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplySendRoleMail.ProtoReflect.Descriptor instead.
func (*ServerReplySendRoleMail) GetCode ¶
func (x *ServerReplySendRoleMail) GetCode() int32
func (*ServerReplySendRoleMail) GetMessage ¶
func (x *ServerReplySendRoleMail) GetMessage() string
func (*ServerReplySendRoleMail) ProtoMessage ¶
func (*ServerReplySendRoleMail) ProtoMessage()
func (*ServerReplySendRoleMail) ProtoReflect ¶
func (x *ServerReplySendRoleMail) ProtoReflect() protoreflect.Message
func (*ServerReplySendRoleMail) Reset ¶
func (x *ServerReplySendRoleMail) Reset()
func (*ServerReplySendRoleMail) String ¶
func (x *ServerReplySendRoleMail) String() string
type ServerReplySendServMail ¶
type ServerReplySendServMail struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息 // contains filtered or unexported fields }
func (*ServerReplySendServMail) Descriptor
deprecated
func (*ServerReplySendServMail) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplySendServMail.ProtoReflect.Descriptor instead.
func (*ServerReplySendServMail) GetCode ¶
func (x *ServerReplySendServMail) GetCode() int32
func (*ServerReplySendServMail) GetMessage ¶
func (x *ServerReplySendServMail) GetMessage() string
func (*ServerReplySendServMail) ProtoMessage ¶
func (*ServerReplySendServMail) ProtoMessage()
func (*ServerReplySendServMail) ProtoReflect ¶
func (x *ServerReplySendServMail) ProtoReflect() protoreflect.Message
func (*ServerReplySendServMail) Reset ¶
func (x *ServerReplySendServMail) Reset()
func (*ServerReplySendServMail) String ¶
func (x *ServerReplySendServMail) String() string
type ServerReplyTimeJump ¶
type ServerReplyTimeJump struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 信息 // contains filtered or unexported fields }
func (*ServerReplyTimeJump) Descriptor
deprecated
func (*ServerReplyTimeJump) Descriptor() ([]byte, []int)
Deprecated: Use ServerReplyTimeJump.ProtoReflect.Descriptor instead.
func (*ServerReplyTimeJump) GetCode ¶
func (x *ServerReplyTimeJump) GetCode() int32
func (*ServerReplyTimeJump) GetMessage ¶
func (x *ServerReplyTimeJump) GetMessage() string
func (*ServerReplyTimeJump) ProtoMessage ¶
func (*ServerReplyTimeJump) ProtoMessage()
func (*ServerReplyTimeJump) ProtoReflect ¶
func (x *ServerReplyTimeJump) ProtoReflect() protoreflect.Message
func (*ServerReplyTimeJump) Reset ¶
func (x *ServerReplyTimeJump) Reset()
func (*ServerReplyTimeJump) String ¶
func (x *ServerReplyTimeJump) String() string
type ServerService2Client ¶
type ServerService2Client interface { // 发送邮件 SendRoleMail(ctx context.Context, in *ServerArgsSendRoleMail, opts ...grpc.CallOption) (*ServerReplySendRoleMail, error) // 导出数据 ExportRoleData(ctx context.Context, in *ExportRoleDataIn, opts ...grpc.CallOption) (*ExportRoleDataOut, error) // 导入数据 ImportRoleData(ctx context.Context, in *ImportRoleDataIn, opts ...grpc.CallOption) (*ImportRoleDataOut, error) // 发送区服邮件 SendServMail(ctx context.Context, in *ServerArgsSendServMail, opts ...grpc.CallOption) (*ServerReplySendServMail, error) // 通知下线 Offline(ctx context.Context, in *ServerArgsOffline, opts ...grpc.CallOption) (*ServerReplyOffline, error) // 充值推送 //rpc rechargePush (ServerArgsRechargePush) returns (ServerReplyRechargePush); // 时间跳跃 TimeJump(ctx context.Context, in *ServerArgsTimeJump, opts ...grpc.CallOption) (*ServerReplyTimeJump, error) GetNotInitedRids(ctx context.Context, in *GetNotInitedRidsReq, opts ...grpc.CallOption) (*GetNotInitedRidsResp, error) DeleteNotInitRid(ctx context.Context, in *DeleteNotInitedRidReq, opts ...grpc.CallOption) (*DeleteNotInitedRidResp, 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 { // 发送邮件 SendRoleMail(context.Context, *ServerArgsSendRoleMail) (*ServerReplySendRoleMail, error) // 导出数据 ExportRoleData(context.Context, *ExportRoleDataIn) (*ExportRoleDataOut, error) // 导入数据 ImportRoleData(context.Context, *ImportRoleDataIn) (*ImportRoleDataOut, error) // 发送区服邮件 SendServMail(context.Context, *ServerArgsSendServMail) (*ServerReplySendServMail, error) // 通知下线 Offline(context.Context, *ServerArgsOffline) (*ServerReplyOffline, error) // 充值推送 //rpc rechargePush (ServerArgsRechargePush) returns (ServerReplyRechargePush); // 时间跳跃 TimeJump(context.Context, *ServerArgsTimeJump) (*ServerReplyTimeJump, error) GetNotInitedRids(context.Context, *GetNotInitedRidsReq) (*GetNotInitedRidsResp, error) DeleteNotInitRid(context.Context, *DeleteNotInitedRidReq) (*DeleteNotInitedRidResp, error) // contains filtered or unexported methods }
ServerService2Server is the server API for ServerService2 service. All implementations must embed UnimplementedServerService2Server for forward compatibility
type UnimplementedGmGameServerRpcServer ¶ added in v0.0.3
type UnimplementedGmGameServerRpcServer struct { }
UnimplementedGmGameServerRpcServer must be embedded to have forward compatible implementations.
func (UnimplementedGmGameServerRpcServer) SendGM ¶ added in v0.0.59
func (UnimplementedGmGameServerRpcServer) SendGM(context.Context, *GmSendGMReq) (*GmSendGMResp, error)
type UnimplementedGvgGameServerRpcServer ¶ added in v0.0.99
type UnimplementedGvgGameServerRpcServer struct { }
UnimplementedGvgGameServerRpcServer must be embedded to have forward compatible implementations.
func (UnimplementedGvgGameServerRpcServer) GetGvgFleetByRid ¶ added in v0.0.99
func (UnimplementedGvgGameServerRpcServer) GetGvgFleetByRid(context.Context, *GvgFleetReq) (*GvgFleetResp, error)
func (UnimplementedGvgGameServerRpcServer) SendGvgReport ¶ added in v0.0.100
func (UnimplementedGvgGameServerRpcServer) SendGvgReport(context.Context, *GvgReportReq) (*GvgReportResp, error)
type UnimplementedRechargeGameServerRpcServer ¶ added in v0.0.23
type UnimplementedRechargeGameServerRpcServer struct { }
UnimplementedRechargeGameServerRpcServer must be embedded to have forward compatible implementations.
func (UnimplementedRechargeGameServerRpcServer) AddGift ¶ added in v0.0.41
func (UnimplementedRechargeGameServerRpcServer) AddGift(context.Context, *RechargeGiftReq) (*RechargeGiftResp, error)
func (UnimplementedRechargeGameServerRpcServer) Delive ¶ added in v0.0.23
func (UnimplementedRechargeGameServerRpcServer) Delive(context.Context, *RechargeDeliveReq) (*RechargeDeliveResp, error)
type UnimplementedServerService2Server ¶
type UnimplementedServerService2Server struct { }
UnimplementedServerService2Server must be embedded to have forward compatible implementations.
func (UnimplementedServerService2Server) DeleteNotInitRid ¶ added in v0.0.88
func (UnimplementedServerService2Server) DeleteNotInitRid(context.Context, *DeleteNotInitedRidReq) (*DeleteNotInitedRidResp, error)
func (UnimplementedServerService2Server) ExportRoleData ¶
func (UnimplementedServerService2Server) ExportRoleData(context.Context, *ExportRoleDataIn) (*ExportRoleDataOut, error)
func (UnimplementedServerService2Server) GetNotInitedRids ¶ added in v0.0.88
func (UnimplementedServerService2Server) GetNotInitedRids(context.Context, *GetNotInitedRidsReq) (*GetNotInitedRidsResp, error)
func (UnimplementedServerService2Server) ImportRoleData ¶
func (UnimplementedServerService2Server) ImportRoleData(context.Context, *ImportRoleDataIn) (*ImportRoleDataOut, error)
func (UnimplementedServerService2Server) Offline ¶ added in v0.0.69
func (UnimplementedServerService2Server) Offline(context.Context, *ServerArgsOffline) (*ServerReplyOffline, 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 UnsafeGmGameServerRpcServer ¶ added in v0.0.3
type UnsafeGmGameServerRpcServer interface {
// contains filtered or unexported methods
}
UnsafeGmGameServerRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GmGameServerRpcServer will result in compilation errors.
type UnsafeGvgGameServerRpcServer ¶ added in v0.0.99
type UnsafeGvgGameServerRpcServer interface {
// contains filtered or unexported methods
}
UnsafeGvgGameServerRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GvgGameServerRpcServer will result in compilation errors.
type UnsafeRechargeGameServerRpcServer ¶ added in v0.0.23
type UnsafeRechargeGameServerRpcServer interface {
// contains filtered or unexported methods
}
UnsafeRechargeGameServerRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RechargeGameServerRpcServer will result in compilation errors.
type UnsafeServerService2Server ¶
type UnsafeServerService2Server interface {
// contains filtered or unexported methods
}
UnsafeServerService2Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServerService2Server will result in compilation errors.
type WARSHIP_ITEM ¶ added in v0.0.100
type WARSHIP_ITEM struct { Wid int32 `protobuf:"varint,1,opt,name=wid,proto3" json:"wid,omitempty"` //战舰id Atk int64 `protobuf:"varint,2,opt,name=atk,proto3" json:"atk,omitempty"` Def int64 `protobuf:"varint,3,opt,name=def,proto3" json:"def,omitempty"` Heros []*HERO_ITEM `protobuf:"bytes,4,rep,name=heros,proto3" json:"heros,omitempty"` //英雄 // contains filtered or unexported fields }
舰队基本信息
func (*WARSHIP_ITEM) Descriptor
deprecated
added in
v0.0.100
func (*WARSHIP_ITEM) Descriptor() ([]byte, []int)
Deprecated: Use WARSHIP_ITEM.ProtoReflect.Descriptor instead.
func (*WARSHIP_ITEM) GetAtk ¶ added in v0.0.100
func (x *WARSHIP_ITEM) GetAtk() int64
func (*WARSHIP_ITEM) GetDef ¶ added in v0.0.100
func (x *WARSHIP_ITEM) GetDef() int64
func (*WARSHIP_ITEM) GetHeros ¶ added in v0.0.100
func (x *WARSHIP_ITEM) GetHeros() []*HERO_ITEM
func (*WARSHIP_ITEM) GetWid ¶ added in v0.0.100
func (x *WARSHIP_ITEM) GetWid() int32
func (*WARSHIP_ITEM) ProtoMessage ¶ added in v0.0.100
func (*WARSHIP_ITEM) ProtoMessage()
func (*WARSHIP_ITEM) ProtoReflect ¶ added in v0.0.100
func (x *WARSHIP_ITEM) ProtoReflect() protoreflect.Message
func (*WARSHIP_ITEM) Reset ¶ added in v0.0.100
func (x *WARSHIP_ITEM) Reset()
func (*WARSHIP_ITEM) String ¶ added in v0.0.100
func (x *WARSHIP_ITEM) String() string