Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDevServiceHTTPServer(s *http.Server, srv DevServiceHTTPServer)
- func RegisterDevServiceServer(s grpc.ServiceRegistrar, srv DevServiceServer)
- func RegisterEquipServiceHTTPServer(s *http.Server, srv EquipServiceHTTPServer)
- func RegisterEquipServiceServer(s grpc.ServiceRegistrar, srv EquipServiceServer)
- func RegisterHeroServiceHTTPServer(s *http.Server, srv HeroServiceHTTPServer)
- func RegisterHeroServiceServer(s grpc.ServiceRegistrar, srv HeroServiceServer)
- func RegisterRoomServiceHTTPServer(s *http.Server, srv RoomServiceHTTPServer)
- func RegisterRoomServiceServer(s grpc.ServiceRegistrar, srv RoomServiceServer)
- func RegisterStorageServiceHTTPServer(s *http.Server, srv StorageServiceHTTPServer)
- func RegisterStorageServiceServer(s grpc.ServiceRegistrar, srv StorageServiceServer)
- func RegisterSystemServiceHTTPServer(s *http.Server, srv SystemServiceHTTPServer)
- func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
- func RegisterUserServiceHTTPServer(s *http.Server, srv UserServiceHTTPServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type CSAgreeToInviteJoinRoom
- func (*CSAgreeToInviteJoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *CSAgreeToInviteJoinRoom) GetRoomId() int64
- func (*CSAgreeToInviteJoinRoom) ProtoMessage()
- func (x *CSAgreeToInviteJoinRoom) ProtoReflect() protoreflect.Message
- func (x *CSAgreeToInviteJoinRoom) Reset()
- func (x *CSAgreeToInviteJoinRoom) String() string
- func (m *CSAgreeToInviteJoinRoom) Validate() error
- func (m *CSAgreeToInviteJoinRoom) ValidateAll() error
- type CSAgreeToInviteJoinRoomMultiError
- type CSAgreeToInviteJoinRoomValidationError
- func (e CSAgreeToInviteJoinRoomValidationError) Cause() error
- func (e CSAgreeToInviteJoinRoomValidationError) Error() string
- func (e CSAgreeToInviteJoinRoomValidationError) ErrorName() string
- func (e CSAgreeToInviteJoinRoomValidationError) Field() string
- func (e CSAgreeToInviteJoinRoomValidationError) Key() bool
- func (e CSAgreeToInviteJoinRoomValidationError) Reason() string
- type CSApproveRequestToJoinRoom
- func (*CSApproveRequestToJoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *CSApproveRequestToJoinRoom) GetUserId() int64
- func (*CSApproveRequestToJoinRoom) ProtoMessage()
- func (x *CSApproveRequestToJoinRoom) ProtoReflect() protoreflect.Message
- func (x *CSApproveRequestToJoinRoom) Reset()
- func (x *CSApproveRequestToJoinRoom) String() string
- func (m *CSApproveRequestToJoinRoom) Validate() error
- func (m *CSApproveRequestToJoinRoom) ValidateAll() error
- type CSApproveRequestToJoinRoomMultiError
- type CSApproveRequestToJoinRoomValidationError
- func (e CSApproveRequestToJoinRoomValidationError) Cause() error
- func (e CSApproveRequestToJoinRoomValidationError) Error() string
- func (e CSApproveRequestToJoinRoomValidationError) ErrorName() string
- func (e CSApproveRequestToJoinRoomValidationError) Field() string
- func (e CSApproveRequestToJoinRoomValidationError) Key() bool
- func (e CSApproveRequestToJoinRoomValidationError) Reason() string
- type CSCloseRoom
- func (*CSCloseRoom) Descriptor() ([]byte, []int)deprecated
- func (x *CSCloseRoom) GetRoomId() int64
- func (*CSCloseRoom) ProtoMessage()
- func (x *CSCloseRoom) ProtoReflect() protoreflect.Message
- func (x *CSCloseRoom) Reset()
- func (x *CSCloseRoom) String() string
- func (m *CSCloseRoom) Validate() error
- func (m *CSCloseRoom) ValidateAll() error
- type CSCloseRoomMultiError
- type CSCloseRoomValidationError
- func (e CSCloseRoomValidationError) Cause() error
- func (e CSCloseRoomValidationError) Error() string
- func (e CSCloseRoomValidationError) ErrorName() string
- func (e CSCloseRoomValidationError) Field() string
- func (e CSCloseRoomValidationError) Key() bool
- func (e CSCloseRoomValidationError) Reason() string
- type CSCreateRoom
- func (*CSCreateRoom) Descriptor() ([]byte, []int)deprecated
- func (x *CSCreateRoom) GetRoomType() int64
- func (*CSCreateRoom) ProtoMessage()
- func (x *CSCreateRoom) ProtoReflect() protoreflect.Message
- func (x *CSCreateRoom) Reset()
- func (x *CSCreateRoom) String() string
- func (m *CSCreateRoom) Validate() error
- func (m *CSCreateRoom) ValidateAll() error
- type CSCreateRoomMultiError
- type CSCreateRoomValidationError
- func (e CSCreateRoomValidationError) Cause() error
- func (e CSCreateRoomValidationError) Error() string
- func (e CSCreateRoomValidationError) ErrorName() string
- func (e CSCreateRoomValidationError) Field() string
- func (e CSCreateRoomValidationError) Key() bool
- func (e CSCreateRoomValidationError) Reason() string
- type CSDevExecute
- func (*CSDevExecute) Descriptor() ([]byte, []int)deprecated
- func (x *CSDevExecute) GetArgs() map[string]string
- func (x *CSDevExecute) GetCmd() string
- func (x *CSDevExecute) GetMod() string
- func (*CSDevExecute) ProtoMessage()
- func (x *CSDevExecute) ProtoReflect() protoreflect.Message
- func (x *CSDevExecute) Reset()
- func (x *CSDevExecute) String() string
- func (m *CSDevExecute) Validate() error
- func (m *CSDevExecute) ValidateAll() error
- type CSDevExecuteMultiError
- type CSDevExecuteValidationError
- func (e CSDevExecuteValidationError) Cause() error
- func (e CSDevExecuteValidationError) Error() string
- func (e CSDevExecuteValidationError) ErrorName() string
- func (e CSDevExecuteValidationError) Field() string
- func (e CSDevExecuteValidationError) Key() bool
- func (e CSDevExecuteValidationError) Reason() string
- type CSDevList
- type CSDevListMultiError
- type CSDevListValidationError
- type CSEquipTakeOff
- func (*CSEquipTakeOff) Descriptor() ([]byte, []int)deprecated
- func (x *CSEquipTakeOff) GetEquipId() int64
- func (*CSEquipTakeOff) ProtoMessage()
- func (x *CSEquipTakeOff) ProtoReflect() protoreflect.Message
- func (x *CSEquipTakeOff) Reset()
- func (x *CSEquipTakeOff) String() string
- func (m *CSEquipTakeOff) Validate() error
- func (m *CSEquipTakeOff) ValidateAll() error
- type CSEquipTakeOffMultiError
- type CSEquipTakeOffValidationError
- func (e CSEquipTakeOffValidationError) Cause() error
- func (e CSEquipTakeOffValidationError) Error() string
- func (e CSEquipTakeOffValidationError) ErrorName() string
- func (e CSEquipTakeOffValidationError) Field() string
- func (e CSEquipTakeOffValidationError) Key() bool
- func (e CSEquipTakeOffValidationError) Reason() string
- type CSEquipUpgrade
- func (*CSEquipUpgrade) Descriptor() ([]byte, []int)deprecated
- func (x *CSEquipUpgrade) GetEquipId() int64
- func (*CSEquipUpgrade) ProtoMessage()
- func (x *CSEquipUpgrade) ProtoReflect() protoreflect.Message
- func (x *CSEquipUpgrade) Reset()
- func (x *CSEquipUpgrade) String() string
- func (m *CSEquipUpgrade) Validate() error
- func (m *CSEquipUpgrade) ValidateAll() error
- type CSEquipUpgradeMultiError
- type CSEquipUpgradeValidationError
- func (e CSEquipUpgradeValidationError) Cause() error
- func (e CSEquipUpgradeValidationError) Error() string
- func (e CSEquipUpgradeValidationError) ErrorName() string
- func (e CSEquipUpgradeValidationError) Field() string
- func (e CSEquipUpgradeValidationError) Key() bool
- func (e CSEquipUpgradeValidationError) Reason() string
- type CSEquipWear
- func (*CSEquipWear) Descriptor() ([]byte, []int)deprecated
- func (x *CSEquipWear) GetEquipId() int64
- func (x *CSEquipWear) GetHeroId() int64
- func (*CSEquipWear) ProtoMessage()
- func (x *CSEquipWear) ProtoReflect() protoreflect.Message
- func (x *CSEquipWear) Reset()
- func (x *CSEquipWear) String() string
- func (m *CSEquipWear) Validate() error
- func (m *CSEquipWear) ValidateAll() error
- type CSEquipWearMultiError
- type CSEquipWearValidationError
- func (e CSEquipWearValidationError) Cause() error
- func (e CSEquipWearValidationError) Error() string
- func (e CSEquipWearValidationError) ErrorName() string
- func (e CSEquipWearValidationError) Field() string
- func (e CSEquipWearValidationError) Key() bool
- func (e CSEquipWearValidationError) Reason() string
- type CSHandshake
- func (*CSHandshake) Descriptor() ([]byte, []int)deprecated
- func (x *CSHandshake) GetCertVersion() int32
- func (x *CSHandshake) GetPub() []byte
- func (x *CSHandshake) GetServerId() int64
- func (x *CSHandshake) GetSign() []byte
- func (x *CSHandshake) GetTimestamp() int64
- func (x *CSHandshake) GetToken() string
- func (*CSHandshake) ProtoMessage()
- func (x *CSHandshake) ProtoReflect() protoreflect.Message
- func (x *CSHandshake) Reset()
- func (x *CSHandshake) String() string
- func (m *CSHandshake) Validate() error
- func (m *CSHandshake) ValidateAll() error
- type CSHandshakeMultiError
- type CSHandshakeValidationError
- func (e CSHandshakeValidationError) Cause() error
- func (e CSHandshakeValidationError) Error() string
- func (e CSHandshakeValidationError) ErrorName() string
- func (e CSHandshakeValidationError) Field() string
- func (e CSHandshakeValidationError) Key() bool
- func (e CSHandshakeValidationError) Reason() string
- type CSHeartbeat
- func (*CSHeartbeat) Descriptor() ([]byte, []int)deprecated
- func (x *CSHeartbeat) GetClientTime() int64
- func (*CSHeartbeat) ProtoMessage()
- func (x *CSHeartbeat) ProtoReflect() protoreflect.Message
- func (x *CSHeartbeat) Reset()
- func (x *CSHeartbeat) String() string
- func (m *CSHeartbeat) Validate() error
- func (m *CSHeartbeat) ValidateAll() error
- type CSHeartbeatMultiError
- type CSHeartbeatValidationError
- func (e CSHeartbeatValidationError) Cause() error
- func (e CSHeartbeatValidationError) Error() string
- func (e CSHeartbeatValidationError) ErrorName() string
- func (e CSHeartbeatValidationError) Field() string
- func (e CSHeartbeatValidationError) Key() bool
- func (e CSHeartbeatValidationError) Reason() string
- type CSHeroLevelUpgrade
- func (*CSHeroLevelUpgrade) Descriptor() ([]byte, []int)deprecated
- func (x *CSHeroLevelUpgrade) GetHeroId() int64
- func (*CSHeroLevelUpgrade) ProtoMessage()
- func (x *CSHeroLevelUpgrade) ProtoReflect() protoreflect.Message
- func (x *CSHeroLevelUpgrade) Reset()
- func (x *CSHeroLevelUpgrade) String() string
- func (m *CSHeroLevelUpgrade) Validate() error
- func (m *CSHeroLevelUpgrade) ValidateAll() error
- type CSHeroLevelUpgradeMultiError
- type CSHeroLevelUpgradeValidationError
- func (e CSHeroLevelUpgradeValidationError) Cause() error
- func (e CSHeroLevelUpgradeValidationError) Error() string
- func (e CSHeroLevelUpgradeValidationError) ErrorName() string
- func (e CSHeroLevelUpgradeValidationError) Field() string
- func (e CSHeroLevelUpgradeValidationError) Key() bool
- func (e CSHeroLevelUpgradeValidationError) Reason() string
- type CSInviteToJoinRoom
- func (*CSInviteToJoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *CSInviteToJoinRoom) GetUserId() int64
- func (*CSInviteToJoinRoom) ProtoMessage()
- func (x *CSInviteToJoinRoom) ProtoReflect() protoreflect.Message
- func (x *CSInviteToJoinRoom) Reset()
- func (x *CSInviteToJoinRoom) String() string
- func (m *CSInviteToJoinRoom) Validate() error
- func (m *CSInviteToJoinRoom) ValidateAll() error
- type CSInviteToJoinRoomMultiError
- type CSInviteToJoinRoomValidationError
- func (e CSInviteToJoinRoomValidationError) Cause() error
- func (e CSInviteToJoinRoomValidationError) Error() string
- func (e CSInviteToJoinRoomValidationError) ErrorName() string
- func (e CSInviteToJoinRoomValidationError) Field() string
- func (e CSInviteToJoinRoomValidationError) Key() bool
- func (e CSInviteToJoinRoomValidationError) Reason() string
- type CSKickUserFromRoom
- func (*CSKickUserFromRoom) Descriptor() ([]byte, []int)deprecated
- func (x *CSKickUserFromRoom) GetUserId() int64
- func (*CSKickUserFromRoom) ProtoMessage()
- func (x *CSKickUserFromRoom) ProtoReflect() protoreflect.Message
- func (x *CSKickUserFromRoom) Reset()
- func (x *CSKickUserFromRoom) String() string
- func (m *CSKickUserFromRoom) Validate() error
- func (m *CSKickUserFromRoom) ValidateAll() error
- type CSKickUserFromRoomMultiError
- type CSKickUserFromRoomValidationError
- func (e CSKickUserFromRoomValidationError) Cause() error
- func (e CSKickUserFromRoomValidationError) Error() string
- func (e CSKickUserFromRoomValidationError) ErrorName() string
- func (e CSKickUserFromRoomValidationError) Field() string
- func (e CSKickUserFromRoomValidationError) Key() bool
- func (e CSKickUserFromRoomValidationError) Reason() string
- type CSLeaveRoom
- func (*CSLeaveRoom) Descriptor() ([]byte, []int)deprecated
- func (x *CSLeaveRoom) GetRoomId() int64
- func (*CSLeaveRoom) ProtoMessage()
- func (x *CSLeaveRoom) ProtoReflect() protoreflect.Message
- func (x *CSLeaveRoom) Reset()
- func (x *CSLeaveRoom) String() string
- func (m *CSLeaveRoom) Validate() error
- func (m *CSLeaveRoom) ValidateAll() error
- type CSLeaveRoomMultiError
- type CSLeaveRoomValidationError
- func (e CSLeaveRoomValidationError) Cause() error
- func (e CSLeaveRoomValidationError) Error() string
- func (e CSLeaveRoomValidationError) ErrorName() string
- func (e CSLeaveRoomValidationError) Field() string
- func (e CSLeaveRoomValidationError) Key() bool
- func (e CSLeaveRoomValidationError) Reason() string
- type CSLogin
- func (*CSLogin) Descriptor() ([]byte, []int)deprecated
- func (x *CSLogin) GetReconnect() bool
- func (*CSLogin) ProtoMessage()
- func (x *CSLogin) ProtoReflect() protoreflect.Message
- func (x *CSLogin) Reset()
- func (x *CSLogin) String() string
- func (m *CSLogin) Validate() error
- func (m *CSLogin) ValidateAll() error
- type CSLoginMultiError
- type CSLoginValidationError
- type CSRequestToJoinRoom
- func (*CSRequestToJoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *CSRequestToJoinRoom) GetRoomId() int64
- func (*CSRequestToJoinRoom) ProtoMessage()
- func (x *CSRequestToJoinRoom) ProtoReflect() protoreflect.Message
- func (x *CSRequestToJoinRoom) Reset()
- func (x *CSRequestToJoinRoom) String() string
- func (m *CSRequestToJoinRoom) Validate() error
- func (m *CSRequestToJoinRoom) ValidateAll() error
- type CSRequestToJoinRoomMultiError
- type CSRequestToJoinRoomValidationError
- func (e CSRequestToJoinRoomValidationError) Cause() error
- func (e CSRequestToJoinRoomValidationError) Error() string
- func (e CSRequestToJoinRoomValidationError) ErrorName() string
- func (e CSRequestToJoinRoomValidationError) Field() string
- func (e CSRequestToJoinRoomValidationError) Key() bool
- func (e CSRequestToJoinRoomValidationError) Reason() string
- type CSRoomDetail
- func (*CSRoomDetail) Descriptor() ([]byte, []int)deprecated
- func (x *CSRoomDetail) GetRoomId() int64
- func (*CSRoomDetail) ProtoMessage()
- func (x *CSRoomDetail) ProtoReflect() protoreflect.Message
- func (x *CSRoomDetail) Reset()
- func (x *CSRoomDetail) String() string
- func (m *CSRoomDetail) Validate() error
- func (m *CSRoomDetail) ValidateAll() error
- type CSRoomDetailMultiError
- type CSRoomDetailValidationError
- func (e CSRoomDetailValidationError) Cause() error
- func (e CSRoomDetailValidationError) Error() string
- func (e CSRoomDetailValidationError) ErrorName() string
- func (e CSRoomDetailValidationError) Field() string
- func (e CSRoomDetailValidationError) Key() bool
- func (e CSRoomDetailValidationError) Reason() string
- type CSRoomList
- func (*CSRoomList) Descriptor() ([]byte, []int)deprecated
- func (x *CSRoomList) GetPage() int64
- func (x *CSRoomList) GetPageSize() int64
- func (*CSRoomList) ProtoMessage()
- func (x *CSRoomList) ProtoReflect() protoreflect.Message
- func (x *CSRoomList) Reset()
- func (x *CSRoomList) String() string
- func (m *CSRoomList) Validate() error
- func (m *CSRoomList) ValidateAll() error
- type CSRoomListMultiError
- type CSRoomListValidationError
- type CSSetGender
- func (*CSSetGender) Descriptor() ([]byte, []int)deprecated
- func (x *CSSetGender) GetGender() int32
- func (*CSSetGender) ProtoMessage()
- func (x *CSSetGender) ProtoReflect() protoreflect.Message
- func (x *CSSetGender) Reset()
- func (x *CSSetGender) String() string
- func (m *CSSetGender) Validate() error
- func (m *CSSetGender) ValidateAll() error
- type CSSetGenderMultiError
- type CSSetGenderValidationError
- func (e CSSetGenderValidationError) Cause() error
- func (e CSSetGenderValidationError) Error() string
- func (e CSSetGenderValidationError) ErrorName() string
- func (e CSSetGenderValidationError) Field() string
- func (e CSSetGenderValidationError) Key() bool
- func (e CSSetGenderValidationError) Reason() string
- type CSUpdateName
- func (*CSUpdateName) Descriptor() ([]byte, []int)deprecated
- func (x *CSUpdateName) GetName() string
- func (*CSUpdateName) ProtoMessage()
- func (x *CSUpdateName) ProtoReflect() protoreflect.Message
- func (x *CSUpdateName) Reset()
- func (x *CSUpdateName) String() string
- func (m *CSUpdateName) Validate() error
- func (m *CSUpdateName) ValidateAll() error
- type CSUpdateNameMultiError
- type CSUpdateNameValidationError
- func (e CSUpdateNameValidationError) Cause() error
- func (e CSUpdateNameValidationError) Error() string
- func (e CSUpdateNameValidationError) ErrorName() string
- func (e CSUpdateNameValidationError) Field() string
- func (e CSUpdateNameValidationError) Key() bool
- func (e CSUpdateNameValidationError) Reason() string
- type CSUsePack
- func (*CSUsePack) Descriptor() ([]byte, []int)deprecated
- func (x *CSUsePack) GetId() int64
- func (*CSUsePack) ProtoMessage()
- func (x *CSUsePack) ProtoReflect() protoreflect.Message
- func (x *CSUsePack) Reset()
- func (x *CSUsePack) String() string
- func (m *CSUsePack) Validate() error
- func (m *CSUsePack) ValidateAll() error
- type CSUsePackMultiError
- type CSUsePackValidationError
- type DevCmdArgProto
- func (*DevCmdArgProto) Descriptor() ([]byte, []int)deprecated
- func (x *DevCmdArgProto) GetDef() string
- func (x *DevCmdArgProto) GetKey() string
- func (*DevCmdArgProto) ProtoMessage()
- func (x *DevCmdArgProto) ProtoReflect() protoreflect.Message
- func (x *DevCmdArgProto) Reset()
- func (x *DevCmdArgProto) String() string
- func (m *DevCmdArgProto) Validate() error
- func (m *DevCmdArgProto) ValidateAll() error
- type DevCmdArgProtoMultiError
- type DevCmdArgProtoValidationError
- func (e DevCmdArgProtoValidationError) Cause() error
- func (e DevCmdArgProtoValidationError) Error() string
- func (e DevCmdArgProtoValidationError) ErrorName() string
- func (e DevCmdArgProtoValidationError) Field() string
- func (e DevCmdArgProtoValidationError) Key() bool
- func (e DevCmdArgProtoValidationError) Reason() string
- type DevCmdProto
- func (*DevCmdProto) Descriptor() ([]byte, []int)deprecated
- func (x *DevCmdProto) GetArgs() []*DevCmdArgProto
- func (x *DevCmdProto) GetDesc() string
- func (x *DevCmdProto) GetMod() string
- func (x *DevCmdProto) GetName() string
- func (*DevCmdProto) ProtoMessage()
- func (x *DevCmdProto) ProtoReflect() protoreflect.Message
- func (x *DevCmdProto) Reset()
- func (x *DevCmdProto) String() string
- func (m *DevCmdProto) Validate() error
- func (m *DevCmdProto) ValidateAll() error
- type DevCmdProtoMultiError
- type DevCmdProtoValidationError
- func (e DevCmdProtoValidationError) Cause() error
- func (e DevCmdProtoValidationError) Error() string
- func (e DevCmdProtoValidationError) ErrorName() string
- func (e DevCmdProtoValidationError) Field() string
- func (e DevCmdProtoValidationError) Key() bool
- func (e DevCmdProtoValidationError) Reason() string
- type DevServiceClient
- type DevServiceHTTPClient
- type DevServiceHTTPClientImpl
- type DevServiceHTTPServer
- type DevServiceServer
- type EquipProto
- func (*EquipProto) Descriptor() ([]byte, []int)deprecated
- func (x *EquipProto) GetDataId() int64
- func (x *EquipProto) GetHeroId() int64
- func (x *EquipProto) GetId() int64
- func (x *EquipProto) GetLevel() int64
- func (x *EquipProto) GetWearing() bool
- func (*EquipProto) ProtoMessage()
- func (x *EquipProto) ProtoReflect() protoreflect.Message
- func (x *EquipProto) Reset()
- func (x *EquipProto) String() string
- func (m *EquipProto) Validate() error
- func (m *EquipProto) ValidateAll() error
- type EquipProtoMultiError
- type EquipProtoValidationError
- type EquipServiceClient
- type EquipServiceHTTPClient
- type EquipServiceHTTPClientImpl
- func (c *EquipServiceHTTPClientImpl) EquipTakeOff(ctx context.Context, in *CSEquipTakeOff, opts ...http.CallOption) (*SCEquipTakeOff, error)
- func (c *EquipServiceHTTPClientImpl) EquipUpgrade(ctx context.Context, in *CSEquipUpgrade, opts ...http.CallOption) (*SCEquipUpgrade, error)
- func (c *EquipServiceHTTPClientImpl) EquipWear(ctx context.Context, in *CSEquipWear, opts ...http.CallOption) (*SCEquipWear, error)
- type EquipServiceHTTPServer
- type EquipServiceServer
- type HeroProto
- func (*HeroProto) Descriptor() ([]byte, []int)deprecated
- func (x *HeroProto) GetDataId() int64
- func (x *HeroProto) GetEquips() []int64
- func (x *HeroProto) GetId() int64
- func (x *HeroProto) GetLevel() int64
- func (x *HeroProto) GetSkills() map[int64]int64
- func (*HeroProto) ProtoMessage()
- func (x *HeroProto) ProtoReflect() protoreflect.Message
- func (x *HeroProto) Reset()
- func (x *HeroProto) String() string
- func (m *HeroProto) Validate() error
- func (m *HeroProto) ValidateAll() error
- type HeroProtoMultiError
- type HeroProtoValidationError
- type HeroServiceClient
- type HeroServiceHTTPClient
- type HeroServiceHTTPClientImpl
- type HeroServiceHTTPServer
- type HeroServiceServer
- type ItemRecoveryInfoProto
- func (*ItemRecoveryInfoProto) Descriptor() ([]byte, []int)deprecated
- func (x *ItemRecoveryInfoProto) GetDataId() int64
- func (x *ItemRecoveryInfoProto) GetMax() int64
- func (x *ItemRecoveryInfoProto) GetRecoverPerSec() float32
- func (x *ItemRecoveryInfoProto) GetUpdatedAt() int64
- func (*ItemRecoveryInfoProto) ProtoMessage()
- func (x *ItemRecoveryInfoProto) ProtoReflect() protoreflect.Message
- func (x *ItemRecoveryInfoProto) Reset()
- func (x *ItemRecoveryInfoProto) String() string
- func (m *ItemRecoveryInfoProto) Validate() error
- func (m *ItemRecoveryInfoProto) ValidateAll() error
- type ItemRecoveryInfoProtoMultiError
- type ItemRecoveryInfoProtoValidationError
- func (e ItemRecoveryInfoProtoValidationError) Cause() error
- func (e ItemRecoveryInfoProtoValidationError) Error() string
- func (e ItemRecoveryInfoProtoValidationError) ErrorName() string
- func (e ItemRecoveryInfoProtoValidationError) Field() string
- func (e ItemRecoveryInfoProtoValidationError) Key() bool
- func (e ItemRecoveryInfoProtoValidationError) Reason() string
- type RechargeParamProto
- func (*RechargeParamProto) Descriptor() ([]byte, []int)deprecated
- func (x *RechargeParamProto) GetPayload() []byte
- func (x *RechargeParamProto) GetProductId() int64
- func (x *RechargeParamProto) GetStore() string
- func (*RechargeParamProto) ProtoMessage()
- func (x *RechargeParamProto) ProtoReflect() protoreflect.Message
- func (x *RechargeParamProto) Reset()
- func (x *RechargeParamProto) String() string
- func (m *RechargeParamProto) Validate() error
- func (m *RechargeParamProto) ValidateAll() error
- type RechargeParamProtoMultiError
- type RechargeParamProtoValidationError
- func (e RechargeParamProtoValidationError) Cause() error
- func (e RechargeParamProtoValidationError) Error() string
- func (e RechargeParamProtoValidationError) ErrorName() string
- func (e RechargeParamProtoValidationError) Field() string
- func (e RechargeParamProtoValidationError) Key() bool
- func (e RechargeParamProtoValidationError) Reason() string
- type RoomBasicProto
- func (*RoomBasicProto) Descriptor() ([]byte, []int)deprecated
- func (x *RoomBasicProto) GetCreatedAt() int64
- func (x *RoomBasicProto) GetCreator() *UserBasicProto
- func (x *RoomBasicProto) GetId() int64
- func (x *RoomBasicProto) GetRoomType() int64
- func (*RoomBasicProto) ProtoMessage()
- func (x *RoomBasicProto) ProtoReflect() protoreflect.Message
- func (x *RoomBasicProto) Reset()
- func (x *RoomBasicProto) String() string
- func (m *RoomBasicProto) Validate() error
- func (m *RoomBasicProto) ValidateAll() error
- type RoomBasicProtoMultiError
- type RoomBasicProtoValidationError
- func (e RoomBasicProtoValidationError) Cause() error
- func (e RoomBasicProtoValidationError) Error() string
- func (e RoomBasicProtoValidationError) ErrorName() string
- func (e RoomBasicProtoValidationError) Field() string
- func (e RoomBasicProtoValidationError) Key() bool
- func (e RoomBasicProtoValidationError) Reason() string
- type RoomMemberProto
- func (*RoomMemberProto) Descriptor() ([]byte, []int)deprecated
- func (x *RoomMemberProto) GetJoinedAt() int64
- func (x *RoomMemberProto) GetUser() *UserBasicProto
- func (*RoomMemberProto) ProtoMessage()
- func (x *RoomMemberProto) ProtoReflect() protoreflect.Message
- func (x *RoomMemberProto) Reset()
- func (x *RoomMemberProto) String() string
- func (m *RoomMemberProto) Validate() error
- func (m *RoomMemberProto) ValidateAll() error
- type RoomMemberProtoMultiError
- type RoomMemberProtoValidationError
- func (e RoomMemberProtoValidationError) Cause() error
- func (e RoomMemberProtoValidationError) Error() string
- func (e RoomMemberProtoValidationError) ErrorName() string
- func (e RoomMemberProtoValidationError) Field() string
- func (e RoomMemberProtoValidationError) Key() bool
- func (e RoomMemberProtoValidationError) Reason() string
- type RoomProto
- func (*RoomProto) Descriptor() ([]byte, []int)deprecated
- func (x *RoomProto) GetBasic() *RoomBasicProto
- func (x *RoomProto) GetInvitees() []int64
- func (x *RoomProto) GetMembers() map[int64]*RoomMemberProto
- func (x *RoomProto) GetRequests() []int64
- func (*RoomProto) ProtoMessage()
- func (x *RoomProto) ProtoReflect() protoreflect.Message
- func (x *RoomProto) Reset()
- func (x *RoomProto) String() string
- func (m *RoomProto) Validate() error
- func (m *RoomProto) ValidateAll() error
- type RoomProtoMultiError
- type RoomProtoValidationError
- type RoomServiceClient
- type RoomServiceHTTPClient
- type RoomServiceHTTPClientImpl
- func (c *RoomServiceHTTPClientImpl) AgreeToInviteJoinRoom(ctx context.Context, in *CSAgreeToInviteJoinRoom, opts ...http.CallOption) (*SCAgreeToInviteJoinRoom, error)
- func (c *RoomServiceHTTPClientImpl) ApproveRequestToJoinRoom(ctx context.Context, in *CSApproveRequestToJoinRoom, opts ...http.CallOption) (*SCApproveRequestToJoinRoom, error)
- func (c *RoomServiceHTTPClientImpl) CloseRoom(ctx context.Context, in *CSCloseRoom, opts ...http.CallOption) (*SCCloseRoom, error)
- func (c *RoomServiceHTTPClientImpl) CreateRoom(ctx context.Context, in *CSCreateRoom, opts ...http.CallOption) (*SCCreateRoom, error)
- func (c *RoomServiceHTTPClientImpl) InviteToJoinRoom(ctx context.Context, in *CSInviteToJoinRoom, opts ...http.CallOption) (*SCInviteToJoinRoom, error)
- func (c *RoomServiceHTTPClientImpl) KickUserFromRoom(ctx context.Context, in *CSKickUserFromRoom, opts ...http.CallOption) (*SCKickUserFromRoom, error)
- func (c *RoomServiceHTTPClientImpl) LeaveRoom(ctx context.Context, in *CSLeaveRoom, opts ...http.CallOption) (*SCLeaveRoom, error)
- func (c *RoomServiceHTTPClientImpl) RequestToJoinRoom(ctx context.Context, in *CSRequestToJoinRoom, opts ...http.CallOption) (*SCRequestToJoinRoom, error)
- func (c *RoomServiceHTTPClientImpl) RoomDetail(ctx context.Context, in *CSRoomDetail, opts ...http.CallOption) (*SCRoomDetail, error)
- func (c *RoomServiceHTTPClientImpl) RoomList(ctx context.Context, in *CSRoomList, opts ...http.CallOption) (*SCRoomList, error)
- type RoomServiceHTTPServer
- type RoomServiceServer
- type SCAgreeToInviteJoinRoom
- func (*SCAgreeToInviteJoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCAgreeToInviteJoinRoom) GetCode() SCAgreeToInviteJoinRoom_Code
- func (*SCAgreeToInviteJoinRoom) ProtoMessage()
- func (x *SCAgreeToInviteJoinRoom) ProtoReflect() protoreflect.Message
- func (x *SCAgreeToInviteJoinRoom) Reset()
- func (x *SCAgreeToInviteJoinRoom) String() string
- func (m *SCAgreeToInviteJoinRoom) Validate() error
- func (m *SCAgreeToInviteJoinRoom) ValidateAll() error
- type SCAgreeToInviteJoinRoomMultiError
- type SCAgreeToInviteJoinRoomValidationError
- func (e SCAgreeToInviteJoinRoomValidationError) Cause() error
- func (e SCAgreeToInviteJoinRoomValidationError) Error() string
- func (e SCAgreeToInviteJoinRoomValidationError) ErrorName() string
- func (e SCAgreeToInviteJoinRoomValidationError) Field() string
- func (e SCAgreeToInviteJoinRoomValidationError) Key() bool
- func (e SCAgreeToInviteJoinRoomValidationError) Reason() string
- type SCAgreeToInviteJoinRoom_Code
- func (SCAgreeToInviteJoinRoom_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCAgreeToInviteJoinRoom_Code) Enum() *SCAgreeToInviteJoinRoom_Code
- func (SCAgreeToInviteJoinRoom_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCAgreeToInviteJoinRoom_Code) Number() protoreflect.EnumNumber
- func (x SCAgreeToInviteJoinRoom_Code) String() string
- func (SCAgreeToInviteJoinRoom_Code) Type() protoreflect.EnumType
- type SCApproveRequestToJoinRoom
- func (*SCApproveRequestToJoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCApproveRequestToJoinRoom) GetCode() SCApproveRequestToJoinRoom_Code
- func (*SCApproveRequestToJoinRoom) ProtoMessage()
- func (x *SCApproveRequestToJoinRoom) ProtoReflect() protoreflect.Message
- func (x *SCApproveRequestToJoinRoom) Reset()
- func (x *SCApproveRequestToJoinRoom) String() string
- func (m *SCApproveRequestToJoinRoom) Validate() error
- func (m *SCApproveRequestToJoinRoom) ValidateAll() error
- type SCApproveRequestToJoinRoomMultiError
- type SCApproveRequestToJoinRoomValidationError
- func (e SCApproveRequestToJoinRoomValidationError) Cause() error
- func (e SCApproveRequestToJoinRoomValidationError) Error() string
- func (e SCApproveRequestToJoinRoomValidationError) ErrorName() string
- func (e SCApproveRequestToJoinRoomValidationError) Field() string
- func (e SCApproveRequestToJoinRoomValidationError) Key() bool
- func (e SCApproveRequestToJoinRoomValidationError) Reason() string
- type SCApproveRequestToJoinRoom_Code
- func (SCApproveRequestToJoinRoom_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCApproveRequestToJoinRoom_Code) Enum() *SCApproveRequestToJoinRoom_Code
- func (SCApproveRequestToJoinRoom_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCApproveRequestToJoinRoom_Code) Number() protoreflect.EnumNumber
- func (x SCApproveRequestToJoinRoom_Code) String() string
- func (SCApproveRequestToJoinRoom_Code) Type() protoreflect.EnumType
- type SCCloseRoom
- func (*SCCloseRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCCloseRoom) GetCode() SCCloseRoom_Code
- func (*SCCloseRoom) ProtoMessage()
- func (x *SCCloseRoom) ProtoReflect() protoreflect.Message
- func (x *SCCloseRoom) Reset()
- func (x *SCCloseRoom) String() string
- func (m *SCCloseRoom) Validate() error
- func (m *SCCloseRoom) ValidateAll() error
- type SCCloseRoomMultiError
- type SCCloseRoomValidationError
- func (e SCCloseRoomValidationError) Cause() error
- func (e SCCloseRoomValidationError) Error() string
- func (e SCCloseRoomValidationError) ErrorName() string
- func (e SCCloseRoomValidationError) Field() string
- func (e SCCloseRoomValidationError) Key() bool
- func (e SCCloseRoomValidationError) Reason() string
- type SCCloseRoom_Code
- func (SCCloseRoom_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCCloseRoom_Code) Enum() *SCCloseRoom_Code
- func (SCCloseRoom_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCCloseRoom_Code) Number() protoreflect.EnumNumber
- func (x SCCloseRoom_Code) String() string
- func (SCCloseRoom_Code) Type() protoreflect.EnumType
- type SCCreateRoom
- func (*SCCreateRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCCreateRoom) GetCode() SCCreateRoom_Code
- func (x *SCCreateRoom) GetRoom() *RoomProto
- func (*SCCreateRoom) ProtoMessage()
- func (x *SCCreateRoom) ProtoReflect() protoreflect.Message
- func (x *SCCreateRoom) Reset()
- func (x *SCCreateRoom) String() string
- func (m *SCCreateRoom) Validate() error
- func (m *SCCreateRoom) ValidateAll() error
- type SCCreateRoomMultiError
- type SCCreateRoomValidationError
- func (e SCCreateRoomValidationError) Cause() error
- func (e SCCreateRoomValidationError) Error() string
- func (e SCCreateRoomValidationError) ErrorName() string
- func (e SCCreateRoomValidationError) Field() string
- func (e SCCreateRoomValidationError) Key() bool
- func (e SCCreateRoomValidationError) Reason() string
- type SCCreateRoom_Code
- func (SCCreateRoom_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCCreateRoom_Code) Enum() *SCCreateRoom_Code
- func (SCCreateRoom_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCCreateRoom_Code) Number() protoreflect.EnumNumber
- func (x SCCreateRoom_Code) String() string
- func (SCCreateRoom_Code) Type() protoreflect.EnumType
- type SCDevExecute
- func (*SCDevExecute) Descriptor() ([]byte, []int)deprecated
- func (x *SCDevExecute) GetCode() SCDevExecute_Code
- func (x *SCDevExecute) GetMessage() string
- func (*SCDevExecute) ProtoMessage()
- func (x *SCDevExecute) ProtoReflect() protoreflect.Message
- func (x *SCDevExecute) Reset()
- func (x *SCDevExecute) String() string
- func (m *SCDevExecute) Validate() error
- func (m *SCDevExecute) ValidateAll() error
- type SCDevExecuteMultiError
- type SCDevExecuteValidationError
- func (e SCDevExecuteValidationError) Cause() error
- func (e SCDevExecuteValidationError) Error() string
- func (e SCDevExecuteValidationError) ErrorName() string
- func (e SCDevExecuteValidationError) Field() string
- func (e SCDevExecuteValidationError) Key() bool
- func (e SCDevExecuteValidationError) Reason() string
- type SCDevExecute_Code
- func (SCDevExecute_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCDevExecute_Code) Enum() *SCDevExecute_Code
- func (SCDevExecute_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCDevExecute_Code) Number() protoreflect.EnumNumber
- func (x SCDevExecute_Code) String() string
- func (SCDevExecute_Code) Type() protoreflect.EnumType
- type SCDevList
- func (*SCDevList) Descriptor() ([]byte, []int)deprecated
- func (x *SCDevList) GetCode() SCDevList_Code
- func (x *SCDevList) GetCommands() []*DevCmdProto
- func (*SCDevList) ProtoMessage()
- func (x *SCDevList) ProtoReflect() protoreflect.Message
- func (x *SCDevList) Reset()
- func (x *SCDevList) String() string
- func (m *SCDevList) Validate() error
- func (m *SCDevList) ValidateAll() error
- type SCDevListMultiError
- type SCDevListValidationError
- type SCDevList_Code
- func (SCDevList_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCDevList_Code) Enum() *SCDevList_Code
- func (SCDevList_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCDevList_Code) Number() protoreflect.EnumNumber
- func (x SCDevList_Code) String() string
- func (SCDevList_Code) Type() protoreflect.EnumType
- type SCEquipTakeOff
- func (*SCEquipTakeOff) Descriptor() ([]byte, []int)deprecated
- func (x *SCEquipTakeOff) GetCode() SCEquipTakeOff_Code
- func (x *SCEquipTakeOff) GetEquip() *EquipProto
- func (*SCEquipTakeOff) ProtoMessage()
- func (x *SCEquipTakeOff) ProtoReflect() protoreflect.Message
- func (x *SCEquipTakeOff) Reset()
- func (x *SCEquipTakeOff) String() string
- func (m *SCEquipTakeOff) Validate() error
- func (m *SCEquipTakeOff) ValidateAll() error
- type SCEquipTakeOffMultiError
- type SCEquipTakeOffValidationError
- func (e SCEquipTakeOffValidationError) Cause() error
- func (e SCEquipTakeOffValidationError) Error() string
- func (e SCEquipTakeOffValidationError) ErrorName() string
- func (e SCEquipTakeOffValidationError) Field() string
- func (e SCEquipTakeOffValidationError) Key() bool
- func (e SCEquipTakeOffValidationError) Reason() string
- type SCEquipTakeOff_Code
- func (SCEquipTakeOff_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCEquipTakeOff_Code) Enum() *SCEquipTakeOff_Code
- func (SCEquipTakeOff_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCEquipTakeOff_Code) Number() protoreflect.EnumNumber
- func (x SCEquipTakeOff_Code) String() string
- func (SCEquipTakeOff_Code) Type() protoreflect.EnumType
- type SCEquipUpgrade
- func (*SCEquipUpgrade) Descriptor() ([]byte, []int)deprecated
- func (x *SCEquipUpgrade) GetCode() SCEquipUpgrade_Code
- func (x *SCEquipUpgrade) GetCosts() map[int64]int64
- func (x *SCEquipUpgrade) GetEquip() *EquipProto
- func (*SCEquipUpgrade) ProtoMessage()
- func (x *SCEquipUpgrade) ProtoReflect() protoreflect.Message
- func (x *SCEquipUpgrade) Reset()
- func (x *SCEquipUpgrade) String() string
- func (m *SCEquipUpgrade) Validate() error
- func (m *SCEquipUpgrade) ValidateAll() error
- type SCEquipUpgradeMultiError
- type SCEquipUpgradeValidationError
- func (e SCEquipUpgradeValidationError) Cause() error
- func (e SCEquipUpgradeValidationError) Error() string
- func (e SCEquipUpgradeValidationError) ErrorName() string
- func (e SCEquipUpgradeValidationError) Field() string
- func (e SCEquipUpgradeValidationError) Key() bool
- func (e SCEquipUpgradeValidationError) Reason() string
- type SCEquipUpgrade_Code
- func (SCEquipUpgrade_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCEquipUpgrade_Code) Enum() *SCEquipUpgrade_Code
- func (SCEquipUpgrade_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCEquipUpgrade_Code) Number() protoreflect.EnumNumber
- func (x SCEquipUpgrade_Code) String() string
- func (SCEquipUpgrade_Code) Type() protoreflect.EnumType
- type SCEquipWear
- func (*SCEquipWear) Descriptor() ([]byte, []int)deprecated
- func (x *SCEquipWear) GetCode() SCEquipWear_Code
- func (x *SCEquipWear) GetReplacedEquipId() int64
- func (*SCEquipWear) ProtoMessage()
- func (x *SCEquipWear) ProtoReflect() protoreflect.Message
- func (x *SCEquipWear) Reset()
- func (x *SCEquipWear) String() string
- func (m *SCEquipWear) Validate() error
- func (m *SCEquipWear) ValidateAll() error
- type SCEquipWearMultiError
- type SCEquipWearValidationError
- func (e SCEquipWearValidationError) Cause() error
- func (e SCEquipWearValidationError) Error() string
- func (e SCEquipWearValidationError) ErrorName() string
- func (e SCEquipWearValidationError) Field() string
- func (e SCEquipWearValidationError) Key() bool
- func (e SCEquipWearValidationError) Reason() string
- type SCEquipWear_Code
- func (SCEquipWear_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCEquipWear_Code) Enum() *SCEquipWear_Code
- func (SCEquipWear_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCEquipWear_Code) Number() protoreflect.EnumNumber
- func (x SCEquipWear_Code) String() string
- func (SCEquipWear_Code) Type() protoreflect.EnumType
- type SCHandshake
- func (*SCHandshake) Descriptor() ([]byte, []int)deprecated
- func (x *SCHandshake) GetCertVersion() int32
- func (x *SCHandshake) GetPub() []byte
- func (x *SCHandshake) GetSign() []byte
- func (x *SCHandshake) GetStartIndex() int32
- func (x *SCHandshake) GetTimestamp() int64
- func (*SCHandshake) ProtoMessage()
- func (x *SCHandshake) ProtoReflect() protoreflect.Message
- func (x *SCHandshake) Reset()
- func (x *SCHandshake) String() string
- func (m *SCHandshake) Validate() error
- func (m *SCHandshake) ValidateAll() error
- type SCHandshakeMultiError
- type SCHandshakeValidationError
- func (e SCHandshakeValidationError) Cause() error
- func (e SCHandshakeValidationError) Error() string
- func (e SCHandshakeValidationError) ErrorName() string
- func (e SCHandshakeValidationError) Field() string
- func (e SCHandshakeValidationError) Key() bool
- func (e SCHandshakeValidationError) Reason() string
- type SCHeartbeat
- func (*SCHeartbeat) Descriptor() ([]byte, []int)deprecated
- func (x *SCHeartbeat) GetCode() SCHeartbeat_Code
- func (x *SCHeartbeat) GetServerTime() int64
- func (*SCHeartbeat) ProtoMessage()
- func (x *SCHeartbeat) ProtoReflect() protoreflect.Message
- func (x *SCHeartbeat) Reset()
- func (x *SCHeartbeat) String() string
- func (m *SCHeartbeat) Validate() error
- func (m *SCHeartbeat) ValidateAll() error
- type SCHeartbeatMultiError
- type SCHeartbeatValidationError
- func (e SCHeartbeatValidationError) Cause() error
- func (e SCHeartbeatValidationError) Error() string
- func (e SCHeartbeatValidationError) ErrorName() string
- func (e SCHeartbeatValidationError) Field() string
- func (e SCHeartbeatValidationError) Key() bool
- func (e SCHeartbeatValidationError) Reason() string
- type SCHeartbeat_Code
- func (SCHeartbeat_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCHeartbeat_Code) Enum() *SCHeartbeat_Code
- func (SCHeartbeat_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCHeartbeat_Code) Number() protoreflect.EnumNumber
- func (x SCHeartbeat_Code) String() string
- func (SCHeartbeat_Code) Type() protoreflect.EnumType
- type SCHeroLevelUpgrade
- func (*SCHeroLevelUpgrade) Descriptor() ([]byte, []int)deprecated
- func (x *SCHeroLevelUpgrade) GetCode() SCHeroLevelUpgrade_Code
- func (x *SCHeroLevelUpgrade) GetCosts() map[int64]int64
- func (x *SCHeroLevelUpgrade) GetHero() *HeroProto
- func (*SCHeroLevelUpgrade) ProtoMessage()
- func (x *SCHeroLevelUpgrade) ProtoReflect() protoreflect.Message
- func (x *SCHeroLevelUpgrade) Reset()
- func (x *SCHeroLevelUpgrade) String() string
- func (m *SCHeroLevelUpgrade) Validate() error
- func (m *SCHeroLevelUpgrade) ValidateAll() error
- type SCHeroLevelUpgradeMultiError
- type SCHeroLevelUpgradeValidationError
- func (e SCHeroLevelUpgradeValidationError) Cause() error
- func (e SCHeroLevelUpgradeValidationError) Error() string
- func (e SCHeroLevelUpgradeValidationError) ErrorName() string
- func (e SCHeroLevelUpgradeValidationError) Field() string
- func (e SCHeroLevelUpgradeValidationError) Key() bool
- func (e SCHeroLevelUpgradeValidationError) Reason() string
- type SCHeroLevelUpgrade_Code
- func (SCHeroLevelUpgrade_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCHeroLevelUpgrade_Code) Enum() *SCHeroLevelUpgrade_Code
- func (SCHeroLevelUpgrade_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCHeroLevelUpgrade_Code) Number() protoreflect.EnumNumber
- func (x SCHeroLevelUpgrade_Code) String() string
- func (SCHeroLevelUpgrade_Code) Type() protoreflect.EnumType
- type SCInviteToJoinRoom
- func (*SCInviteToJoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCInviteToJoinRoom) GetCode() SCInviteToJoinRoom_Code
- func (*SCInviteToJoinRoom) ProtoMessage()
- func (x *SCInviteToJoinRoom) ProtoReflect() protoreflect.Message
- func (x *SCInviteToJoinRoom) Reset()
- func (x *SCInviteToJoinRoom) String() string
- func (m *SCInviteToJoinRoom) Validate() error
- func (m *SCInviteToJoinRoom) ValidateAll() error
- type SCInviteToJoinRoomMultiError
- type SCInviteToJoinRoomValidationError
- func (e SCInviteToJoinRoomValidationError) Cause() error
- func (e SCInviteToJoinRoomValidationError) Error() string
- func (e SCInviteToJoinRoomValidationError) ErrorName() string
- func (e SCInviteToJoinRoomValidationError) Field() string
- func (e SCInviteToJoinRoomValidationError) Key() bool
- func (e SCInviteToJoinRoomValidationError) Reason() string
- type SCInviteToJoinRoom_Code
- func (SCInviteToJoinRoom_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCInviteToJoinRoom_Code) Enum() *SCInviteToJoinRoom_Code
- func (SCInviteToJoinRoom_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCInviteToJoinRoom_Code) Number() protoreflect.EnumNumber
- func (x SCInviteToJoinRoom_Code) String() string
- func (SCInviteToJoinRoom_Code) Type() protoreflect.EnumType
- type SCKickUserFromRoom
- func (*SCKickUserFromRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCKickUserFromRoom) GetCode() SCKickUserFromRoom_Code
- func (*SCKickUserFromRoom) ProtoMessage()
- func (x *SCKickUserFromRoom) ProtoReflect() protoreflect.Message
- func (x *SCKickUserFromRoom) Reset()
- func (x *SCKickUserFromRoom) String() string
- func (m *SCKickUserFromRoom) Validate() error
- func (m *SCKickUserFromRoom) ValidateAll() error
- type SCKickUserFromRoomMultiError
- type SCKickUserFromRoomValidationError
- func (e SCKickUserFromRoomValidationError) Cause() error
- func (e SCKickUserFromRoomValidationError) Error() string
- func (e SCKickUserFromRoomValidationError) ErrorName() string
- func (e SCKickUserFromRoomValidationError) Field() string
- func (e SCKickUserFromRoomValidationError) Key() bool
- func (e SCKickUserFromRoomValidationError) Reason() string
- type SCKickUserFromRoom_Code
- func (SCKickUserFromRoom_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCKickUserFromRoom_Code) Enum() *SCKickUserFromRoom_Code
- func (SCKickUserFromRoom_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCKickUserFromRoom_Code) Number() protoreflect.EnumNumber
- func (x SCKickUserFromRoom_Code) String() string
- func (SCKickUserFromRoom_Code) Type() protoreflect.EnumType
- type SCLeaveRoom
- func (*SCLeaveRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCLeaveRoom) GetCode() SCLeaveRoom_Code
- func (*SCLeaveRoom) ProtoMessage()
- func (x *SCLeaveRoom) ProtoReflect() protoreflect.Message
- func (x *SCLeaveRoom) Reset()
- func (x *SCLeaveRoom) String() string
- func (m *SCLeaveRoom) Validate() error
- func (m *SCLeaveRoom) ValidateAll() error
- type SCLeaveRoomMultiError
- type SCLeaveRoomValidationError
- func (e SCLeaveRoomValidationError) Cause() error
- func (e SCLeaveRoomValidationError) Error() string
- func (e SCLeaveRoomValidationError) ErrorName() string
- func (e SCLeaveRoomValidationError) Field() string
- func (e SCLeaveRoomValidationError) Key() bool
- func (e SCLeaveRoomValidationError) Reason() string
- type SCLeaveRoom_Code
- func (SCLeaveRoom_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCLeaveRoom_Code) Enum() *SCLeaveRoom_Code
- func (SCLeaveRoom_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCLeaveRoom_Code) Number() protoreflect.EnumNumber
- func (x SCLeaveRoom_Code) String() string
- func (SCLeaveRoom_Code) Type() protoreflect.EnumType
- type SCLogin
- func (*SCLogin) Descriptor() ([]byte, []int)deprecated
- func (x *SCLogin) GetCode() SCLogin_Code
- func (x *SCLogin) GetNewborn() bool
- func (x *SCLogin) GetServerTime() int64
- func (x *SCLogin) GetUser() *UserProto
- func (*SCLogin) ProtoMessage()
- func (x *SCLogin) ProtoReflect() protoreflect.Message
- func (x *SCLogin) Reset()
- func (x *SCLogin) String() string
- func (m *SCLogin) Validate() error
- func (m *SCLogin) ValidateAll() error
- type SCLoginMultiError
- type SCLoginValidationError
- type SCLogin_Code
- func (SCLogin_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCLogin_Code) Enum() *SCLogin_Code
- func (SCLogin_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCLogin_Code) Number() protoreflect.EnumNumber
- func (x SCLogin_Code) String() string
- func (SCLogin_Code) Type() protoreflect.EnumType
- type SCPushEquipUpdated
- func (*SCPushEquipUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *SCPushEquipUpdated) GetEquips() []*EquipProto
- func (*SCPushEquipUpdated) ProtoMessage()
- func (x *SCPushEquipUpdated) ProtoReflect() protoreflect.Message
- func (x *SCPushEquipUpdated) Reset()
- func (x *SCPushEquipUpdated) String() string
- func (m *SCPushEquipUpdated) Validate() error
- func (m *SCPushEquipUpdated) ValidateAll() error
- type SCPushEquipUpdatedMultiError
- type SCPushEquipUpdatedValidationError
- func (e SCPushEquipUpdatedValidationError) Cause() error
- func (e SCPushEquipUpdatedValidationError) Error() string
- func (e SCPushEquipUpdatedValidationError) ErrorName() string
- func (e SCPushEquipUpdatedValidationError) Field() string
- func (e SCPushEquipUpdatedValidationError) Key() bool
- func (e SCPushEquipUpdatedValidationError) Reason() string
- type SCPushHeroUnlock
- func (*SCPushHeroUnlock) Descriptor() ([]byte, []int)deprecated
- func (x *SCPushHeroUnlock) GetHeroes() []*HeroProto
- func (*SCPushHeroUnlock) ProtoMessage()
- func (x *SCPushHeroUnlock) ProtoReflect() protoreflect.Message
- func (x *SCPushHeroUnlock) Reset()
- func (x *SCPushHeroUnlock) String() string
- func (m *SCPushHeroUnlock) Validate() error
- func (m *SCPushHeroUnlock) ValidateAll() error
- type SCPushHeroUnlockMultiError
- type SCPushHeroUnlockValidationError
- func (e SCPushHeroUnlockValidationError) Cause() error
- func (e SCPushHeroUnlockValidationError) Error() string
- func (e SCPushHeroUnlockValidationError) ErrorName() string
- func (e SCPushHeroUnlockValidationError) Field() string
- func (e SCPushHeroUnlockValidationError) Key() bool
- func (e SCPushHeroUnlockValidationError) Reason() string
- type SCPushItemUpdated
- func (*SCPushItemUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *SCPushItemUpdated) GetItems() map[int64]uint64
- func (x *SCPushItemUpdated) GetPacks() map[int64]uint64
- func (*SCPushItemUpdated) ProtoMessage()
- func (x *SCPushItemUpdated) ProtoReflect() protoreflect.Message
- func (x *SCPushItemUpdated) Reset()
- func (x *SCPushItemUpdated) String() string
- func (m *SCPushItemUpdated) Validate() error
- func (m *SCPushItemUpdated) ValidateAll() error
- type SCPushItemUpdatedMultiError
- type SCPushItemUpdatedValidationError
- func (e SCPushItemUpdatedValidationError) Cause() error
- func (e SCPushItemUpdatedValidationError) Error() string
- func (e SCPushItemUpdatedValidationError) ErrorName() string
- func (e SCPushItemUpdatedValidationError) Field() string
- func (e SCPushItemUpdatedValidationError) Key() bool
- func (e SCPushItemUpdatedValidationError) Reason() string
- type SCPushJoinedRoom
- func (*SCPushJoinedRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCPushJoinedRoom) GetMember() *RoomMemberProto
- func (x *SCPushJoinedRoom) GetRoomId() int64
- func (*SCPushJoinedRoom) ProtoMessage()
- func (x *SCPushJoinedRoom) ProtoReflect() protoreflect.Message
- func (x *SCPushJoinedRoom) Reset()
- func (x *SCPushJoinedRoom) String() string
- func (m *SCPushJoinedRoom) Validate() error
- func (m *SCPushJoinedRoom) ValidateAll() error
- type SCPushJoinedRoomMultiError
- type SCPushJoinedRoomValidationError
- func (e SCPushJoinedRoomValidationError) Cause() error
- func (e SCPushJoinedRoomValidationError) Error() string
- func (e SCPushJoinedRoomValidationError) ErrorName() string
- func (e SCPushJoinedRoomValidationError) Field() string
- func (e SCPushJoinedRoomValidationError) Key() bool
- func (e SCPushJoinedRoomValidationError) Reason() string
- type SCPushRemovedFromRoom
- func (*SCPushRemovedFromRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCPushRemovedFromRoom) GetMember() *RoomMemberProto
- func (x *SCPushRemovedFromRoom) GetRoomId() int64
- func (*SCPushRemovedFromRoom) ProtoMessage()
- func (x *SCPushRemovedFromRoom) ProtoReflect() protoreflect.Message
- func (x *SCPushRemovedFromRoom) Reset()
- func (x *SCPushRemovedFromRoom) String() string
- func (m *SCPushRemovedFromRoom) Validate() error
- func (m *SCPushRemovedFromRoom) ValidateAll() error
- type SCPushRemovedFromRoomMultiError
- type SCPushRemovedFromRoomValidationError
- func (e SCPushRemovedFromRoomValidationError) Cause() error
- func (e SCPushRemovedFromRoomValidationError) Error() string
- func (e SCPushRemovedFromRoomValidationError) ErrorName() string
- func (e SCPushRemovedFromRoomValidationError) Field() string
- func (e SCPushRemovedFromRoomValidationError) Key() bool
- func (e SCPushRemovedFromRoomValidationError) Reason() string
- type SCPushSyncUser
- func (*SCPushSyncUser) Descriptor() ([]byte, []int)deprecated
- func (x *SCPushSyncUser) GetUser() *UserProto
- func (*SCPushSyncUser) ProtoMessage()
- func (x *SCPushSyncUser) ProtoReflect() protoreflect.Message
- func (x *SCPushSyncUser) Reset()
- func (x *SCPushSyncUser) String() string
- func (m *SCPushSyncUser) Validate() error
- func (m *SCPushSyncUser) ValidateAll() error
- type SCPushSyncUserMultiError
- type SCPushSyncUserValidationError
- func (e SCPushSyncUserValidationError) Cause() error
- func (e SCPushSyncUserValidationError) Error() string
- func (e SCPushSyncUserValidationError) ErrorName() string
- func (e SCPushSyncUserValidationError) Field() string
- func (e SCPushSyncUserValidationError) Key() bool
- func (e SCPushSyncUserValidationError) Reason() string
- type SCRequestToJoinRoom
- func (*SCRequestToJoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *SCRequestToJoinRoom) GetCode() SCRequestToJoinRoom_Code
- func (*SCRequestToJoinRoom) ProtoMessage()
- func (x *SCRequestToJoinRoom) ProtoReflect() protoreflect.Message
- func (x *SCRequestToJoinRoom) Reset()
- func (x *SCRequestToJoinRoom) String() string
- func (m *SCRequestToJoinRoom) Validate() error
- func (m *SCRequestToJoinRoom) ValidateAll() error
- type SCRequestToJoinRoomMultiError
- type SCRequestToJoinRoomValidationError
- func (e SCRequestToJoinRoomValidationError) Cause() error
- func (e SCRequestToJoinRoomValidationError) Error() string
- func (e SCRequestToJoinRoomValidationError) ErrorName() string
- func (e SCRequestToJoinRoomValidationError) Field() string
- func (e SCRequestToJoinRoomValidationError) Key() bool
- func (e SCRequestToJoinRoomValidationError) Reason() string
- type SCRequestToJoinRoom_Code
- func (SCRequestToJoinRoom_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCRequestToJoinRoom_Code) Enum() *SCRequestToJoinRoom_Code
- func (SCRequestToJoinRoom_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCRequestToJoinRoom_Code) Number() protoreflect.EnumNumber
- func (x SCRequestToJoinRoom_Code) String() string
- func (SCRequestToJoinRoom_Code) Type() protoreflect.EnumType
- type SCRoomDetail
- func (*SCRoomDetail) Descriptor() ([]byte, []int)deprecated
- func (x *SCRoomDetail) GetCode() SCRoomDetail_Code
- func (x *SCRoomDetail) GetRoom() *RoomProto
- func (*SCRoomDetail) ProtoMessage()
- func (x *SCRoomDetail) ProtoReflect() protoreflect.Message
- func (x *SCRoomDetail) Reset()
- func (x *SCRoomDetail) String() string
- func (m *SCRoomDetail) Validate() error
- func (m *SCRoomDetail) ValidateAll() error
- type SCRoomDetailMultiError
- type SCRoomDetailValidationError
- func (e SCRoomDetailValidationError) Cause() error
- func (e SCRoomDetailValidationError) Error() string
- func (e SCRoomDetailValidationError) ErrorName() string
- func (e SCRoomDetailValidationError) Field() string
- func (e SCRoomDetailValidationError) Key() bool
- func (e SCRoomDetailValidationError) Reason() string
- type SCRoomDetail_Code
- func (SCRoomDetail_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCRoomDetail_Code) Enum() *SCRoomDetail_Code
- func (SCRoomDetail_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCRoomDetail_Code) Number() protoreflect.EnumNumber
- func (x SCRoomDetail_Code) String() string
- func (SCRoomDetail_Code) Type() protoreflect.EnumType
- type SCRoomList
- func (*SCRoomList) Descriptor() ([]byte, []int)deprecated
- func (x *SCRoomList) GetCode() SCRoomList_Code
- func (x *SCRoomList) GetRooms() []*RoomBasicProto
- func (*SCRoomList) ProtoMessage()
- func (x *SCRoomList) ProtoReflect() protoreflect.Message
- func (x *SCRoomList) Reset()
- func (x *SCRoomList) String() string
- func (m *SCRoomList) Validate() error
- func (m *SCRoomList) ValidateAll() error
- type SCRoomListMultiError
- type SCRoomListValidationError
- type SCRoomList_Code
- func (SCRoomList_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCRoomList_Code) Enum() *SCRoomList_Code
- func (SCRoomList_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCRoomList_Code) Number() protoreflect.EnumNumber
- func (x SCRoomList_Code) String() string
- func (SCRoomList_Code) Type() protoreflect.EnumType
- type SCServerLogout
- func (*SCServerLogout) Descriptor() ([]byte, []int)deprecated
- func (x *SCServerLogout) GetCode() SCServerLogout_Code
- func (*SCServerLogout) ProtoMessage()
- func (x *SCServerLogout) ProtoReflect() protoreflect.Message
- func (x *SCServerLogout) Reset()
- func (x *SCServerLogout) String() string
- func (m *SCServerLogout) Validate() error
- func (m *SCServerLogout) ValidateAll() error
- type SCServerLogoutMultiError
- type SCServerLogoutValidationError
- func (e SCServerLogoutValidationError) Cause() error
- func (e SCServerLogoutValidationError) Error() string
- func (e SCServerLogoutValidationError) ErrorName() string
- func (e SCServerLogoutValidationError) Field() string
- func (e SCServerLogoutValidationError) Key() bool
- func (e SCServerLogoutValidationError) Reason() string
- type SCServerLogout_Code
- func (SCServerLogout_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCServerLogout_Code) Enum() *SCServerLogout_Code
- func (SCServerLogout_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCServerLogout_Code) Number() protoreflect.EnumNumber
- func (x SCServerLogout_Code) String() string
- func (SCServerLogout_Code) Type() protoreflect.EnumType
- type SCServerUnexpectedErr
- func (*SCServerUnexpectedErr) Descriptor() ([]byte, []int)deprecated
- func (x *SCServerUnexpectedErr) GetMod() int32
- func (x *SCServerUnexpectedErr) GetMsg() string
- func (x *SCServerUnexpectedErr) GetSeq() int32
- func (*SCServerUnexpectedErr) ProtoMessage()
- func (x *SCServerUnexpectedErr) ProtoReflect() protoreflect.Message
- func (x *SCServerUnexpectedErr) Reset()
- func (x *SCServerUnexpectedErr) String() string
- func (m *SCServerUnexpectedErr) Validate() error
- func (m *SCServerUnexpectedErr) ValidateAll() error
- type SCServerUnexpectedErrMultiError
- type SCServerUnexpectedErrValidationError
- func (e SCServerUnexpectedErrValidationError) Cause() error
- func (e SCServerUnexpectedErrValidationError) Error() string
- func (e SCServerUnexpectedErrValidationError) ErrorName() string
- func (e SCServerUnexpectedErrValidationError) Field() string
- func (e SCServerUnexpectedErrValidationError) Key() bool
- func (e SCServerUnexpectedErrValidationError) Reason() string
- type SCSetGender
- func (*SCSetGender) Descriptor() ([]byte, []int)deprecated
- func (x *SCSetGender) GetCode() SCSetGender_Code
- func (*SCSetGender) ProtoMessage()
- func (x *SCSetGender) ProtoReflect() protoreflect.Message
- func (x *SCSetGender) Reset()
- func (x *SCSetGender) String() string
- func (m *SCSetGender) Validate() error
- func (m *SCSetGender) ValidateAll() error
- type SCSetGenderMultiError
- type SCSetGenderValidationError
- func (e SCSetGenderValidationError) Cause() error
- func (e SCSetGenderValidationError) Error() string
- func (e SCSetGenderValidationError) ErrorName() string
- func (e SCSetGenderValidationError) Field() string
- func (e SCSetGenderValidationError) Key() bool
- func (e SCSetGenderValidationError) Reason() string
- type SCSetGender_Code
- func (SCSetGender_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCSetGender_Code) Enum() *SCSetGender_Code
- func (SCSetGender_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCSetGender_Code) Number() protoreflect.EnumNumber
- func (x SCSetGender_Code) String() string
- func (SCSetGender_Code) Type() protoreflect.EnumType
- type SCUpdateName
- func (*SCUpdateName) Descriptor() ([]byte, []int)deprecated
- func (x *SCUpdateName) GetCode() SCUpdateName_Code
- func (x *SCUpdateName) GetIsIllegal() bool
- func (*SCUpdateName) ProtoMessage()
- func (x *SCUpdateName) ProtoReflect() protoreflect.Message
- func (x *SCUpdateName) Reset()
- func (x *SCUpdateName) String() string
- func (m *SCUpdateName) Validate() error
- func (m *SCUpdateName) ValidateAll() error
- type SCUpdateNameMultiError
- type SCUpdateNameValidationError
- func (e SCUpdateNameValidationError) Cause() error
- func (e SCUpdateNameValidationError) Error() string
- func (e SCUpdateNameValidationError) ErrorName() string
- func (e SCUpdateNameValidationError) Field() string
- func (e SCUpdateNameValidationError) Key() bool
- func (e SCUpdateNameValidationError) Reason() string
- type SCUpdateName_Code
- func (SCUpdateName_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCUpdateName_Code) Enum() *SCUpdateName_Code
- func (SCUpdateName_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCUpdateName_Code) Number() protoreflect.EnumNumber
- func (x SCUpdateName_Code) String() string
- func (SCUpdateName_Code) Type() protoreflect.EnumType
- type SCUsePack
- func (*SCUsePack) Descriptor() ([]byte, []int)deprecated
- func (x *SCUsePack) GetCode() SCUsePack_Code
- func (x *SCUsePack) GetId() int64
- func (x *SCUsePack) GetPrizes() map[int64]int64
- func (*SCUsePack) ProtoMessage()
- func (x *SCUsePack) ProtoReflect() protoreflect.Message
- func (x *SCUsePack) Reset()
- func (x *SCUsePack) String() string
- func (m *SCUsePack) Validate() error
- func (m *SCUsePack) ValidateAll() error
- type SCUsePackMultiError
- type SCUsePackValidationError
- type SCUsePack_Code
- func (SCUsePack_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SCUsePack_Code) Enum() *SCUsePack_Code
- func (SCUsePack_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SCUsePack_Code) Number() protoreflect.EnumNumber
- func (x SCUsePack_Code) String() string
- func (SCUsePack_Code) Type() protoreflect.EnumType
- type StorageServiceClient
- type StorageServiceHTTPClient
- type StorageServiceHTTPClientImpl
- type StorageServiceHTTPServer
- type StorageServiceServer
- type SystemServiceClient
- type SystemServiceHTTPClient
- type SystemServiceHTTPClientImpl
- type SystemServiceHTTPServer
- type SystemServiceServer
- type UnimplementedDevServiceServer
- type UnimplementedEquipServiceServer
- func (UnimplementedEquipServiceServer) EquipTakeOff(context.Context, *CSEquipTakeOff) (*SCEquipTakeOff, error)
- func (UnimplementedEquipServiceServer) EquipUpgrade(context.Context, *CSEquipUpgrade) (*SCEquipUpgrade, error)
- func (UnimplementedEquipServiceServer) EquipWear(context.Context, *CSEquipWear) (*SCEquipWear, error)
- type UnimplementedHeroServiceServer
- type UnimplementedRoomServiceServer
- func (UnimplementedRoomServiceServer) AgreeToInviteJoinRoom(context.Context, *CSAgreeToInviteJoinRoom) (*SCAgreeToInviteJoinRoom, error)
- func (UnimplementedRoomServiceServer) ApproveRequestToJoinRoom(context.Context, *CSApproveRequestToJoinRoom) (*SCApproveRequestToJoinRoom, error)
- func (UnimplementedRoomServiceServer) CloseRoom(context.Context, *CSCloseRoom) (*SCCloseRoom, error)
- func (UnimplementedRoomServiceServer) CreateRoom(context.Context, *CSCreateRoom) (*SCCreateRoom, error)
- func (UnimplementedRoomServiceServer) InviteToJoinRoom(context.Context, *CSInviteToJoinRoom) (*SCInviteToJoinRoom, error)
- func (UnimplementedRoomServiceServer) KickUserFromRoom(context.Context, *CSKickUserFromRoom) (*SCKickUserFromRoom, error)
- func (UnimplementedRoomServiceServer) LeaveRoom(context.Context, *CSLeaveRoom) (*SCLeaveRoom, error)
- func (UnimplementedRoomServiceServer) RequestToJoinRoom(context.Context, *CSRequestToJoinRoom) (*SCRequestToJoinRoom, error)
- func (UnimplementedRoomServiceServer) RoomDetail(context.Context, *CSRoomDetail) (*SCRoomDetail, error)
- func (UnimplementedRoomServiceServer) RoomList(context.Context, *CSRoomList) (*SCRoomList, error)
- type UnimplementedStorageServiceServer
- type UnimplementedSystemServiceServer
- type UnimplementedUserServiceServer
- type UnsafeDevServiceServer
- type UnsafeEquipServiceServer
- type UnsafeHeroServiceServer
- type UnsafeRoomServiceServer
- type UnsafeStorageServiceServer
- type UnsafeSystemServiceServer
- type UnsafeUserServiceServer
- type UserBasicProto
- func (*UserBasicProto) Descriptor() ([]byte, []int)deprecated
- func (x *UserBasicProto) GetGender() int32
- func (x *UserBasicProto) GetId() string
- func (x *UserBasicProto) GetName() string
- func (x *UserBasicProto) GetRechargeAmounts() float32
- func (*UserBasicProto) ProtoMessage()
- func (x *UserBasicProto) ProtoReflect() protoreflect.Message
- func (x *UserBasicProto) Reset()
- func (x *UserBasicProto) String() string
- func (m *UserBasicProto) Validate() error
- func (m *UserBasicProto) ValidateAll() error
- type UserBasicProtoMultiError
- type UserBasicProtoValidationError
- func (e UserBasicProtoValidationError) Cause() error
- func (e UserBasicProtoValidationError) Error() string
- func (e UserBasicProtoValidationError) ErrorName() string
- func (e UserBasicProtoValidationError) Field() string
- func (e UserBasicProtoValidationError) Key() bool
- func (e UserBasicProtoValidationError) Reason() string
- type UserEquipListProto
- func (*UserEquipListProto) Descriptor() ([]byte, []int)deprecated
- func (x *UserEquipListProto) GetEquips() map[int64]*EquipProto
- func (*UserEquipListProto) ProtoMessage()
- func (x *UserEquipListProto) ProtoReflect() protoreflect.Message
- func (x *UserEquipListProto) Reset()
- func (x *UserEquipListProto) String() string
- func (m *UserEquipListProto) Validate() error
- func (m *UserEquipListProto) ValidateAll() error
- type UserEquipListProtoMultiError
- type UserEquipListProtoValidationError
- func (e UserEquipListProtoValidationError) Cause() error
- func (e UserEquipListProtoValidationError) Error() string
- func (e UserEquipListProtoValidationError) ErrorName() string
- func (e UserEquipListProtoValidationError) Field() string
- func (e UserEquipListProtoValidationError) Key() bool
- func (e UserEquipListProtoValidationError) Reason() string
- type UserHeroListProto
- func (*UserHeroListProto) Descriptor() ([]byte, []int)deprecated
- func (x *UserHeroListProto) GetHeroes() map[int64]*HeroProto
- func (*UserHeroListProto) ProtoMessage()
- func (x *UserHeroListProto) ProtoReflect() protoreflect.Message
- func (x *UserHeroListProto) Reset()
- func (x *UserHeroListProto) String() string
- func (m *UserHeroListProto) Validate() error
- func (m *UserHeroListProto) ValidateAll() error
- type UserHeroListProtoMultiError
- type UserHeroListProtoValidationError
- func (e UserHeroListProtoValidationError) Cause() error
- func (e UserHeroListProtoValidationError) Error() string
- func (e UserHeroListProtoValidationError) ErrorName() string
- func (e UserHeroListProtoValidationError) Field() string
- func (e UserHeroListProtoValidationError) Key() bool
- func (e UserHeroListProtoValidationError) Reason() string
- type UserProto
- func (*UserProto) Descriptor() ([]byte, []int)deprecated
- func (x *UserProto) GetBasic() *UserBasicProto
- func (x *UserProto) GetHeroList() *UserHeroListProto
- func (x *UserProto) GetRoom() *UserRoomProto
- func (x *UserProto) GetStorage() *UserStorageProto
- func (*UserProto) ProtoMessage()
- func (x *UserProto) ProtoReflect() protoreflect.Message
- func (x *UserProto) Reset()
- func (x *UserProto) String() string
- func (m *UserProto) Validate() error
- func (m *UserProto) ValidateAll() error
- type UserProtoMultiError
- type UserProtoValidationError
- type UserRoomProto
- func (*UserRoomProto) Descriptor() ([]byte, []int)deprecated
- func (x *UserRoomProto) GetRoomId() int64
- func (*UserRoomProto) ProtoMessage()
- func (x *UserRoomProto) ProtoReflect() protoreflect.Message
- func (x *UserRoomProto) Reset()
- func (x *UserRoomProto) String() string
- func (m *UserRoomProto) Validate() error
- func (m *UserRoomProto) ValidateAll() error
- type UserRoomProtoMultiError
- type UserRoomProtoValidationError
- func (e UserRoomProtoValidationError) Cause() error
- func (e UserRoomProtoValidationError) Error() string
- func (e UserRoomProtoValidationError) ErrorName() string
- func (e UserRoomProtoValidationError) Field() string
- func (e UserRoomProtoValidationError) Key() bool
- func (e UserRoomProtoValidationError) Reason() string
- type UserServiceClient
- type UserServiceHTTPClient
- type UserServiceHTTPClientImpl
- func (c *UserServiceHTTPClientImpl) Login(ctx context.Context, in *CSLogin, opts ...http.CallOption) (*SCLogin, error)
- func (c *UserServiceHTTPClientImpl) SetGender(ctx context.Context, in *CSSetGender, opts ...http.CallOption) (*SCSetGender, error)
- func (c *UserServiceHTTPClientImpl) UpdateName(ctx context.Context, in *CSUpdateName, opts ...http.CallOption) (*SCUpdateName, error)
- type UserServiceHTTPServer
- type UserServiceServer
- type UserStorageProto
- func (*UserStorageProto) Descriptor() ([]byte, []int)deprecated
- func (x *UserStorageProto) GetItems() map[int64]uint64
- func (x *UserStorageProto) GetPacks() map[int64]uint64
- func (x *UserStorageProto) GetRecoveryInfos() map[int64]*ItemRecoveryInfoProto
- func (*UserStorageProto) ProtoMessage()
- func (x *UserStorageProto) ProtoReflect() protoreflect.Message
- func (x *UserStorageProto) Reset()
- func (x *UserStorageProto) String() string
- func (m *UserStorageProto) Validate() error
- func (m *UserStorageProto) ValidateAll() error
- type UserStorageProtoMultiError
- type UserStorageProtoValidationError
- func (e UserStorageProtoValidationError) Cause() error
- func (e UserStorageProtoValidationError) Error() string
- func (e UserStorageProtoValidationError) ErrorName() string
- func (e UserStorageProtoValidationError) Field() string
- func (e UserStorageProtoValidationError) Key() bool
- func (e UserStorageProtoValidationError) Reason() string
Constants ¶
const ( DevService_DevList_FullMethodName = "/message.DevService/DevList" DevService_DevExecute_FullMethodName = "/message.DevService/DevExecute" )
const ( EquipService_EquipWear_FullMethodName = "/message.EquipService/EquipWear" EquipService_EquipTakeOff_FullMethodName = "/message.EquipService/EquipTakeOff" EquipService_EquipUpgrade_FullMethodName = "/message.EquipService/EquipUpgrade" )
const ( RoomService_RoomList_FullMethodName = "/message.RoomService/RoomList" RoomService_RoomDetail_FullMethodName = "/message.RoomService/RoomDetail" RoomService_CreateRoom_FullMethodName = "/message.RoomService/CreateRoom" RoomService_InviteToJoinRoom_FullMethodName = "/message.RoomService/InviteToJoinRoom" RoomService_AgreeToInviteJoinRoom_FullMethodName = "/message.RoomService/AgreeToInviteJoinRoom" RoomService_RequestToJoinRoom_FullMethodName = "/message.RoomService/RequestToJoinRoom" RoomService_ApproveRequestToJoinRoom_FullMethodName = "/message.RoomService/ApproveRequestToJoinRoom" RoomService_KickUserFromRoom_FullMethodName = "/message.RoomService/KickUserFromRoom" RoomService_LeaveRoom_FullMethodName = "/message.RoomService/LeaveRoom" RoomService_CloseRoom_FullMethodName = "/message.RoomService/CloseRoom" )
const ( UserService_Login_FullMethodName = "/message.UserService/Login" UserService_UpdateName_FullMethodName = "/message.UserService/UpdateName" UserService_SetGender_FullMethodName = "/message.UserService/SetGender" )
const (
HeroService_HeroLevelUpgrade_FullMethodName = "/message.HeroService/HeroLevelUpgrade"
)
const OperationDevServiceDevExecute = "/message.DevService/DevExecute"
const OperationDevServiceDevList = "/message.DevService/DevList"
const OperationEquipServiceEquipTakeOff = "/message.EquipService/EquipTakeOff"
const OperationEquipServiceEquipUpgrade = "/message.EquipService/EquipUpgrade"
const OperationEquipServiceEquipWear = "/message.EquipService/EquipWear"
const OperationHeroServiceHeroLevelUpgrade = "/message.HeroService/HeroLevelUpgrade"
const OperationRoomServiceAgreeToInviteJoinRoom = "/message.RoomService/AgreeToInviteJoinRoom"
const OperationRoomServiceApproveRequestToJoinRoom = "/message.RoomService/ApproveRequestToJoinRoom"
const OperationRoomServiceCloseRoom = "/message.RoomService/CloseRoom"
const OperationRoomServiceCreateRoom = "/message.RoomService/CreateRoom"
const OperationRoomServiceInviteToJoinRoom = "/message.RoomService/InviteToJoinRoom"
const OperationRoomServiceKickUserFromRoom = "/message.RoomService/KickUserFromRoom"
const OperationRoomServiceLeaveRoom = "/message.RoomService/LeaveRoom"
const OperationRoomServiceRequestToJoinRoom = "/message.RoomService/RequestToJoinRoom"
const OperationRoomServiceRoomDetail = "/message.RoomService/RoomDetail"
const OperationRoomServiceRoomList = "/message.RoomService/RoomList"
const OperationStorageServiceUsePack = "/message.StorageService/UsePack"
const OperationSystemServiceHeartbeat = "/message.SystemService/Heartbeat"
const OperationUserServiceLogin = "/message.UserService/Login"
const OperationUserServiceSetGender = "/message.UserService/SetGender"
const OperationUserServiceUpdateName = "/message.UserService/UpdateName"
const (
StorageService_UsePack_FullMethodName = "/message.StorageService/UsePack"
)
const (
SystemService_Heartbeat_FullMethodName = "/message.SystemService/Heartbeat"
)
Variables ¶
var ( SCDevList_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", } SCDevList_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, } )
Enum value maps for SCDevList_Code.
var ( SCDevExecute_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrModNotExist", 3: "ErrNameNotExist", 4: "ErrArgNotExist", 5: "ErrArgIllegal", 6: "ErrArgFormat", } SCDevExecute_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrModNotExist": 2, "ErrNameNotExist": 3, "ErrArgNotExist": 4, "ErrArgIllegal": 5, "ErrArgFormat": 6, } )
Enum value maps for SCDevExecute_Code.
var ( SCEquipWear_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrEquipNotExist", 3: "ErrHeroNotExist", 4: "ErrAlreadyWorn", } SCEquipWear_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrEquipNotExist": 2, "ErrHeroNotExist": 3, "ErrAlreadyWorn": 4, } )
Enum value maps for SCEquipWear_Code.
var ( SCEquipTakeOff_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrEquipNotExist", 3: "ErrNotWearing", } SCEquipTakeOff_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrEquipNotExist": 2, "ErrNotWearing": 3, } )
Enum value maps for SCEquipTakeOff_Code.
var ( SCEquipUpgrade_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrEquipNotExist", 3: "ErrMaxLevel", 4: "ErrCostNotEnough", } SCEquipUpgrade_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrEquipNotExist": 2, "ErrMaxLevel": 3, "ErrCostNotEnough": 4, } )
Enum value maps for SCEquipUpgrade_Code.
var ( SCHeroLevelUpgrade_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrHeroNotExist", 3: "ErrMaxLevel", 4: "ErrCostNotEnough", } SCHeroLevelUpgrade_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrHeroNotExist": 2, "ErrMaxLevel": 3, "ErrCostNotEnough": 4, } )
Enum value maps for SCHeroLevelUpgrade_Code.
var ( SCRoomList_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", } SCRoomList_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, } )
Enum value maps for SCRoomList_Code.
var ( SCRoomDetail_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrRoomNotFound", } SCRoomDetail_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrRoomNotFound": 2, } )
Enum value maps for SCRoomDetail_Code.
var ( SCCreateRoom_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrRoomTypeInvalid", 3: "ErrAlreadyInRoom", } SCCreateRoom_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrRoomTypeInvalid": 2, "ErrAlreadyInRoom": 3, } )
Enum value maps for SCCreateRoom_Code.
var ( SCInviteToJoinRoom_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrNotInRoom", 3: "ErrUnauthorized", 4: "ErrUserNotFound", 5: "ErrUserAlreadyInRoom", 6: "ErrUserAlreadyInvited", } SCInviteToJoinRoom_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrNotInRoom": 2, "ErrUnauthorized": 3, "ErrUserNotFound": 4, "ErrUserAlreadyInRoom": 5, "ErrUserAlreadyInvited": 6, } )
Enum value maps for SCInviteToJoinRoom_Code.
var ( SCAgreeToInviteJoinRoom_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrNotInRoom", 3: "ErrUnauthorized", 4: "ErrUserNotFound", 5: "ErrUserAlreadyInRoom", 6: "ErrUserNotInvited", } SCAgreeToInviteJoinRoom_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrNotInRoom": 2, "ErrUnauthorized": 3, "ErrUserNotFound": 4, "ErrUserAlreadyInRoom": 5, "ErrUserNotInvited": 6, } )
Enum value maps for SCAgreeToInviteJoinRoom_Code.
var ( SCRequestToJoinRoom_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrAlreadyInRoom", 3: "ErrRoomNotFound", 4: "ErrAlreadyRequested", } SCRequestToJoinRoom_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrAlreadyInRoom": 2, "ErrRoomNotFound": 3, "ErrAlreadyRequested": 4, } )
Enum value maps for SCRequestToJoinRoom_Code.
var ( SCApproveRequestToJoinRoom_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrNotInRoom", 3: "ErrUnauthorized", 4: "ErrUserNotFound", 5: "ErrUserAlreadyInRoom", 6: "ErrUserNotRequested", } SCApproveRequestToJoinRoom_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrNotInRoom": 2, "ErrUnauthorized": 3, "ErrUserNotFound": 4, "ErrUserAlreadyInRoom": 5, "ErrUserNotRequested": 6, } )
Enum value maps for SCApproveRequestToJoinRoom_Code.
var ( SCKickUserFromRoom_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrNotInRoom", 3: "ErrUnauthorized", 4: "ErrUserNotFound", 5: "ErrUserNotInRoom", } SCKickUserFromRoom_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrNotInRoom": 2, "ErrUnauthorized": 3, "ErrUserNotFound": 4, "ErrUserNotInRoom": 5, } )
Enum value maps for SCKickUserFromRoom_Code.
var ( SCLeaveRoom_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrNotInRoom", 3: "ErrIsCreator", } SCLeaveRoom_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrNotInRoom": 2, "ErrIsCreator": 3, } )
Enum value maps for SCLeaveRoom_Code.
var ( SCCloseRoom_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrNotInRoom", 3: "ErrUnauthorized", } SCCloseRoom_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrNotInRoom": 2, "ErrUnauthorized": 3, } )
Enum value maps for SCCloseRoom_Code.
var ( SCUsePack_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrPackNotExist", 3: "ErrPackLimit", } SCUsePack_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrPackNotExist": 2, "ErrPackLimit": 3, } )
Enum value maps for SCUsePack_Code.
var ( SCHeartbeat_Code_name = map[int32]string{ 0: "ErrServer", 1: "Succeeded", 2: "ErrTime", } SCHeartbeat_Code_value = map[string]int32{ "ErrServer": 0, "Succeeded": 1, "ErrTime": 2, } )
Enum value maps for SCHeartbeat_Code.
var ( SCServerLogout_Code_name = map[int32]string{ 0: "Server", 1: "Waiting", 2: "Unauthorized", 3: "ConflictingLogin", 4: "AdminKickOut", 5: "Banned", } SCServerLogout_Code_value = map[string]int32{ "Server": 0, "Waiting": 1, "Unauthorized": 2, "ConflictingLogin": 3, "AdminKickOut": 4, "Banned": 5, } )
Enum value maps for SCServerLogout_Code.
var ( SCLogin_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrAccountIdNotExist", 3: "ErrAccountBanned", } SCLogin_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrAccountIdNotExist": 2, "ErrAccountBanned": 3, } )
Enum value maps for SCLogin_Code.
var ( SCUpdateName_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrNameIllegal", 3: "ErrNameNotChanged", } SCUpdateName_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrNameIllegal": 2, "ErrNameNotChanged": 3, } )
Enum value maps for SCUpdateName_Code.
var ( SCSetGender_Code_name = map[int32]string{ 0: "ErrUnspecified", 1: "Succeeded", 2: "ErrGenderIllegal", 3: "ErrGenderSet", } SCSetGender_Code_value = map[string]int32{ "ErrUnspecified": 0, "Succeeded": 1, "ErrGenderIllegal": 2, "ErrGenderSet": 3, } )
Enum value maps for SCSetGender_Code.
var DevService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "message.DevService", HandlerType: (*DevServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DevList", Handler: _DevService_DevList_Handler, }, { MethodName: "DevExecute", Handler: _DevService_DevExecute_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message/dev_service.proto", }
DevService_ServiceDesc is the grpc.ServiceDesc for DevService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EquipService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "message.EquipService", HandlerType: (*EquipServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EquipWear", Handler: _EquipService_EquipWear_Handler, }, { MethodName: "EquipTakeOff", Handler: _EquipService_EquipTakeOff_Handler, }, { MethodName: "EquipUpgrade", Handler: _EquipService_EquipUpgrade_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message/equip_service.proto", }
EquipService_ServiceDesc is the grpc.ServiceDesc for EquipService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_message_dev_proto protoreflect.FileDescriptor
var File_message_dev_service_proto protoreflect.FileDescriptor
var File_message_equip_proto protoreflect.FileDescriptor
var File_message_equip_service_proto protoreflect.FileDescriptor
var File_message_hero_proto protoreflect.FileDescriptor
var File_message_hero_service_proto protoreflect.FileDescriptor
var File_message_room_proto protoreflect.FileDescriptor
var File_message_room_service_proto protoreflect.FileDescriptor
var File_message_storage_proto protoreflect.FileDescriptor
var File_message_storage_service_proto protoreflect.FileDescriptor
var File_message_system_service_proto protoreflect.FileDescriptor
var File_message_user_basic_proto protoreflect.FileDescriptor
var File_message_user_proto protoreflect.FileDescriptor
var File_message_user_service_proto protoreflect.FileDescriptor
var HeroService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "message.HeroService", HandlerType: (*HeroServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HeroLevelUpgrade", Handler: _HeroService_HeroLevelUpgrade_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message/hero_service.proto", }
HeroService_ServiceDesc is the grpc.ServiceDesc for HeroService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RoomService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "message.RoomService", HandlerType: (*RoomServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RoomList", Handler: _RoomService_RoomList_Handler, }, { MethodName: "RoomDetail", Handler: _RoomService_RoomDetail_Handler, }, { MethodName: "CreateRoom", Handler: _RoomService_CreateRoom_Handler, }, { MethodName: "InviteToJoinRoom", Handler: _RoomService_InviteToJoinRoom_Handler, }, { MethodName: "AgreeToInviteJoinRoom", Handler: _RoomService_AgreeToInviteJoinRoom_Handler, }, { MethodName: "RequestToJoinRoom", Handler: _RoomService_RequestToJoinRoom_Handler, }, { MethodName: "ApproveRequestToJoinRoom", Handler: _RoomService_ApproveRequestToJoinRoom_Handler, }, { MethodName: "KickUserFromRoom", Handler: _RoomService_KickUserFromRoom_Handler, }, { MethodName: "LeaveRoom", Handler: _RoomService_LeaveRoom_Handler, }, { MethodName: "CloseRoom", Handler: _RoomService_CloseRoom_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message/room_service.proto", }
RoomService_ServiceDesc is the grpc.ServiceDesc for RoomService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var StorageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "message.StorageService", HandlerType: (*StorageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UsePack", Handler: _StorageService_UsePack_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message/storage_service.proto", }
StorageService_ServiceDesc is the grpc.ServiceDesc for StorageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SystemService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "message.SystemService", HandlerType: (*SystemServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Heartbeat", Handler: _SystemService_Heartbeat_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message/system_service.proto", }
SystemService_ServiceDesc is the grpc.ServiceDesc for SystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "message.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _UserService_Login_Handler, }, { MethodName: "UpdateName", Handler: _UserService_UpdateName_Handler, }, { MethodName: "SetGender", Handler: _UserService_SetGender_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message/user_service.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDevServiceHTTPServer ¶
func RegisterDevServiceHTTPServer(s *http.Server, srv DevServiceHTTPServer)
func RegisterDevServiceServer ¶
func RegisterDevServiceServer(s grpc.ServiceRegistrar, srv DevServiceServer)
func RegisterEquipServiceHTTPServer ¶
func RegisterEquipServiceHTTPServer(s *http.Server, srv EquipServiceHTTPServer)
func RegisterEquipServiceServer ¶
func RegisterEquipServiceServer(s grpc.ServiceRegistrar, srv EquipServiceServer)
func RegisterHeroServiceHTTPServer ¶
func RegisterHeroServiceHTTPServer(s *http.Server, srv HeroServiceHTTPServer)
func RegisterHeroServiceServer ¶
func RegisterHeroServiceServer(s grpc.ServiceRegistrar, srv HeroServiceServer)
func RegisterRoomServiceHTTPServer ¶
func RegisterRoomServiceHTTPServer(s *http.Server, srv RoomServiceHTTPServer)
func RegisterRoomServiceServer ¶
func RegisterRoomServiceServer(s grpc.ServiceRegistrar, srv RoomServiceServer)
func RegisterStorageServiceHTTPServer ¶
func RegisterStorageServiceHTTPServer(s *http.Server, srv StorageServiceHTTPServer)
func RegisterStorageServiceServer ¶
func RegisterStorageServiceServer(s grpc.ServiceRegistrar, srv StorageServiceServer)
func RegisterSystemServiceHTTPServer ¶
func RegisterSystemServiceHTTPServer(s *http.Server, srv SystemServiceHTTPServer)
func RegisterSystemServiceServer ¶
func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
func RegisterUserServiceHTTPServer ¶
func RegisterUserServiceHTTPServer(s *http.Server, srv UserServiceHTTPServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type CSAgreeToInviteJoinRoom ¶
type CSAgreeToInviteJoinRoom struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // Room ID // contains filtered or unexported fields }
Request: Agree to invite to join room
func (*CSAgreeToInviteJoinRoom) Descriptor
deprecated
func (*CSAgreeToInviteJoinRoom) Descriptor() ([]byte, []int)
Deprecated: Use CSAgreeToInviteJoinRoom.ProtoReflect.Descriptor instead.
func (*CSAgreeToInviteJoinRoom) GetRoomId ¶
func (x *CSAgreeToInviteJoinRoom) GetRoomId() int64
func (*CSAgreeToInviteJoinRoom) ProtoMessage ¶
func (*CSAgreeToInviteJoinRoom) ProtoMessage()
func (*CSAgreeToInviteJoinRoom) ProtoReflect ¶
func (x *CSAgreeToInviteJoinRoom) ProtoReflect() protoreflect.Message
func (*CSAgreeToInviteJoinRoom) Reset ¶
func (x *CSAgreeToInviteJoinRoom) Reset()
func (*CSAgreeToInviteJoinRoom) String ¶
func (x *CSAgreeToInviteJoinRoom) String() string
func (*CSAgreeToInviteJoinRoom) Validate ¶
func (m *CSAgreeToInviteJoinRoom) Validate() error
Validate checks the field values on CSAgreeToInviteJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSAgreeToInviteJoinRoom) ValidateAll ¶
func (m *CSAgreeToInviteJoinRoom) ValidateAll() error
ValidateAll checks the field values on CSAgreeToInviteJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSAgreeToInviteJoinRoomMultiError, or nil if none found.
type CSAgreeToInviteJoinRoomMultiError ¶
type CSAgreeToInviteJoinRoomMultiError []error
CSAgreeToInviteJoinRoomMultiError is an error wrapping multiple validation errors returned by CSAgreeToInviteJoinRoom.ValidateAll() if the designated constraints aren't met.
func (CSAgreeToInviteJoinRoomMultiError) AllErrors ¶
func (m CSAgreeToInviteJoinRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSAgreeToInviteJoinRoomMultiError) Error ¶
func (m CSAgreeToInviteJoinRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSAgreeToInviteJoinRoomValidationError ¶
type CSAgreeToInviteJoinRoomValidationError struct {
// contains filtered or unexported fields
}
CSAgreeToInviteJoinRoomValidationError is the validation error returned by CSAgreeToInviteJoinRoom.Validate if the designated constraints aren't met.
func (CSAgreeToInviteJoinRoomValidationError) Cause ¶
func (e CSAgreeToInviteJoinRoomValidationError) Cause() error
Cause function returns cause value.
func (CSAgreeToInviteJoinRoomValidationError) Error ¶
func (e CSAgreeToInviteJoinRoomValidationError) Error() string
Error satisfies the builtin error interface
func (CSAgreeToInviteJoinRoomValidationError) ErrorName ¶
func (e CSAgreeToInviteJoinRoomValidationError) ErrorName() string
ErrorName returns error name.
func (CSAgreeToInviteJoinRoomValidationError) Field ¶
func (e CSAgreeToInviteJoinRoomValidationError) Field() string
Field function returns field value.
func (CSAgreeToInviteJoinRoomValidationError) Key ¶
func (e CSAgreeToInviteJoinRoomValidationError) Key() bool
Key function returns key value.
func (CSAgreeToInviteJoinRoomValidationError) Reason ¶
func (e CSAgreeToInviteJoinRoomValidationError) Reason() string
Reason function returns reason value.
type CSApproveRequestToJoinRoom ¶
type CSApproveRequestToJoinRoom struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // User ID // contains filtered or unexported fields }
Request: Approve request to join room
func (*CSApproveRequestToJoinRoom) Descriptor
deprecated
func (*CSApproveRequestToJoinRoom) Descriptor() ([]byte, []int)
Deprecated: Use CSApproveRequestToJoinRoom.ProtoReflect.Descriptor instead.
func (*CSApproveRequestToJoinRoom) GetUserId ¶
func (x *CSApproveRequestToJoinRoom) GetUserId() int64
func (*CSApproveRequestToJoinRoom) ProtoMessage ¶
func (*CSApproveRequestToJoinRoom) ProtoMessage()
func (*CSApproveRequestToJoinRoom) ProtoReflect ¶
func (x *CSApproveRequestToJoinRoom) ProtoReflect() protoreflect.Message
func (*CSApproveRequestToJoinRoom) Reset ¶
func (x *CSApproveRequestToJoinRoom) Reset()
func (*CSApproveRequestToJoinRoom) String ¶
func (x *CSApproveRequestToJoinRoom) String() string
func (*CSApproveRequestToJoinRoom) Validate ¶
func (m *CSApproveRequestToJoinRoom) Validate() error
Validate checks the field values on CSApproveRequestToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSApproveRequestToJoinRoom) ValidateAll ¶
func (m *CSApproveRequestToJoinRoom) ValidateAll() error
ValidateAll checks the field values on CSApproveRequestToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSApproveRequestToJoinRoomMultiError, or nil if none found.
type CSApproveRequestToJoinRoomMultiError ¶
type CSApproveRequestToJoinRoomMultiError []error
CSApproveRequestToJoinRoomMultiError is an error wrapping multiple validation errors returned by CSApproveRequestToJoinRoom.ValidateAll() if the designated constraints aren't met.
func (CSApproveRequestToJoinRoomMultiError) AllErrors ¶
func (m CSApproveRequestToJoinRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSApproveRequestToJoinRoomMultiError) Error ¶
func (m CSApproveRequestToJoinRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSApproveRequestToJoinRoomValidationError ¶
type CSApproveRequestToJoinRoomValidationError struct {
// contains filtered or unexported fields
}
CSApproveRequestToJoinRoomValidationError is the validation error returned by CSApproveRequestToJoinRoom.Validate if the designated constraints aren't met.
func (CSApproveRequestToJoinRoomValidationError) Cause ¶
func (e CSApproveRequestToJoinRoomValidationError) Cause() error
Cause function returns cause value.
func (CSApproveRequestToJoinRoomValidationError) Error ¶
func (e CSApproveRequestToJoinRoomValidationError) Error() string
Error satisfies the builtin error interface
func (CSApproveRequestToJoinRoomValidationError) ErrorName ¶
func (e CSApproveRequestToJoinRoomValidationError) ErrorName() string
ErrorName returns error name.
func (CSApproveRequestToJoinRoomValidationError) Field ¶
func (e CSApproveRequestToJoinRoomValidationError) Field() string
Field function returns field value.
func (CSApproveRequestToJoinRoomValidationError) Key ¶
func (e CSApproveRequestToJoinRoomValidationError) Key() bool
Key function returns key value.
func (CSApproveRequestToJoinRoomValidationError) Reason ¶
func (e CSApproveRequestToJoinRoomValidationError) Reason() string
Reason function returns reason value.
type CSCloseRoom ¶
type CSCloseRoom struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // Room ID // contains filtered or unexported fields }
Request: Close room
func (*CSCloseRoom) Descriptor
deprecated
func (*CSCloseRoom) Descriptor() ([]byte, []int)
Deprecated: Use CSCloseRoom.ProtoReflect.Descriptor instead.
func (*CSCloseRoom) GetRoomId ¶
func (x *CSCloseRoom) GetRoomId() int64
func (*CSCloseRoom) ProtoMessage ¶
func (*CSCloseRoom) ProtoMessage()
func (*CSCloseRoom) ProtoReflect ¶
func (x *CSCloseRoom) ProtoReflect() protoreflect.Message
func (*CSCloseRoom) Reset ¶
func (x *CSCloseRoom) Reset()
func (*CSCloseRoom) String ¶
func (x *CSCloseRoom) String() string
func (*CSCloseRoom) Validate ¶
func (m *CSCloseRoom) Validate() error
Validate checks the field values on CSCloseRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSCloseRoom) ValidateAll ¶
func (m *CSCloseRoom) ValidateAll() error
ValidateAll checks the field values on CSCloseRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSCloseRoomMultiError, or nil if none found.
type CSCloseRoomMultiError ¶
type CSCloseRoomMultiError []error
CSCloseRoomMultiError is an error wrapping multiple validation errors returned by CSCloseRoom.ValidateAll() if the designated constraints aren't met.
func (CSCloseRoomMultiError) AllErrors ¶
func (m CSCloseRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSCloseRoomMultiError) Error ¶
func (m CSCloseRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSCloseRoomValidationError ¶
type CSCloseRoomValidationError struct {
// contains filtered or unexported fields
}
CSCloseRoomValidationError is the validation error returned by CSCloseRoom.Validate if the designated constraints aren't met.
func (CSCloseRoomValidationError) Cause ¶
func (e CSCloseRoomValidationError) Cause() error
Cause function returns cause value.
func (CSCloseRoomValidationError) Error ¶
func (e CSCloseRoomValidationError) Error() string
Error satisfies the builtin error interface
func (CSCloseRoomValidationError) ErrorName ¶
func (e CSCloseRoomValidationError) ErrorName() string
ErrorName returns error name.
func (CSCloseRoomValidationError) Field ¶
func (e CSCloseRoomValidationError) Field() string
Field function returns field value.
func (CSCloseRoomValidationError) Key ¶
func (e CSCloseRoomValidationError) Key() bool
Key function returns key value.
func (CSCloseRoomValidationError) Reason ¶
func (e CSCloseRoomValidationError) Reason() string
Reason function returns reason value.
type CSCreateRoom ¶
type CSCreateRoom struct { RoomType int64 `protobuf:"varint,1,opt,name=room_type,json=roomType,proto3" json:"room_type,omitempty"` // Room type // contains filtered or unexported fields }
Request: Create room
func (*CSCreateRoom) Descriptor
deprecated
func (*CSCreateRoom) Descriptor() ([]byte, []int)
Deprecated: Use CSCreateRoom.ProtoReflect.Descriptor instead.
func (*CSCreateRoom) GetRoomType ¶
func (x *CSCreateRoom) GetRoomType() int64
func (*CSCreateRoom) ProtoMessage ¶
func (*CSCreateRoom) ProtoMessage()
func (*CSCreateRoom) ProtoReflect ¶
func (x *CSCreateRoom) ProtoReflect() protoreflect.Message
func (*CSCreateRoom) Reset ¶
func (x *CSCreateRoom) Reset()
func (*CSCreateRoom) String ¶
func (x *CSCreateRoom) String() string
func (*CSCreateRoom) Validate ¶
func (m *CSCreateRoom) Validate() error
Validate checks the field values on CSCreateRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSCreateRoom) ValidateAll ¶
func (m *CSCreateRoom) ValidateAll() error
ValidateAll checks the field values on CSCreateRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSCreateRoomMultiError, or nil if none found.
type CSCreateRoomMultiError ¶
type CSCreateRoomMultiError []error
CSCreateRoomMultiError is an error wrapping multiple validation errors returned by CSCreateRoom.ValidateAll() if the designated constraints aren't met.
func (CSCreateRoomMultiError) AllErrors ¶
func (m CSCreateRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSCreateRoomMultiError) Error ¶
func (m CSCreateRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSCreateRoomValidationError ¶
type CSCreateRoomValidationError struct {
// contains filtered or unexported fields
}
CSCreateRoomValidationError is the validation error returned by CSCreateRoom.Validate if the designated constraints aren't met.
func (CSCreateRoomValidationError) Cause ¶
func (e CSCreateRoomValidationError) Cause() error
Cause function returns cause value.
func (CSCreateRoomValidationError) Error ¶
func (e CSCreateRoomValidationError) Error() string
Error satisfies the builtin error interface
func (CSCreateRoomValidationError) ErrorName ¶
func (e CSCreateRoomValidationError) ErrorName() string
ErrorName returns error name.
func (CSCreateRoomValidationError) Field ¶
func (e CSCreateRoomValidationError) Field() string
Field function returns field value.
func (CSCreateRoomValidationError) Key ¶
func (e CSCreateRoomValidationError) Key() bool
Key function returns key value.
func (CSCreateRoomValidationError) Reason ¶
func (e CSCreateRoomValidationError) Reason() string
Reason function returns reason value.
type CSDevExecute ¶
type CSDevExecute struct { Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"` // Command module Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"` // Command name Args map[string]string `` // Command Parameters: DevCmdArgProto.key -> value with string type /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Request: Execute Dev command
func (*CSDevExecute) Descriptor
deprecated
func (*CSDevExecute) Descriptor() ([]byte, []int)
Deprecated: Use CSDevExecute.ProtoReflect.Descriptor instead.
func (*CSDevExecute) GetArgs ¶
func (x *CSDevExecute) GetArgs() map[string]string
func (*CSDevExecute) GetCmd ¶
func (x *CSDevExecute) GetCmd() string
func (*CSDevExecute) GetMod ¶
func (x *CSDevExecute) GetMod() string
func (*CSDevExecute) ProtoMessage ¶
func (*CSDevExecute) ProtoMessage()
func (*CSDevExecute) ProtoReflect ¶
func (x *CSDevExecute) ProtoReflect() protoreflect.Message
func (*CSDevExecute) Reset ¶
func (x *CSDevExecute) Reset()
func (*CSDevExecute) String ¶
func (x *CSDevExecute) String() string
func (*CSDevExecute) Validate ¶
func (m *CSDevExecute) Validate() error
Validate checks the field values on CSDevExecute with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSDevExecute) ValidateAll ¶
func (m *CSDevExecute) ValidateAll() error
ValidateAll checks the field values on CSDevExecute with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSDevExecuteMultiError, or nil if none found.
type CSDevExecuteMultiError ¶
type CSDevExecuteMultiError []error
CSDevExecuteMultiError is an error wrapping multiple validation errors returned by CSDevExecute.ValidateAll() if the designated constraints aren't met.
func (CSDevExecuteMultiError) AllErrors ¶
func (m CSDevExecuteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSDevExecuteMultiError) Error ¶
func (m CSDevExecuteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSDevExecuteValidationError ¶
type CSDevExecuteValidationError struct {
// contains filtered or unexported fields
}
CSDevExecuteValidationError is the validation error returned by CSDevExecute.Validate if the designated constraints aren't met.
func (CSDevExecuteValidationError) Cause ¶
func (e CSDevExecuteValidationError) Cause() error
Cause function returns cause value.
func (CSDevExecuteValidationError) Error ¶
func (e CSDevExecuteValidationError) Error() string
Error satisfies the builtin error interface
func (CSDevExecuteValidationError) ErrorName ¶
func (e CSDevExecuteValidationError) ErrorName() string
ErrorName returns error name.
func (CSDevExecuteValidationError) Field ¶
func (e CSDevExecuteValidationError) Field() string
Field function returns field value.
func (CSDevExecuteValidationError) Key ¶
func (e CSDevExecuteValidationError) Key() bool
Key function returns key value.
func (CSDevExecuteValidationError) Reason ¶
func (e CSDevExecuteValidationError) Reason() string
Reason function returns reason value.
type CSDevList ¶
type CSDevList struct {
// contains filtered or unexported fields
}
Request: Dev command list
func (*CSDevList) Descriptor
deprecated
func (*CSDevList) ProtoMessage ¶
func (*CSDevList) ProtoMessage()
func (*CSDevList) ProtoReflect ¶
func (x *CSDevList) ProtoReflect() protoreflect.Message
func (*CSDevList) Validate ¶
Validate checks the field values on CSDevList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSDevList) ValidateAll ¶
ValidateAll checks the field values on CSDevList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSDevListMultiError, or nil if none found.
type CSDevListMultiError ¶
type CSDevListMultiError []error
CSDevListMultiError is an error wrapping multiple validation errors returned by CSDevList.ValidateAll() if the designated constraints aren't met.
func (CSDevListMultiError) AllErrors ¶
func (m CSDevListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSDevListMultiError) Error ¶
func (m CSDevListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSDevListValidationError ¶
type CSDevListValidationError struct {
// contains filtered or unexported fields
}
CSDevListValidationError is the validation error returned by CSDevList.Validate if the designated constraints aren't met.
func (CSDevListValidationError) Cause ¶
func (e CSDevListValidationError) Cause() error
Cause function returns cause value.
func (CSDevListValidationError) Error ¶
func (e CSDevListValidationError) Error() string
Error satisfies the builtin error interface
func (CSDevListValidationError) ErrorName ¶
func (e CSDevListValidationError) ErrorName() string
ErrorName returns error name.
func (CSDevListValidationError) Field ¶
func (e CSDevListValidationError) Field() string
Field function returns field value.
func (CSDevListValidationError) Key ¶
func (e CSDevListValidationError) Key() bool
Key function returns key value.
func (CSDevListValidationError) Reason ¶
func (e CSDevListValidationError) Reason() string
Reason function returns reason value.
type CSEquipTakeOff ¶
type CSEquipTakeOff struct { EquipId int64 `protobuf:"varint,1,opt,name=equip_id,json=equipId,proto3" json:"equip_id,omitempty"` // Equipment ID // contains filtered or unexported fields }
Request: Take off equipment
func (*CSEquipTakeOff) Descriptor
deprecated
func (*CSEquipTakeOff) Descriptor() ([]byte, []int)
Deprecated: Use CSEquipTakeOff.ProtoReflect.Descriptor instead.
func (*CSEquipTakeOff) GetEquipId ¶
func (x *CSEquipTakeOff) GetEquipId() int64
func (*CSEquipTakeOff) ProtoMessage ¶
func (*CSEquipTakeOff) ProtoMessage()
func (*CSEquipTakeOff) ProtoReflect ¶
func (x *CSEquipTakeOff) ProtoReflect() protoreflect.Message
func (*CSEquipTakeOff) Reset ¶
func (x *CSEquipTakeOff) Reset()
func (*CSEquipTakeOff) String ¶
func (x *CSEquipTakeOff) String() string
func (*CSEquipTakeOff) Validate ¶
func (m *CSEquipTakeOff) Validate() error
Validate checks the field values on CSEquipTakeOff with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSEquipTakeOff) ValidateAll ¶
func (m *CSEquipTakeOff) ValidateAll() error
ValidateAll checks the field values on CSEquipTakeOff with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSEquipTakeOffMultiError, or nil if none found.
type CSEquipTakeOffMultiError ¶
type CSEquipTakeOffMultiError []error
CSEquipTakeOffMultiError is an error wrapping multiple validation errors returned by CSEquipTakeOff.ValidateAll() if the designated constraints aren't met.
func (CSEquipTakeOffMultiError) AllErrors ¶
func (m CSEquipTakeOffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSEquipTakeOffMultiError) Error ¶
func (m CSEquipTakeOffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSEquipTakeOffValidationError ¶
type CSEquipTakeOffValidationError struct {
// contains filtered or unexported fields
}
CSEquipTakeOffValidationError is the validation error returned by CSEquipTakeOff.Validate if the designated constraints aren't met.
func (CSEquipTakeOffValidationError) Cause ¶
func (e CSEquipTakeOffValidationError) Cause() error
Cause function returns cause value.
func (CSEquipTakeOffValidationError) Error ¶
func (e CSEquipTakeOffValidationError) Error() string
Error satisfies the builtin error interface
func (CSEquipTakeOffValidationError) ErrorName ¶
func (e CSEquipTakeOffValidationError) ErrorName() string
ErrorName returns error name.
func (CSEquipTakeOffValidationError) Field ¶
func (e CSEquipTakeOffValidationError) Field() string
Field function returns field value.
func (CSEquipTakeOffValidationError) Key ¶
func (e CSEquipTakeOffValidationError) Key() bool
Key function returns key value.
func (CSEquipTakeOffValidationError) Reason ¶
func (e CSEquipTakeOffValidationError) Reason() string
Reason function returns reason value.
type CSEquipUpgrade ¶
type CSEquipUpgrade struct { EquipId int64 `protobuf:"varint,1,opt,name=equip_id,json=equipId,proto3" json:"equip_id,omitempty"` // Equipment ID // contains filtered or unexported fields }
Request: Equipment upgrade
func (*CSEquipUpgrade) Descriptor
deprecated
func (*CSEquipUpgrade) Descriptor() ([]byte, []int)
Deprecated: Use CSEquipUpgrade.ProtoReflect.Descriptor instead.
func (*CSEquipUpgrade) GetEquipId ¶
func (x *CSEquipUpgrade) GetEquipId() int64
func (*CSEquipUpgrade) ProtoMessage ¶
func (*CSEquipUpgrade) ProtoMessage()
func (*CSEquipUpgrade) ProtoReflect ¶
func (x *CSEquipUpgrade) ProtoReflect() protoreflect.Message
func (*CSEquipUpgrade) Reset ¶
func (x *CSEquipUpgrade) Reset()
func (*CSEquipUpgrade) String ¶
func (x *CSEquipUpgrade) String() string
func (*CSEquipUpgrade) Validate ¶
func (m *CSEquipUpgrade) Validate() error
Validate checks the field values on CSEquipUpgrade with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSEquipUpgrade) ValidateAll ¶
func (m *CSEquipUpgrade) ValidateAll() error
ValidateAll checks the field values on CSEquipUpgrade with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSEquipUpgradeMultiError, or nil if none found.
type CSEquipUpgradeMultiError ¶
type CSEquipUpgradeMultiError []error
CSEquipUpgradeMultiError is an error wrapping multiple validation errors returned by CSEquipUpgrade.ValidateAll() if the designated constraints aren't met.
func (CSEquipUpgradeMultiError) AllErrors ¶
func (m CSEquipUpgradeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSEquipUpgradeMultiError) Error ¶
func (m CSEquipUpgradeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSEquipUpgradeValidationError ¶
type CSEquipUpgradeValidationError struct {
// contains filtered or unexported fields
}
CSEquipUpgradeValidationError is the validation error returned by CSEquipUpgrade.Validate if the designated constraints aren't met.
func (CSEquipUpgradeValidationError) Cause ¶
func (e CSEquipUpgradeValidationError) Cause() error
Cause function returns cause value.
func (CSEquipUpgradeValidationError) Error ¶
func (e CSEquipUpgradeValidationError) Error() string
Error satisfies the builtin error interface
func (CSEquipUpgradeValidationError) ErrorName ¶
func (e CSEquipUpgradeValidationError) ErrorName() string
ErrorName returns error name.
func (CSEquipUpgradeValidationError) Field ¶
func (e CSEquipUpgradeValidationError) Field() string
Field function returns field value.
func (CSEquipUpgradeValidationError) Key ¶
func (e CSEquipUpgradeValidationError) Key() bool
Key function returns key value.
func (CSEquipUpgradeValidationError) Reason ¶
func (e CSEquipUpgradeValidationError) Reason() string
Reason function returns reason value.
type CSEquipWear ¶
type CSEquipWear struct { EquipId int64 `protobuf:"varint,1,opt,name=equip_id,json=equipId,proto3" json:"equip_id,omitempty"` // Equipment ID HeroId int64 `protobuf:"varint,2,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"` // Hero ID // contains filtered or unexported fields }
Request: Wear equipment
func (*CSEquipWear) Descriptor
deprecated
func (*CSEquipWear) Descriptor() ([]byte, []int)
Deprecated: Use CSEquipWear.ProtoReflect.Descriptor instead.
func (*CSEquipWear) GetEquipId ¶
func (x *CSEquipWear) GetEquipId() int64
func (*CSEquipWear) GetHeroId ¶
func (x *CSEquipWear) GetHeroId() int64
func (*CSEquipWear) ProtoMessage ¶
func (*CSEquipWear) ProtoMessage()
func (*CSEquipWear) ProtoReflect ¶
func (x *CSEquipWear) ProtoReflect() protoreflect.Message
func (*CSEquipWear) Reset ¶
func (x *CSEquipWear) Reset()
func (*CSEquipWear) String ¶
func (x *CSEquipWear) String() string
func (*CSEquipWear) Validate ¶
func (m *CSEquipWear) Validate() error
Validate checks the field values on CSEquipWear with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSEquipWear) ValidateAll ¶
func (m *CSEquipWear) ValidateAll() error
ValidateAll checks the field values on CSEquipWear with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSEquipWearMultiError, or nil if none found.
type CSEquipWearMultiError ¶
type CSEquipWearMultiError []error
CSEquipWearMultiError is an error wrapping multiple validation errors returned by CSEquipWear.ValidateAll() if the designated constraints aren't met.
func (CSEquipWearMultiError) AllErrors ¶
func (m CSEquipWearMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSEquipWearMultiError) Error ¶
func (m CSEquipWearMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSEquipWearValidationError ¶
type CSEquipWearValidationError struct {
// contains filtered or unexported fields
}
CSEquipWearValidationError is the validation error returned by CSEquipWear.Validate if the designated constraints aren't met.
func (CSEquipWearValidationError) Cause ¶
func (e CSEquipWearValidationError) Cause() error
Cause function returns cause value.
func (CSEquipWearValidationError) Error ¶
func (e CSEquipWearValidationError) Error() string
Error satisfies the builtin error interface
func (CSEquipWearValidationError) ErrorName ¶
func (e CSEquipWearValidationError) ErrorName() string
ErrorName returns error name.
func (CSEquipWearValidationError) Field ¶
func (e CSEquipWearValidationError) Field() string
Field function returns field value.
func (CSEquipWearValidationError) Key ¶
func (e CSEquipWearValidationError) Key() bool
Key function returns key value.
func (CSEquipWearValidationError) Reason ¶
func (e CSEquipWearValidationError) Reason() string
Reason function returns reason value.
type CSHandshake ¶
type CSHandshake struct { Pub []byte `protobuf:"bytes,1,opt,name=pub,proto3" json:"pub,omitempty"` // Client ECDH public key Sign []byte `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"` // Client ECDH public key signature Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // Token received from account/v1/login ServerId int64 `protobuf:"varint,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Server ID Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp CertVersion int32 `protobuf:"varint,6,opt,name=cert_version,json=certVersion,proto3" json:"cert_version,omitempty"` // Signature version // contains filtered or unexported fields }
Handshake request
func (*CSHandshake) Descriptor
deprecated
func (*CSHandshake) Descriptor() ([]byte, []int)
Deprecated: Use CSHandshake.ProtoReflect.Descriptor instead.
func (*CSHandshake) GetCertVersion ¶
func (x *CSHandshake) GetCertVersion() int32
func (*CSHandshake) GetPub ¶
func (x *CSHandshake) GetPub() []byte
func (*CSHandshake) GetServerId ¶
func (x *CSHandshake) GetServerId() int64
func (*CSHandshake) GetSign ¶
func (x *CSHandshake) GetSign() []byte
func (*CSHandshake) GetTimestamp ¶
func (x *CSHandshake) GetTimestamp() int64
func (*CSHandshake) GetToken ¶
func (x *CSHandshake) GetToken() string
func (*CSHandshake) ProtoMessage ¶
func (*CSHandshake) ProtoMessage()
func (*CSHandshake) ProtoReflect ¶
func (x *CSHandshake) ProtoReflect() protoreflect.Message
func (*CSHandshake) Reset ¶
func (x *CSHandshake) Reset()
func (*CSHandshake) String ¶
func (x *CSHandshake) String() string
func (*CSHandshake) Validate ¶
func (m *CSHandshake) Validate() error
Validate checks the field values on CSHandshake with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSHandshake) ValidateAll ¶
func (m *CSHandshake) ValidateAll() error
ValidateAll checks the field values on CSHandshake with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSHandshakeMultiError, or nil if none found.
type CSHandshakeMultiError ¶
type CSHandshakeMultiError []error
CSHandshakeMultiError is an error wrapping multiple validation errors returned by CSHandshake.ValidateAll() if the designated constraints aren't met.
func (CSHandshakeMultiError) AllErrors ¶
func (m CSHandshakeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSHandshakeMultiError) Error ¶
func (m CSHandshakeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSHandshakeValidationError ¶
type CSHandshakeValidationError struct {
// contains filtered or unexported fields
}
CSHandshakeValidationError is the validation error returned by CSHandshake.Validate if the designated constraints aren't met.
func (CSHandshakeValidationError) Cause ¶
func (e CSHandshakeValidationError) Cause() error
Cause function returns cause value.
func (CSHandshakeValidationError) Error ¶
func (e CSHandshakeValidationError) Error() string
Error satisfies the builtin error interface
func (CSHandshakeValidationError) ErrorName ¶
func (e CSHandshakeValidationError) ErrorName() string
ErrorName returns error name.
func (CSHandshakeValidationError) Field ¶
func (e CSHandshakeValidationError) Field() string
Field function returns field value.
func (CSHandshakeValidationError) Key ¶
func (e CSHandshakeValidationError) Key() bool
Key function returns key value.
func (CSHandshakeValidationError) Reason ¶
func (e CSHandshakeValidationError) Reason() string
Reason function returns reason value.
type CSHeartbeat ¶
type CSHeartbeat struct { ClientTime int64 `protobuf:"varint,1,opt,name=client_time,json=clientTime,proto3" json:"client_time,omitempty"` // Client timestamp, accurate to seconds. Valid if the difference with server time is less than 10s // contains filtered or unexported fields }
Heartbeat request
func (*CSHeartbeat) Descriptor
deprecated
func (*CSHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use CSHeartbeat.ProtoReflect.Descriptor instead.
func (*CSHeartbeat) GetClientTime ¶
func (x *CSHeartbeat) GetClientTime() int64
func (*CSHeartbeat) ProtoMessage ¶
func (*CSHeartbeat) ProtoMessage()
func (*CSHeartbeat) ProtoReflect ¶
func (x *CSHeartbeat) ProtoReflect() protoreflect.Message
func (*CSHeartbeat) Reset ¶
func (x *CSHeartbeat) Reset()
func (*CSHeartbeat) String ¶
func (x *CSHeartbeat) String() string
func (*CSHeartbeat) Validate ¶
func (m *CSHeartbeat) Validate() error
Validate checks the field values on CSHeartbeat with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSHeartbeat) ValidateAll ¶
func (m *CSHeartbeat) ValidateAll() error
ValidateAll checks the field values on CSHeartbeat with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSHeartbeatMultiError, or nil if none found.
type CSHeartbeatMultiError ¶
type CSHeartbeatMultiError []error
CSHeartbeatMultiError is an error wrapping multiple validation errors returned by CSHeartbeat.ValidateAll() if the designated constraints aren't met.
func (CSHeartbeatMultiError) AllErrors ¶
func (m CSHeartbeatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSHeartbeatMultiError) Error ¶
func (m CSHeartbeatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSHeartbeatValidationError ¶
type CSHeartbeatValidationError struct {
// contains filtered or unexported fields
}
CSHeartbeatValidationError is the validation error returned by CSHeartbeat.Validate if the designated constraints aren't met.
func (CSHeartbeatValidationError) Cause ¶
func (e CSHeartbeatValidationError) Cause() error
Cause function returns cause value.
func (CSHeartbeatValidationError) Error ¶
func (e CSHeartbeatValidationError) Error() string
Error satisfies the builtin error interface
func (CSHeartbeatValidationError) ErrorName ¶
func (e CSHeartbeatValidationError) ErrorName() string
ErrorName returns error name.
func (CSHeartbeatValidationError) Field ¶
func (e CSHeartbeatValidationError) Field() string
Field function returns field value.
func (CSHeartbeatValidationError) Key ¶
func (e CSHeartbeatValidationError) Key() bool
Key function returns key value.
func (CSHeartbeatValidationError) Reason ¶
func (e CSHeartbeatValidationError) Reason() string
Reason function returns reason value.
type CSHeroLevelUpgrade ¶
type CSHeroLevelUpgrade struct { HeroId int64 `protobuf:"varint,1,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"` // Hero_id // contains filtered or unexported fields }
Request: Hero level upgrade
func (*CSHeroLevelUpgrade) Descriptor
deprecated
func (*CSHeroLevelUpgrade) Descriptor() ([]byte, []int)
Deprecated: Use CSHeroLevelUpgrade.ProtoReflect.Descriptor instead.
func (*CSHeroLevelUpgrade) GetHeroId ¶
func (x *CSHeroLevelUpgrade) GetHeroId() int64
func (*CSHeroLevelUpgrade) ProtoMessage ¶
func (*CSHeroLevelUpgrade) ProtoMessage()
func (*CSHeroLevelUpgrade) ProtoReflect ¶
func (x *CSHeroLevelUpgrade) ProtoReflect() protoreflect.Message
func (*CSHeroLevelUpgrade) Reset ¶
func (x *CSHeroLevelUpgrade) Reset()
func (*CSHeroLevelUpgrade) String ¶
func (x *CSHeroLevelUpgrade) String() string
func (*CSHeroLevelUpgrade) Validate ¶
func (m *CSHeroLevelUpgrade) Validate() error
Validate checks the field values on CSHeroLevelUpgrade with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSHeroLevelUpgrade) ValidateAll ¶
func (m *CSHeroLevelUpgrade) ValidateAll() error
ValidateAll checks the field values on CSHeroLevelUpgrade with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSHeroLevelUpgradeMultiError, or nil if none found.
type CSHeroLevelUpgradeMultiError ¶
type CSHeroLevelUpgradeMultiError []error
CSHeroLevelUpgradeMultiError is an error wrapping multiple validation errors returned by CSHeroLevelUpgrade.ValidateAll() if the designated constraints aren't met.
func (CSHeroLevelUpgradeMultiError) AllErrors ¶
func (m CSHeroLevelUpgradeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSHeroLevelUpgradeMultiError) Error ¶
func (m CSHeroLevelUpgradeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSHeroLevelUpgradeValidationError ¶
type CSHeroLevelUpgradeValidationError struct {
// contains filtered or unexported fields
}
CSHeroLevelUpgradeValidationError is the validation error returned by CSHeroLevelUpgrade.Validate if the designated constraints aren't met.
func (CSHeroLevelUpgradeValidationError) Cause ¶
func (e CSHeroLevelUpgradeValidationError) Cause() error
Cause function returns cause value.
func (CSHeroLevelUpgradeValidationError) Error ¶
func (e CSHeroLevelUpgradeValidationError) Error() string
Error satisfies the builtin error interface
func (CSHeroLevelUpgradeValidationError) ErrorName ¶
func (e CSHeroLevelUpgradeValidationError) ErrorName() string
ErrorName returns error name.
func (CSHeroLevelUpgradeValidationError) Field ¶
func (e CSHeroLevelUpgradeValidationError) Field() string
Field function returns field value.
func (CSHeroLevelUpgradeValidationError) Key ¶
func (e CSHeroLevelUpgradeValidationError) Key() bool
Key function returns key value.
func (CSHeroLevelUpgradeValidationError) Reason ¶
func (e CSHeroLevelUpgradeValidationError) Reason() string
Reason function returns reason value.
type CSInviteToJoinRoom ¶
type CSInviteToJoinRoom struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // User ID // contains filtered or unexported fields }
Request: Invite to join room
func (*CSInviteToJoinRoom) Descriptor
deprecated
func (*CSInviteToJoinRoom) Descriptor() ([]byte, []int)
Deprecated: Use CSInviteToJoinRoom.ProtoReflect.Descriptor instead.
func (*CSInviteToJoinRoom) GetUserId ¶
func (x *CSInviteToJoinRoom) GetUserId() int64
func (*CSInviteToJoinRoom) ProtoMessage ¶
func (*CSInviteToJoinRoom) ProtoMessage()
func (*CSInviteToJoinRoom) ProtoReflect ¶
func (x *CSInviteToJoinRoom) ProtoReflect() protoreflect.Message
func (*CSInviteToJoinRoom) Reset ¶
func (x *CSInviteToJoinRoom) Reset()
func (*CSInviteToJoinRoom) String ¶
func (x *CSInviteToJoinRoom) String() string
func (*CSInviteToJoinRoom) Validate ¶
func (m *CSInviteToJoinRoom) Validate() error
Validate checks the field values on CSInviteToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSInviteToJoinRoom) ValidateAll ¶
func (m *CSInviteToJoinRoom) ValidateAll() error
ValidateAll checks the field values on CSInviteToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSInviteToJoinRoomMultiError, or nil if none found.
type CSInviteToJoinRoomMultiError ¶
type CSInviteToJoinRoomMultiError []error
CSInviteToJoinRoomMultiError is an error wrapping multiple validation errors returned by CSInviteToJoinRoom.ValidateAll() if the designated constraints aren't met.
func (CSInviteToJoinRoomMultiError) AllErrors ¶
func (m CSInviteToJoinRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSInviteToJoinRoomMultiError) Error ¶
func (m CSInviteToJoinRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSInviteToJoinRoomValidationError ¶
type CSInviteToJoinRoomValidationError struct {
// contains filtered or unexported fields
}
CSInviteToJoinRoomValidationError is the validation error returned by CSInviteToJoinRoom.Validate if the designated constraints aren't met.
func (CSInviteToJoinRoomValidationError) Cause ¶
func (e CSInviteToJoinRoomValidationError) Cause() error
Cause function returns cause value.
func (CSInviteToJoinRoomValidationError) Error ¶
func (e CSInviteToJoinRoomValidationError) Error() string
Error satisfies the builtin error interface
func (CSInviteToJoinRoomValidationError) ErrorName ¶
func (e CSInviteToJoinRoomValidationError) ErrorName() string
ErrorName returns error name.
func (CSInviteToJoinRoomValidationError) Field ¶
func (e CSInviteToJoinRoomValidationError) Field() string
Field function returns field value.
func (CSInviteToJoinRoomValidationError) Key ¶
func (e CSInviteToJoinRoomValidationError) Key() bool
Key function returns key value.
func (CSInviteToJoinRoomValidationError) Reason ¶
func (e CSInviteToJoinRoomValidationError) Reason() string
Reason function returns reason value.
type CSKickUserFromRoom ¶
type CSKickUserFromRoom struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // User ID // contains filtered or unexported fields }
Request: Kick user from room
func (*CSKickUserFromRoom) Descriptor
deprecated
func (*CSKickUserFromRoom) Descriptor() ([]byte, []int)
Deprecated: Use CSKickUserFromRoom.ProtoReflect.Descriptor instead.
func (*CSKickUserFromRoom) GetUserId ¶
func (x *CSKickUserFromRoom) GetUserId() int64
func (*CSKickUserFromRoom) ProtoMessage ¶
func (*CSKickUserFromRoom) ProtoMessage()
func (*CSKickUserFromRoom) ProtoReflect ¶
func (x *CSKickUserFromRoom) ProtoReflect() protoreflect.Message
func (*CSKickUserFromRoom) Reset ¶
func (x *CSKickUserFromRoom) Reset()
func (*CSKickUserFromRoom) String ¶
func (x *CSKickUserFromRoom) String() string
func (*CSKickUserFromRoom) Validate ¶
func (m *CSKickUserFromRoom) Validate() error
Validate checks the field values on CSKickUserFromRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSKickUserFromRoom) ValidateAll ¶
func (m *CSKickUserFromRoom) ValidateAll() error
ValidateAll checks the field values on CSKickUserFromRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSKickUserFromRoomMultiError, or nil if none found.
type CSKickUserFromRoomMultiError ¶
type CSKickUserFromRoomMultiError []error
CSKickUserFromRoomMultiError is an error wrapping multiple validation errors returned by CSKickUserFromRoom.ValidateAll() if the designated constraints aren't met.
func (CSKickUserFromRoomMultiError) AllErrors ¶
func (m CSKickUserFromRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSKickUserFromRoomMultiError) Error ¶
func (m CSKickUserFromRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSKickUserFromRoomValidationError ¶
type CSKickUserFromRoomValidationError struct {
// contains filtered or unexported fields
}
CSKickUserFromRoomValidationError is the validation error returned by CSKickUserFromRoom.Validate if the designated constraints aren't met.
func (CSKickUserFromRoomValidationError) Cause ¶
func (e CSKickUserFromRoomValidationError) Cause() error
Cause function returns cause value.
func (CSKickUserFromRoomValidationError) Error ¶
func (e CSKickUserFromRoomValidationError) Error() string
Error satisfies the builtin error interface
func (CSKickUserFromRoomValidationError) ErrorName ¶
func (e CSKickUserFromRoomValidationError) ErrorName() string
ErrorName returns error name.
func (CSKickUserFromRoomValidationError) Field ¶
func (e CSKickUserFromRoomValidationError) Field() string
Field function returns field value.
func (CSKickUserFromRoomValidationError) Key ¶
func (e CSKickUserFromRoomValidationError) Key() bool
Key function returns key value.
func (CSKickUserFromRoomValidationError) Reason ¶
func (e CSKickUserFromRoomValidationError) Reason() string
Reason function returns reason value.
type CSLeaveRoom ¶
type CSLeaveRoom struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // Room ID // contains filtered or unexported fields }
Request: Leave room
func (*CSLeaveRoom) Descriptor
deprecated
func (*CSLeaveRoom) Descriptor() ([]byte, []int)
Deprecated: Use CSLeaveRoom.ProtoReflect.Descriptor instead.
func (*CSLeaveRoom) GetRoomId ¶
func (x *CSLeaveRoom) GetRoomId() int64
func (*CSLeaveRoom) ProtoMessage ¶
func (*CSLeaveRoom) ProtoMessage()
func (*CSLeaveRoom) ProtoReflect ¶
func (x *CSLeaveRoom) ProtoReflect() protoreflect.Message
func (*CSLeaveRoom) Reset ¶
func (x *CSLeaveRoom) Reset()
func (*CSLeaveRoom) String ¶
func (x *CSLeaveRoom) String() string
func (*CSLeaveRoom) Validate ¶
func (m *CSLeaveRoom) Validate() error
Validate checks the field values on CSLeaveRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSLeaveRoom) ValidateAll ¶
func (m *CSLeaveRoom) ValidateAll() error
ValidateAll checks the field values on CSLeaveRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSLeaveRoomMultiError, or nil if none found.
type CSLeaveRoomMultiError ¶
type CSLeaveRoomMultiError []error
CSLeaveRoomMultiError is an error wrapping multiple validation errors returned by CSLeaveRoom.ValidateAll() if the designated constraints aren't met.
func (CSLeaveRoomMultiError) AllErrors ¶
func (m CSLeaveRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSLeaveRoomMultiError) Error ¶
func (m CSLeaveRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSLeaveRoomValidationError ¶
type CSLeaveRoomValidationError struct {
// contains filtered or unexported fields
}
CSLeaveRoomValidationError is the validation error returned by CSLeaveRoom.Validate if the designated constraints aren't met.
func (CSLeaveRoomValidationError) Cause ¶
func (e CSLeaveRoomValidationError) Cause() error
Cause function returns cause value.
func (CSLeaveRoomValidationError) Error ¶
func (e CSLeaveRoomValidationError) Error() string
Error satisfies the builtin error interface
func (CSLeaveRoomValidationError) ErrorName ¶
func (e CSLeaveRoomValidationError) ErrorName() string
ErrorName returns error name.
func (CSLeaveRoomValidationError) Field ¶
func (e CSLeaveRoomValidationError) Field() string
Field function returns field value.
func (CSLeaveRoomValidationError) Key ¶
func (e CSLeaveRoomValidationError) Key() bool
Key function returns key value.
func (CSLeaveRoomValidationError) Reason ¶
func (e CSLeaveRoomValidationError) Reason() string
Reason function returns reason value.
type CSLogin ¶
type CSLogin struct { Reconnect bool `protobuf:"varint,1,opt,name=reconnect,proto3" json:"reconnect,omitempty"` // Whether it is a reconnection. When the client discovers that the network is disconnected during the online period and executes automatic reconnection, it is true. // contains filtered or unexported fields }
Request: Login
func (*CSLogin) Descriptor
deprecated
func (*CSLogin) GetReconnect ¶
func (*CSLogin) ProtoMessage ¶
func (*CSLogin) ProtoMessage()
func (*CSLogin) ProtoReflect ¶
func (x *CSLogin) ProtoReflect() protoreflect.Message
func (*CSLogin) Validate ¶
Validate checks the field values on CSLogin with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSLogin) ValidateAll ¶
ValidateAll checks the field values on CSLogin with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSLoginMultiError, or nil if none found.
type CSLoginMultiError ¶
type CSLoginMultiError []error
CSLoginMultiError is an error wrapping multiple validation errors returned by CSLogin.ValidateAll() if the designated constraints aren't met.
func (CSLoginMultiError) AllErrors ¶
func (m CSLoginMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSLoginMultiError) Error ¶
func (m CSLoginMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSLoginValidationError ¶
type CSLoginValidationError struct {
// contains filtered or unexported fields
}
CSLoginValidationError is the validation error returned by CSLogin.Validate if the designated constraints aren't met.
func (CSLoginValidationError) Cause ¶
func (e CSLoginValidationError) Cause() error
Cause function returns cause value.
func (CSLoginValidationError) Error ¶
func (e CSLoginValidationError) Error() string
Error satisfies the builtin error interface
func (CSLoginValidationError) ErrorName ¶
func (e CSLoginValidationError) ErrorName() string
ErrorName returns error name.
func (CSLoginValidationError) Field ¶
func (e CSLoginValidationError) Field() string
Field function returns field value.
func (CSLoginValidationError) Key ¶
func (e CSLoginValidationError) Key() bool
Key function returns key value.
func (CSLoginValidationError) Reason ¶
func (e CSLoginValidationError) Reason() string
Reason function returns reason value.
type CSRequestToJoinRoom ¶
type CSRequestToJoinRoom struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // Room ID // contains filtered or unexported fields }
Request: Request to join room
func (*CSRequestToJoinRoom) Descriptor
deprecated
func (*CSRequestToJoinRoom) Descriptor() ([]byte, []int)
Deprecated: Use CSRequestToJoinRoom.ProtoReflect.Descriptor instead.
func (*CSRequestToJoinRoom) GetRoomId ¶
func (x *CSRequestToJoinRoom) GetRoomId() int64
func (*CSRequestToJoinRoom) ProtoMessage ¶
func (*CSRequestToJoinRoom) ProtoMessage()
func (*CSRequestToJoinRoom) ProtoReflect ¶
func (x *CSRequestToJoinRoom) ProtoReflect() protoreflect.Message
func (*CSRequestToJoinRoom) Reset ¶
func (x *CSRequestToJoinRoom) Reset()
func (*CSRequestToJoinRoom) String ¶
func (x *CSRequestToJoinRoom) String() string
func (*CSRequestToJoinRoom) Validate ¶
func (m *CSRequestToJoinRoom) Validate() error
Validate checks the field values on CSRequestToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSRequestToJoinRoom) ValidateAll ¶
func (m *CSRequestToJoinRoom) ValidateAll() error
ValidateAll checks the field values on CSRequestToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSRequestToJoinRoomMultiError, or nil if none found.
type CSRequestToJoinRoomMultiError ¶
type CSRequestToJoinRoomMultiError []error
CSRequestToJoinRoomMultiError is an error wrapping multiple validation errors returned by CSRequestToJoinRoom.ValidateAll() if the designated constraints aren't met.
func (CSRequestToJoinRoomMultiError) AllErrors ¶
func (m CSRequestToJoinRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSRequestToJoinRoomMultiError) Error ¶
func (m CSRequestToJoinRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSRequestToJoinRoomValidationError ¶
type CSRequestToJoinRoomValidationError struct {
// contains filtered or unexported fields
}
CSRequestToJoinRoomValidationError is the validation error returned by CSRequestToJoinRoom.Validate if the designated constraints aren't met.
func (CSRequestToJoinRoomValidationError) Cause ¶
func (e CSRequestToJoinRoomValidationError) Cause() error
Cause function returns cause value.
func (CSRequestToJoinRoomValidationError) Error ¶
func (e CSRequestToJoinRoomValidationError) Error() string
Error satisfies the builtin error interface
func (CSRequestToJoinRoomValidationError) ErrorName ¶
func (e CSRequestToJoinRoomValidationError) ErrorName() string
ErrorName returns error name.
func (CSRequestToJoinRoomValidationError) Field ¶
func (e CSRequestToJoinRoomValidationError) Field() string
Field function returns field value.
func (CSRequestToJoinRoomValidationError) Key ¶
func (e CSRequestToJoinRoomValidationError) Key() bool
Key function returns key value.
func (CSRequestToJoinRoomValidationError) Reason ¶
func (e CSRequestToJoinRoomValidationError) Reason() string
Reason function returns reason value.
type CSRoomDetail ¶
type CSRoomDetail struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // Room ID // contains filtered or unexported fields }
Request: Room detail
func (*CSRoomDetail) Descriptor
deprecated
func (*CSRoomDetail) Descriptor() ([]byte, []int)
Deprecated: Use CSRoomDetail.ProtoReflect.Descriptor instead.
func (*CSRoomDetail) GetRoomId ¶
func (x *CSRoomDetail) GetRoomId() int64
func (*CSRoomDetail) ProtoMessage ¶
func (*CSRoomDetail) ProtoMessage()
func (*CSRoomDetail) ProtoReflect ¶
func (x *CSRoomDetail) ProtoReflect() protoreflect.Message
func (*CSRoomDetail) Reset ¶
func (x *CSRoomDetail) Reset()
func (*CSRoomDetail) String ¶
func (x *CSRoomDetail) String() string
func (*CSRoomDetail) Validate ¶
func (m *CSRoomDetail) Validate() error
Validate checks the field values on CSRoomDetail with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSRoomDetail) ValidateAll ¶
func (m *CSRoomDetail) ValidateAll() error
ValidateAll checks the field values on CSRoomDetail with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSRoomDetailMultiError, or nil if none found.
type CSRoomDetailMultiError ¶
type CSRoomDetailMultiError []error
CSRoomDetailMultiError is an error wrapping multiple validation errors returned by CSRoomDetail.ValidateAll() if the designated constraints aren't met.
func (CSRoomDetailMultiError) AllErrors ¶
func (m CSRoomDetailMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSRoomDetailMultiError) Error ¶
func (m CSRoomDetailMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSRoomDetailValidationError ¶
type CSRoomDetailValidationError struct {
// contains filtered or unexported fields
}
CSRoomDetailValidationError is the validation error returned by CSRoomDetail.Validate if the designated constraints aren't met.
func (CSRoomDetailValidationError) Cause ¶
func (e CSRoomDetailValidationError) Cause() error
Cause function returns cause value.
func (CSRoomDetailValidationError) Error ¶
func (e CSRoomDetailValidationError) Error() string
Error satisfies the builtin error interface
func (CSRoomDetailValidationError) ErrorName ¶
func (e CSRoomDetailValidationError) ErrorName() string
ErrorName returns error name.
func (CSRoomDetailValidationError) Field ¶
func (e CSRoomDetailValidationError) Field() string
Field function returns field value.
func (CSRoomDetailValidationError) Key ¶
func (e CSRoomDetailValidationError) Key() bool
Key function returns key value.
func (CSRoomDetailValidationError) Reason ¶
func (e CSRoomDetailValidationError) Reason() string
Reason function returns reason value.
type CSRoomList ¶
type CSRoomList struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // Page number PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page size // contains filtered or unexported fields }
Request: Room List
func (*CSRoomList) Descriptor
deprecated
func (*CSRoomList) Descriptor() ([]byte, []int)
Deprecated: Use CSRoomList.ProtoReflect.Descriptor instead.
func (*CSRoomList) GetPage ¶
func (x *CSRoomList) GetPage() int64
func (*CSRoomList) GetPageSize ¶
func (x *CSRoomList) GetPageSize() int64
func (*CSRoomList) ProtoMessage ¶
func (*CSRoomList) ProtoMessage()
func (*CSRoomList) ProtoReflect ¶
func (x *CSRoomList) ProtoReflect() protoreflect.Message
func (*CSRoomList) Reset ¶
func (x *CSRoomList) Reset()
func (*CSRoomList) String ¶
func (x *CSRoomList) String() string
func (*CSRoomList) Validate ¶
func (m *CSRoomList) Validate() error
Validate checks the field values on CSRoomList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSRoomList) ValidateAll ¶
func (m *CSRoomList) ValidateAll() error
ValidateAll checks the field values on CSRoomList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSRoomListMultiError, or nil if none found.
type CSRoomListMultiError ¶
type CSRoomListMultiError []error
CSRoomListMultiError is an error wrapping multiple validation errors returned by CSRoomList.ValidateAll() if the designated constraints aren't met.
func (CSRoomListMultiError) AllErrors ¶
func (m CSRoomListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSRoomListMultiError) Error ¶
func (m CSRoomListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSRoomListValidationError ¶
type CSRoomListValidationError struct {
// contains filtered or unexported fields
}
CSRoomListValidationError is the validation error returned by CSRoomList.Validate if the designated constraints aren't met.
func (CSRoomListValidationError) Cause ¶
func (e CSRoomListValidationError) Cause() error
Cause function returns cause value.
func (CSRoomListValidationError) Error ¶
func (e CSRoomListValidationError) Error() string
Error satisfies the builtin error interface
func (CSRoomListValidationError) ErrorName ¶
func (e CSRoomListValidationError) ErrorName() string
ErrorName returns error name.
func (CSRoomListValidationError) Field ¶
func (e CSRoomListValidationError) Field() string
Field function returns field value.
func (CSRoomListValidationError) Key ¶
func (e CSRoomListValidationError) Key() bool
Key function returns key value.
func (CSRoomListValidationError) Reason ¶
func (e CSRoomListValidationError) Reason() string
Reason function returns reason value.
type CSSetGender ¶
type CSSetGender struct { Gender int32 `protobuf:"varint,1,opt,name=gender,proto3" json:"gender,omitempty"` // Gender. Same as ActorProto.gender // contains filtered or unexported fields }
Request: Set gender
func (*CSSetGender) Descriptor
deprecated
func (*CSSetGender) Descriptor() ([]byte, []int)
Deprecated: Use CSSetGender.ProtoReflect.Descriptor instead.
func (*CSSetGender) GetGender ¶
func (x *CSSetGender) GetGender() int32
func (*CSSetGender) ProtoMessage ¶
func (*CSSetGender) ProtoMessage()
func (*CSSetGender) ProtoReflect ¶
func (x *CSSetGender) ProtoReflect() protoreflect.Message
func (*CSSetGender) Reset ¶
func (x *CSSetGender) Reset()
func (*CSSetGender) String ¶
func (x *CSSetGender) String() string
func (*CSSetGender) Validate ¶
func (m *CSSetGender) Validate() error
Validate checks the field values on CSSetGender with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSSetGender) ValidateAll ¶
func (m *CSSetGender) ValidateAll() error
ValidateAll checks the field values on CSSetGender with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSSetGenderMultiError, or nil if none found.
type CSSetGenderMultiError ¶
type CSSetGenderMultiError []error
CSSetGenderMultiError is an error wrapping multiple validation errors returned by CSSetGender.ValidateAll() if the designated constraints aren't met.
func (CSSetGenderMultiError) AllErrors ¶
func (m CSSetGenderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSSetGenderMultiError) Error ¶
func (m CSSetGenderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSSetGenderValidationError ¶
type CSSetGenderValidationError struct {
// contains filtered or unexported fields
}
CSSetGenderValidationError is the validation error returned by CSSetGender.Validate if the designated constraints aren't met.
func (CSSetGenderValidationError) Cause ¶
func (e CSSetGenderValidationError) Cause() error
Cause function returns cause value.
func (CSSetGenderValidationError) Error ¶
func (e CSSetGenderValidationError) Error() string
Error satisfies the builtin error interface
func (CSSetGenderValidationError) ErrorName ¶
func (e CSSetGenderValidationError) ErrorName() string
ErrorName returns error name.
func (CSSetGenderValidationError) Field ¶
func (e CSSetGenderValidationError) Field() string
Field function returns field value.
func (CSSetGenderValidationError) Key ¶
func (e CSSetGenderValidationError) Key() bool
Key function returns key value.
func (CSSetGenderValidationError) Reason ¶
func (e CSSetGenderValidationError) Reason() string
Reason function returns reason value.
type CSUpdateName ¶
type CSUpdateName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name // contains filtered or unexported fields }
Request: Update name
func (*CSUpdateName) Descriptor
deprecated
func (*CSUpdateName) Descriptor() ([]byte, []int)
Deprecated: Use CSUpdateName.ProtoReflect.Descriptor instead.
func (*CSUpdateName) GetName ¶
func (x *CSUpdateName) GetName() string
func (*CSUpdateName) ProtoMessage ¶
func (*CSUpdateName) ProtoMessage()
func (*CSUpdateName) ProtoReflect ¶
func (x *CSUpdateName) ProtoReflect() protoreflect.Message
func (*CSUpdateName) Reset ¶
func (x *CSUpdateName) Reset()
func (*CSUpdateName) String ¶
func (x *CSUpdateName) String() string
func (*CSUpdateName) Validate ¶
func (m *CSUpdateName) Validate() error
Validate checks the field values on CSUpdateName with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSUpdateName) ValidateAll ¶
func (m *CSUpdateName) ValidateAll() error
ValidateAll checks the field values on CSUpdateName with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSUpdateNameMultiError, or nil if none found.
type CSUpdateNameMultiError ¶
type CSUpdateNameMultiError []error
CSUpdateNameMultiError is an error wrapping multiple validation errors returned by CSUpdateName.ValidateAll() if the designated constraints aren't met.
func (CSUpdateNameMultiError) AllErrors ¶
func (m CSUpdateNameMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSUpdateNameMultiError) Error ¶
func (m CSUpdateNameMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSUpdateNameValidationError ¶
type CSUpdateNameValidationError struct {
// contains filtered or unexported fields
}
CSUpdateNameValidationError is the validation error returned by CSUpdateName.Validate if the designated constraints aren't met.
func (CSUpdateNameValidationError) Cause ¶
func (e CSUpdateNameValidationError) Cause() error
Cause function returns cause value.
func (CSUpdateNameValidationError) Error ¶
func (e CSUpdateNameValidationError) Error() string
Error satisfies the builtin error interface
func (CSUpdateNameValidationError) ErrorName ¶
func (e CSUpdateNameValidationError) ErrorName() string
ErrorName returns error name.
func (CSUpdateNameValidationError) Field ¶
func (e CSUpdateNameValidationError) Field() string
Field function returns field value.
func (CSUpdateNameValidationError) Key ¶
func (e CSUpdateNameValidationError) Key() bool
Key function returns key value.
func (CSUpdateNameValidationError) Reason ¶
func (e CSUpdateNameValidationError) Reason() string
Reason function returns reason value.
type CSUsePack ¶
type CSUsePack struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Pack ID // contains filtered or unexported fields }
Request: Use pack
func (*CSUsePack) Descriptor
deprecated
func (*CSUsePack) ProtoMessage ¶
func (*CSUsePack) ProtoMessage()
func (*CSUsePack) ProtoReflect ¶
func (x *CSUsePack) ProtoReflect() protoreflect.Message
func (*CSUsePack) Validate ¶
Validate checks the field values on CSUsePack with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CSUsePack) ValidateAll ¶
ValidateAll checks the field values on CSUsePack with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CSUsePackMultiError, or nil if none found.
type CSUsePackMultiError ¶
type CSUsePackMultiError []error
CSUsePackMultiError is an error wrapping multiple validation errors returned by CSUsePack.ValidateAll() if the designated constraints aren't met.
func (CSUsePackMultiError) AllErrors ¶
func (m CSUsePackMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSUsePackMultiError) Error ¶
func (m CSUsePackMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSUsePackValidationError ¶
type CSUsePackValidationError struct {
// contains filtered or unexported fields
}
CSUsePackValidationError is the validation error returned by CSUsePack.Validate if the designated constraints aren't met.
func (CSUsePackValidationError) Cause ¶
func (e CSUsePackValidationError) Cause() error
Cause function returns cause value.
func (CSUsePackValidationError) Error ¶
func (e CSUsePackValidationError) Error() string
Error satisfies the builtin error interface
func (CSUsePackValidationError) ErrorName ¶
func (e CSUsePackValidationError) ErrorName() string
ErrorName returns error name.
func (CSUsePackValidationError) Field ¶
func (e CSUsePackValidationError) Field() string
Field function returns field value.
func (CSUsePackValidationError) Key ¶
func (e CSUsePackValidationError) Key() bool
Key function returns key value.
func (CSUsePackValidationError) Reason ¶
func (e CSUsePackValidationError) Reason() string
Reason function returns reason value.
type DevCmdArgProto ¶
type DevCmdArgProto struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Parameter name Def string `protobuf:"bytes,2,opt,name=def,proto3" json:"def,omitempty"` // Default value // contains filtered or unexported fields }
A parameter of Dev command
func (*DevCmdArgProto) Descriptor
deprecated
func (*DevCmdArgProto) Descriptor() ([]byte, []int)
Deprecated: Use DevCmdArgProto.ProtoReflect.Descriptor instead.
func (*DevCmdArgProto) GetDef ¶
func (x *DevCmdArgProto) GetDef() string
func (*DevCmdArgProto) GetKey ¶
func (x *DevCmdArgProto) GetKey() string
func (*DevCmdArgProto) ProtoMessage ¶
func (*DevCmdArgProto) ProtoMessage()
func (*DevCmdArgProto) ProtoReflect ¶
func (x *DevCmdArgProto) ProtoReflect() protoreflect.Message
func (*DevCmdArgProto) Reset ¶
func (x *DevCmdArgProto) Reset()
func (*DevCmdArgProto) String ¶
func (x *DevCmdArgProto) String() string
func (*DevCmdArgProto) Validate ¶
func (m *DevCmdArgProto) Validate() error
Validate checks the field values on DevCmdArgProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DevCmdArgProto) ValidateAll ¶
func (m *DevCmdArgProto) ValidateAll() error
ValidateAll checks the field values on DevCmdArgProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DevCmdArgProtoMultiError, or nil if none found.
type DevCmdArgProtoMultiError ¶
type DevCmdArgProtoMultiError []error
DevCmdArgProtoMultiError is an error wrapping multiple validation errors returned by DevCmdArgProto.ValidateAll() if the designated constraints aren't met.
func (DevCmdArgProtoMultiError) AllErrors ¶
func (m DevCmdArgProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DevCmdArgProtoMultiError) Error ¶
func (m DevCmdArgProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DevCmdArgProtoValidationError ¶
type DevCmdArgProtoValidationError struct {
// contains filtered or unexported fields
}
DevCmdArgProtoValidationError is the validation error returned by DevCmdArgProto.Validate if the designated constraints aren't met.
func (DevCmdArgProtoValidationError) Cause ¶
func (e DevCmdArgProtoValidationError) Cause() error
Cause function returns cause value.
func (DevCmdArgProtoValidationError) Error ¶
func (e DevCmdArgProtoValidationError) Error() string
Error satisfies the builtin error interface
func (DevCmdArgProtoValidationError) ErrorName ¶
func (e DevCmdArgProtoValidationError) ErrorName() string
ErrorName returns error name.
func (DevCmdArgProtoValidationError) Field ¶
func (e DevCmdArgProtoValidationError) Field() string
Field function returns field value.
func (DevCmdArgProtoValidationError) Key ¶
func (e DevCmdArgProtoValidationError) Key() bool
Key function returns key value.
func (DevCmdArgProtoValidationError) Reason ¶
func (e DevCmdArgProtoValidationError) Reason() string
Reason function returns reason value.
type DevCmdProto ¶
type DevCmdProto struct { Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"` // Command module Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Command name Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` // Description Args []*DevCmdArgProto `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` // All parameters // contains filtered or unexported fields }
A Dev command
func (*DevCmdProto) Descriptor
deprecated
func (*DevCmdProto) Descriptor() ([]byte, []int)
Deprecated: Use DevCmdProto.ProtoReflect.Descriptor instead.
func (*DevCmdProto) GetArgs ¶
func (x *DevCmdProto) GetArgs() []*DevCmdArgProto
func (*DevCmdProto) GetDesc ¶
func (x *DevCmdProto) GetDesc() string
func (*DevCmdProto) GetMod ¶
func (x *DevCmdProto) GetMod() string
func (*DevCmdProto) GetName ¶
func (x *DevCmdProto) GetName() string
func (*DevCmdProto) ProtoMessage ¶
func (*DevCmdProto) ProtoMessage()
func (*DevCmdProto) ProtoReflect ¶
func (x *DevCmdProto) ProtoReflect() protoreflect.Message
func (*DevCmdProto) Reset ¶
func (x *DevCmdProto) Reset()
func (*DevCmdProto) String ¶
func (x *DevCmdProto) String() string
func (*DevCmdProto) Validate ¶
func (m *DevCmdProto) Validate() error
Validate checks the field values on DevCmdProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DevCmdProto) ValidateAll ¶
func (m *DevCmdProto) ValidateAll() error
ValidateAll checks the field values on DevCmdProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DevCmdProtoMultiError, or nil if none found.
type DevCmdProtoMultiError ¶
type DevCmdProtoMultiError []error
DevCmdProtoMultiError is an error wrapping multiple validation errors returned by DevCmdProto.ValidateAll() if the designated constraints aren't met.
func (DevCmdProtoMultiError) AllErrors ¶
func (m DevCmdProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DevCmdProtoMultiError) Error ¶
func (m DevCmdProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DevCmdProtoValidationError ¶
type DevCmdProtoValidationError struct {
// contains filtered or unexported fields
}
DevCmdProtoValidationError is the validation error returned by DevCmdProto.Validate if the designated constraints aren't met.
func (DevCmdProtoValidationError) Cause ¶
func (e DevCmdProtoValidationError) Cause() error
Cause function returns cause value.
func (DevCmdProtoValidationError) Error ¶
func (e DevCmdProtoValidationError) Error() string
Error satisfies the builtin error interface
func (DevCmdProtoValidationError) ErrorName ¶
func (e DevCmdProtoValidationError) ErrorName() string
ErrorName returns error name.
func (DevCmdProtoValidationError) Field ¶
func (e DevCmdProtoValidationError) Field() string
Field function returns field value.
func (DevCmdProtoValidationError) Key ¶
func (e DevCmdProtoValidationError) Key() bool
Key function returns key value.
func (DevCmdProtoValidationError) Reason ¶
func (e DevCmdProtoValidationError) Reason() string
Reason function returns reason value.
type DevServiceClient ¶
type DevServiceClient interface { // Dev command list DevList(ctx context.Context, in *CSDevList, opts ...grpc.CallOption) (*SCDevList, error) // Execute Dev command DevExecute(ctx context.Context, in *CSDevExecute, opts ...grpc.CallOption) (*SCDevExecute, error) }
DevServiceClient is the client API for DevService 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.
Development debugging command protocol
func NewDevServiceClient ¶
func NewDevServiceClient(cc grpc.ClientConnInterface) DevServiceClient
type DevServiceHTTPClient ¶
type DevServiceHTTPClient interface { DevExecute(ctx context.Context, req *CSDevExecute, opts ...http.CallOption) (rsp *SCDevExecute, err error) DevList(ctx context.Context, req *CSDevList, opts ...http.CallOption) (rsp *SCDevList, err error) }
func NewDevServiceHTTPClient ¶
func NewDevServiceHTTPClient(client *http.Client) DevServiceHTTPClient
type DevServiceHTTPClientImpl ¶
type DevServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*DevServiceHTTPClientImpl) DevExecute ¶
func (c *DevServiceHTTPClientImpl) DevExecute(ctx context.Context, in *CSDevExecute, opts ...http.CallOption) (*SCDevExecute, error)
func (*DevServiceHTTPClientImpl) DevList ¶
func (c *DevServiceHTTPClientImpl) DevList(ctx context.Context, in *CSDevList, opts ...http.CallOption) (*SCDevList, error)
type DevServiceHTTPServer ¶
type DevServiceHTTPServer interface { // DevExecute Execute Dev command DevExecute(context.Context, *CSDevExecute) (*SCDevExecute, error) // DevList Dev command list DevList(context.Context, *CSDevList) (*SCDevList, error) }
type DevServiceServer ¶
type DevServiceServer interface { // Dev command list DevList(context.Context, *CSDevList) (*SCDevList, error) // Execute Dev command DevExecute(context.Context, *CSDevExecute) (*SCDevExecute, error) // contains filtered or unexported methods }
DevServiceServer is the server API for DevService service. All implementations must embed UnimplementedDevServiceServer for forward compatibility.
Development debugging command protocol
type EquipProto ¶
type EquipProto struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Equipment ID DataId int64 `protobuf:"varint,2,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"` // Equipment DataID Level int64 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` // Current level Wearing bool `protobuf:"varint,4,opt,name=wearing,proto3" json:"wearing,omitempty"` // Wearing status HeroId int64 `protobuf:"varint,5,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"` // Worn by hero ID (0 means not worn) // contains filtered or unexported fields }
Equipment
func (*EquipProto) Descriptor
deprecated
func (*EquipProto) Descriptor() ([]byte, []int)
Deprecated: Use EquipProto.ProtoReflect.Descriptor instead.
func (*EquipProto) GetDataId ¶
func (x *EquipProto) GetDataId() int64
func (*EquipProto) GetHeroId ¶
func (x *EquipProto) GetHeroId() int64
func (*EquipProto) GetId ¶
func (x *EquipProto) GetId() int64
func (*EquipProto) GetLevel ¶
func (x *EquipProto) GetLevel() int64
func (*EquipProto) GetWearing ¶
func (x *EquipProto) GetWearing() bool
func (*EquipProto) ProtoMessage ¶
func (*EquipProto) ProtoMessage()
func (*EquipProto) ProtoReflect ¶
func (x *EquipProto) ProtoReflect() protoreflect.Message
func (*EquipProto) Reset ¶
func (x *EquipProto) Reset()
func (*EquipProto) String ¶
func (x *EquipProto) String() string
func (*EquipProto) Validate ¶
func (m *EquipProto) Validate() error
Validate checks the field values on EquipProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EquipProto) ValidateAll ¶
func (m *EquipProto) ValidateAll() error
ValidateAll checks the field values on EquipProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EquipProtoMultiError, or nil if none found.
type EquipProtoMultiError ¶
type EquipProtoMultiError []error
EquipProtoMultiError is an error wrapping multiple validation errors returned by EquipProto.ValidateAll() if the designated constraints aren't met.
func (EquipProtoMultiError) AllErrors ¶
func (m EquipProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EquipProtoMultiError) Error ¶
func (m EquipProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EquipProtoValidationError ¶
type EquipProtoValidationError struct {
// contains filtered or unexported fields
}
EquipProtoValidationError is the validation error returned by EquipProto.Validate if the designated constraints aren't met.
func (EquipProtoValidationError) Cause ¶
func (e EquipProtoValidationError) Cause() error
Cause function returns cause value.
func (EquipProtoValidationError) Error ¶
func (e EquipProtoValidationError) Error() string
Error satisfies the builtin error interface
func (EquipProtoValidationError) ErrorName ¶
func (e EquipProtoValidationError) ErrorName() string
ErrorName returns error name.
func (EquipProtoValidationError) Field ¶
func (e EquipProtoValidationError) Field() string
Field function returns field value.
func (EquipProtoValidationError) Key ¶
func (e EquipProtoValidationError) Key() bool
Key function returns key value.
func (EquipProtoValidationError) Reason ¶
func (e EquipProtoValidationError) Reason() string
Reason function returns reason value.
type EquipServiceClient ¶
type EquipServiceClient interface { // Wear equipment EquipWear(ctx context.Context, in *CSEquipWear, opts ...grpc.CallOption) (*SCEquipWear, error) // Take off equipment EquipTakeOff(ctx context.Context, in *CSEquipTakeOff, opts ...grpc.CallOption) (*SCEquipTakeOff, error) // Equipment upgrade EquipUpgrade(ctx context.Context, in *CSEquipUpgrade, opts ...grpc.CallOption) (*SCEquipUpgrade, error) }
EquipServiceClient is the client API for EquipService 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.
Equipment service
func NewEquipServiceClient ¶
func NewEquipServiceClient(cc grpc.ClientConnInterface) EquipServiceClient
type EquipServiceHTTPClient ¶
type EquipServiceHTTPClient interface { EquipTakeOff(ctx context.Context, req *CSEquipTakeOff, opts ...http.CallOption) (rsp *SCEquipTakeOff, err error) EquipUpgrade(ctx context.Context, req *CSEquipUpgrade, opts ...http.CallOption) (rsp *SCEquipUpgrade, err error) EquipWear(ctx context.Context, req *CSEquipWear, opts ...http.CallOption) (rsp *SCEquipWear, err error) }
func NewEquipServiceHTTPClient ¶
func NewEquipServiceHTTPClient(client *http.Client) EquipServiceHTTPClient
type EquipServiceHTTPClientImpl ¶
type EquipServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*EquipServiceHTTPClientImpl) EquipTakeOff ¶
func (c *EquipServiceHTTPClientImpl) EquipTakeOff(ctx context.Context, in *CSEquipTakeOff, opts ...http.CallOption) (*SCEquipTakeOff, error)
func (*EquipServiceHTTPClientImpl) EquipUpgrade ¶
func (c *EquipServiceHTTPClientImpl) EquipUpgrade(ctx context.Context, in *CSEquipUpgrade, opts ...http.CallOption) (*SCEquipUpgrade, error)
func (*EquipServiceHTTPClientImpl) EquipWear ¶
func (c *EquipServiceHTTPClientImpl) EquipWear(ctx context.Context, in *CSEquipWear, opts ...http.CallOption) (*SCEquipWear, error)
type EquipServiceHTTPServer ¶
type EquipServiceHTTPServer interface { // EquipTakeOff Take off equipment EquipTakeOff(context.Context, *CSEquipTakeOff) (*SCEquipTakeOff, error) // EquipUpgrade Equipment upgrade EquipUpgrade(context.Context, *CSEquipUpgrade) (*SCEquipUpgrade, error) // EquipWear Wear equipment EquipWear(context.Context, *CSEquipWear) (*SCEquipWear, error) }
type EquipServiceServer ¶
type EquipServiceServer interface { // Wear equipment EquipWear(context.Context, *CSEquipWear) (*SCEquipWear, error) // Take off equipment EquipTakeOff(context.Context, *CSEquipTakeOff) (*SCEquipTakeOff, error) // Equipment upgrade EquipUpgrade(context.Context, *CSEquipUpgrade) (*SCEquipUpgrade, error) // contains filtered or unexported methods }
EquipServiceServer is the server API for EquipService service. All implementations must embed UnimplementedEquipServiceServer for forward compatibility.
Equipment service
type HeroProto ¶
type HeroProto struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Hero ID DataId int64 `protobuf:"varint,2,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"` // Hero DataID Level int64 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` // Hero level Skills map[int64]int64 `` // Skill ID -> Skill Level /* 141-byte string literal not displayed */ Equips []int64 `protobuf:"varint,5,rep,packed,name=equips,proto3" json:"equips,omitempty"` // Equip IDs // contains filtered or unexported fields }
Hero
func (*HeroProto) Descriptor
deprecated
func (*HeroProto) ProtoMessage ¶
func (*HeroProto) ProtoMessage()
func (*HeroProto) ProtoReflect ¶
func (x *HeroProto) ProtoReflect() protoreflect.Message
func (*HeroProto) Validate ¶
Validate checks the field values on HeroProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HeroProto) ValidateAll ¶
ValidateAll checks the field values on HeroProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeroProtoMultiError, or nil if none found.
type HeroProtoMultiError ¶
type HeroProtoMultiError []error
HeroProtoMultiError is an error wrapping multiple validation errors returned by HeroProto.ValidateAll() if the designated constraints aren't met.
func (HeroProtoMultiError) AllErrors ¶
func (m HeroProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeroProtoMultiError) Error ¶
func (m HeroProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeroProtoValidationError ¶
type HeroProtoValidationError struct {
// contains filtered or unexported fields
}
HeroProtoValidationError is the validation error returned by HeroProto.Validate if the designated constraints aren't met.
func (HeroProtoValidationError) Cause ¶
func (e HeroProtoValidationError) Cause() error
Cause function returns cause value.
func (HeroProtoValidationError) Error ¶
func (e HeroProtoValidationError) Error() string
Error satisfies the builtin error interface
func (HeroProtoValidationError) ErrorName ¶
func (e HeroProtoValidationError) ErrorName() string
ErrorName returns error name.
func (HeroProtoValidationError) Field ¶
func (e HeroProtoValidationError) Field() string
Field function returns field value.
func (HeroProtoValidationError) Key ¶
func (e HeroProtoValidationError) Key() bool
Key function returns key value.
func (HeroProtoValidationError) Reason ¶
func (e HeroProtoValidationError) Reason() string
Reason function returns reason value.
type HeroServiceClient ¶
type HeroServiceClient interface { // Hero level upgrade HeroLevelUpgrade(ctx context.Context, in *CSHeroLevelUpgrade, opts ...grpc.CallOption) (*SCHeroLevelUpgrade, error) }
HeroServiceClient is the client API for HeroService 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.
Hero service
func NewHeroServiceClient ¶
func NewHeroServiceClient(cc grpc.ClientConnInterface) HeroServiceClient
type HeroServiceHTTPClient ¶
type HeroServiceHTTPClient interface {
HeroLevelUpgrade(ctx context.Context, req *CSHeroLevelUpgrade, opts ...http.CallOption) (rsp *SCHeroLevelUpgrade, err error)
}
func NewHeroServiceHTTPClient ¶
func NewHeroServiceHTTPClient(client *http.Client) HeroServiceHTTPClient
type HeroServiceHTTPClientImpl ¶
type HeroServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*HeroServiceHTTPClientImpl) HeroLevelUpgrade ¶
func (c *HeroServiceHTTPClientImpl) HeroLevelUpgrade(ctx context.Context, in *CSHeroLevelUpgrade, opts ...http.CallOption) (*SCHeroLevelUpgrade, error)
type HeroServiceHTTPServer ¶
type HeroServiceHTTPServer interface { // HeroLevelUpgrade Hero level upgrade HeroLevelUpgrade(context.Context, *CSHeroLevelUpgrade) (*SCHeroLevelUpgrade, error) }
type HeroServiceServer ¶
type HeroServiceServer interface { // Hero level upgrade HeroLevelUpgrade(context.Context, *CSHeroLevelUpgrade) (*SCHeroLevelUpgrade, error) // contains filtered or unexported methods }
HeroServiceServer is the server API for HeroService service. All implementations must embed UnimplementedHeroServiceServer for forward compatibility.
Hero service
type ItemRecoveryInfoProto ¶
type ItemRecoveryInfoProto struct { DataId int64 `protobuf:"varint,1,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"` // Item DataID Max int64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"` // Max Amount RecoverPerSec float32 `protobuf:"fixed32,3,opt,name=recover_per_sec,json=recoverPerSec,proto3" json:"recover_per_sec,omitempty"` // Recover Per Second UpdatedAt int64 `protobuf:"varint,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Last updated time (Unix timestamp) // contains filtered or unexported fields }
Item Recovery info
func (*ItemRecoveryInfoProto) Descriptor
deprecated
func (*ItemRecoveryInfoProto) Descriptor() ([]byte, []int)
Deprecated: Use ItemRecoveryInfoProto.ProtoReflect.Descriptor instead.
func (*ItemRecoveryInfoProto) GetDataId ¶
func (x *ItemRecoveryInfoProto) GetDataId() int64
func (*ItemRecoveryInfoProto) GetMax ¶
func (x *ItemRecoveryInfoProto) GetMax() int64
func (*ItemRecoveryInfoProto) GetRecoverPerSec ¶
func (x *ItemRecoveryInfoProto) GetRecoverPerSec() float32
func (*ItemRecoveryInfoProto) GetUpdatedAt ¶
func (x *ItemRecoveryInfoProto) GetUpdatedAt() int64
func (*ItemRecoveryInfoProto) ProtoMessage ¶
func (*ItemRecoveryInfoProto) ProtoMessage()
func (*ItemRecoveryInfoProto) ProtoReflect ¶
func (x *ItemRecoveryInfoProto) ProtoReflect() protoreflect.Message
func (*ItemRecoveryInfoProto) Reset ¶
func (x *ItemRecoveryInfoProto) Reset()
func (*ItemRecoveryInfoProto) String ¶
func (x *ItemRecoveryInfoProto) String() string
func (*ItemRecoveryInfoProto) Validate ¶
func (m *ItemRecoveryInfoProto) Validate() error
Validate checks the field values on ItemRecoveryInfoProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ItemRecoveryInfoProto) ValidateAll ¶
func (m *ItemRecoveryInfoProto) ValidateAll() error
ValidateAll checks the field values on ItemRecoveryInfoProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ItemRecoveryInfoProtoMultiError, or nil if none found.
type ItemRecoveryInfoProtoMultiError ¶
type ItemRecoveryInfoProtoMultiError []error
ItemRecoveryInfoProtoMultiError is an error wrapping multiple validation errors returned by ItemRecoveryInfoProto.ValidateAll() if the designated constraints aren't met.
func (ItemRecoveryInfoProtoMultiError) AllErrors ¶
func (m ItemRecoveryInfoProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ItemRecoveryInfoProtoMultiError) Error ¶
func (m ItemRecoveryInfoProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ItemRecoveryInfoProtoValidationError ¶
type ItemRecoveryInfoProtoValidationError struct {
// contains filtered or unexported fields
}
ItemRecoveryInfoProtoValidationError is the validation error returned by ItemRecoveryInfoProto.Validate if the designated constraints aren't met.
func (ItemRecoveryInfoProtoValidationError) Cause ¶
func (e ItemRecoveryInfoProtoValidationError) Cause() error
Cause function returns cause value.
func (ItemRecoveryInfoProtoValidationError) Error ¶
func (e ItemRecoveryInfoProtoValidationError) Error() string
Error satisfies the builtin error interface
func (ItemRecoveryInfoProtoValidationError) ErrorName ¶
func (e ItemRecoveryInfoProtoValidationError) ErrorName() string
ErrorName returns error name.
func (ItemRecoveryInfoProtoValidationError) Field ¶
func (e ItemRecoveryInfoProtoValidationError) Field() string
Field function returns field value.
func (ItemRecoveryInfoProtoValidationError) Key ¶
func (e ItemRecoveryInfoProtoValidationError) Key() bool
Key function returns key value.
func (ItemRecoveryInfoProtoValidationError) Reason ¶
func (e ItemRecoveryInfoProtoValidationError) Reason() string
Reason function returns reason value.
type RechargeParamProto ¶
type RechargeParamProto struct { ProductId int64 `protobuf:"varint,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // Product ID in the platform Store string `protobuf:"bytes,2,opt,name=store,proto3" json:"store,omitempty"` // Store Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // Payload // contains filtered or unexported fields }
Recharge parameter
func (*RechargeParamProto) Descriptor
deprecated
func (*RechargeParamProto) Descriptor() ([]byte, []int)
Deprecated: Use RechargeParamProto.ProtoReflect.Descriptor instead.
func (*RechargeParamProto) GetPayload ¶
func (x *RechargeParamProto) GetPayload() []byte
func (*RechargeParamProto) GetProductId ¶
func (x *RechargeParamProto) GetProductId() int64
func (*RechargeParamProto) GetStore ¶
func (x *RechargeParamProto) GetStore() string
func (*RechargeParamProto) ProtoMessage ¶
func (*RechargeParamProto) ProtoMessage()
func (*RechargeParamProto) ProtoReflect ¶
func (x *RechargeParamProto) ProtoReflect() protoreflect.Message
func (*RechargeParamProto) Reset ¶
func (x *RechargeParamProto) Reset()
func (*RechargeParamProto) String ¶
func (x *RechargeParamProto) String() string
func (*RechargeParamProto) Validate ¶
func (m *RechargeParamProto) Validate() error
Validate checks the field values on RechargeParamProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RechargeParamProto) ValidateAll ¶
func (m *RechargeParamProto) ValidateAll() error
ValidateAll checks the field values on RechargeParamProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RechargeParamProtoMultiError, or nil if none found.
type RechargeParamProtoMultiError ¶
type RechargeParamProtoMultiError []error
RechargeParamProtoMultiError is an error wrapping multiple validation errors returned by RechargeParamProto.ValidateAll() if the designated constraints aren't met.
func (RechargeParamProtoMultiError) AllErrors ¶
func (m RechargeParamProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RechargeParamProtoMultiError) Error ¶
func (m RechargeParamProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RechargeParamProtoValidationError ¶
type RechargeParamProtoValidationError struct {
// contains filtered or unexported fields
}
RechargeParamProtoValidationError is the validation error returned by RechargeParamProto.Validate if the designated constraints aren't met.
func (RechargeParamProtoValidationError) Cause ¶
func (e RechargeParamProtoValidationError) Cause() error
Cause function returns cause value.
func (RechargeParamProtoValidationError) Error ¶
func (e RechargeParamProtoValidationError) Error() string
Error satisfies the builtin error interface
func (RechargeParamProtoValidationError) ErrorName ¶
func (e RechargeParamProtoValidationError) ErrorName() string
ErrorName returns error name.
func (RechargeParamProtoValidationError) Field ¶
func (e RechargeParamProtoValidationError) Field() string
Field function returns field value.
func (RechargeParamProtoValidationError) Key ¶
func (e RechargeParamProtoValidationError) Key() bool
Key function returns key value.
func (RechargeParamProtoValidationError) Reason ¶
func (e RechargeParamProtoValidationError) Reason() string
Reason function returns reason value.
type RoomBasicProto ¶
type RoomBasicProto struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Room ID RoomType int64 `protobuf:"varint,2,opt,name=room_type,json=roomType,proto3" json:"room_type,omitempty"` // room type Creator *UserBasicProto `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` // Creator CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Created at // contains filtered or unexported fields }
Room basic data
func (*RoomBasicProto) Descriptor
deprecated
func (*RoomBasicProto) Descriptor() ([]byte, []int)
Deprecated: Use RoomBasicProto.ProtoReflect.Descriptor instead.
func (*RoomBasicProto) GetCreatedAt ¶
func (x *RoomBasicProto) GetCreatedAt() int64
func (*RoomBasicProto) GetCreator ¶
func (x *RoomBasicProto) GetCreator() *UserBasicProto
func (*RoomBasicProto) GetId ¶
func (x *RoomBasicProto) GetId() int64
func (*RoomBasicProto) GetRoomType ¶
func (x *RoomBasicProto) GetRoomType() int64
func (*RoomBasicProto) ProtoMessage ¶
func (*RoomBasicProto) ProtoMessage()
func (*RoomBasicProto) ProtoReflect ¶
func (x *RoomBasicProto) ProtoReflect() protoreflect.Message
func (*RoomBasicProto) Reset ¶
func (x *RoomBasicProto) Reset()
func (*RoomBasicProto) String ¶
func (x *RoomBasicProto) String() string
func (*RoomBasicProto) Validate ¶
func (m *RoomBasicProto) Validate() error
Validate checks the field values on RoomBasicProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoomBasicProto) ValidateAll ¶
func (m *RoomBasicProto) ValidateAll() error
ValidateAll checks the field values on RoomBasicProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoomBasicProtoMultiError, or nil if none found.
type RoomBasicProtoMultiError ¶
type RoomBasicProtoMultiError []error
RoomBasicProtoMultiError is an error wrapping multiple validation errors returned by RoomBasicProto.ValidateAll() if the designated constraints aren't met.
func (RoomBasicProtoMultiError) AllErrors ¶
func (m RoomBasicProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoomBasicProtoMultiError) Error ¶
func (m RoomBasicProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoomBasicProtoValidationError ¶
type RoomBasicProtoValidationError struct {
// contains filtered or unexported fields
}
RoomBasicProtoValidationError is the validation error returned by RoomBasicProto.Validate if the designated constraints aren't met.
func (RoomBasicProtoValidationError) Cause ¶
func (e RoomBasicProtoValidationError) Cause() error
Cause function returns cause value.
func (RoomBasicProtoValidationError) Error ¶
func (e RoomBasicProtoValidationError) Error() string
Error satisfies the builtin error interface
func (RoomBasicProtoValidationError) ErrorName ¶
func (e RoomBasicProtoValidationError) ErrorName() string
ErrorName returns error name.
func (RoomBasicProtoValidationError) Field ¶
func (e RoomBasicProtoValidationError) Field() string
Field function returns field value.
func (RoomBasicProtoValidationError) Key ¶
func (e RoomBasicProtoValidationError) Key() bool
Key function returns key value.
func (RoomBasicProtoValidationError) Reason ¶
func (e RoomBasicProtoValidationError) Reason() string
Reason function returns reason value.
type RoomMemberProto ¶
type RoomMemberProto struct { User *UserBasicProto `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // User basic data JoinedAt int64 `protobuf:"varint,2,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` // Joined at // contains filtered or unexported fields }
Room member
func (*RoomMemberProto) Descriptor
deprecated
func (*RoomMemberProto) Descriptor() ([]byte, []int)
Deprecated: Use RoomMemberProto.ProtoReflect.Descriptor instead.
func (*RoomMemberProto) GetJoinedAt ¶
func (x *RoomMemberProto) GetJoinedAt() int64
func (*RoomMemberProto) GetUser ¶
func (x *RoomMemberProto) GetUser() *UserBasicProto
func (*RoomMemberProto) ProtoMessage ¶
func (*RoomMemberProto) ProtoMessage()
func (*RoomMemberProto) ProtoReflect ¶
func (x *RoomMemberProto) ProtoReflect() protoreflect.Message
func (*RoomMemberProto) Reset ¶
func (x *RoomMemberProto) Reset()
func (*RoomMemberProto) String ¶
func (x *RoomMemberProto) String() string
func (*RoomMemberProto) Validate ¶
func (m *RoomMemberProto) Validate() error
Validate checks the field values on RoomMemberProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoomMemberProto) ValidateAll ¶
func (m *RoomMemberProto) ValidateAll() error
ValidateAll checks the field values on RoomMemberProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoomMemberProtoMultiError, or nil if none found.
type RoomMemberProtoMultiError ¶
type RoomMemberProtoMultiError []error
RoomMemberProtoMultiError is an error wrapping multiple validation errors returned by RoomMemberProto.ValidateAll() if the designated constraints aren't met.
func (RoomMemberProtoMultiError) AllErrors ¶
func (m RoomMemberProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoomMemberProtoMultiError) Error ¶
func (m RoomMemberProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoomMemberProtoValidationError ¶
type RoomMemberProtoValidationError struct {
// contains filtered or unexported fields
}
RoomMemberProtoValidationError is the validation error returned by RoomMemberProto.Validate if the designated constraints aren't met.
func (RoomMemberProtoValidationError) Cause ¶
func (e RoomMemberProtoValidationError) Cause() error
Cause function returns cause value.
func (RoomMemberProtoValidationError) Error ¶
func (e RoomMemberProtoValidationError) Error() string
Error satisfies the builtin error interface
func (RoomMemberProtoValidationError) ErrorName ¶
func (e RoomMemberProtoValidationError) ErrorName() string
ErrorName returns error name.
func (RoomMemberProtoValidationError) Field ¶
func (e RoomMemberProtoValidationError) Field() string
Field function returns field value.
func (RoomMemberProtoValidationError) Key ¶
func (e RoomMemberProtoValidationError) Key() bool
Key function returns key value.
func (RoomMemberProtoValidationError) Reason ¶
func (e RoomMemberProtoValidationError) Reason() string
Reason function returns reason value.
type RoomProto ¶
type RoomProto struct { Basic *RoomBasicProto `protobuf:"bytes,1,opt,name=basic,proto3" json:"basic,omitempty"` // Room basic data Members map[int64]*RoomMemberProto `` // user ID -> room member data /* 142-byte string literal not displayed */ Invitees []int64 `protobuf:"varint,3,rep,packed,name=invitees,proto3" json:"invitees,omitempty"` // Invitees Requests []int64 `protobuf:"varint,4,rep,packed,name=requests,proto3" json:"requests,omitempty"` // Requests // contains filtered or unexported fields }
Room data
func (*RoomProto) Descriptor
deprecated
func (*RoomProto) GetBasic ¶
func (x *RoomProto) GetBasic() *RoomBasicProto
func (*RoomProto) GetInvitees ¶
func (*RoomProto) GetMembers ¶
func (x *RoomProto) GetMembers() map[int64]*RoomMemberProto
func (*RoomProto) GetRequests ¶
func (*RoomProto) ProtoMessage ¶
func (*RoomProto) ProtoMessage()
func (*RoomProto) ProtoReflect ¶
func (x *RoomProto) ProtoReflect() protoreflect.Message
func (*RoomProto) Validate ¶
Validate checks the field values on RoomProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoomProto) ValidateAll ¶
ValidateAll checks the field values on RoomProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoomProtoMultiError, or nil if none found.
type RoomProtoMultiError ¶
type RoomProtoMultiError []error
RoomProtoMultiError is an error wrapping multiple validation errors returned by RoomProto.ValidateAll() if the designated constraints aren't met.
func (RoomProtoMultiError) AllErrors ¶
func (m RoomProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoomProtoMultiError) Error ¶
func (m RoomProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoomProtoValidationError ¶
type RoomProtoValidationError struct {
// contains filtered or unexported fields
}
RoomProtoValidationError is the validation error returned by RoomProto.Validate if the designated constraints aren't met.
func (RoomProtoValidationError) Cause ¶
func (e RoomProtoValidationError) Cause() error
Cause function returns cause value.
func (RoomProtoValidationError) Error ¶
func (e RoomProtoValidationError) Error() string
Error satisfies the builtin error interface
func (RoomProtoValidationError) ErrorName ¶
func (e RoomProtoValidationError) ErrorName() string
ErrorName returns error name.
func (RoomProtoValidationError) Field ¶
func (e RoomProtoValidationError) Field() string
Field function returns field value.
func (RoomProtoValidationError) Key ¶
func (e RoomProtoValidationError) Key() bool
Key function returns key value.
func (RoomProtoValidationError) Reason ¶
func (e RoomProtoValidationError) Reason() string
Reason function returns reason value.
type RoomServiceClient ¶
type RoomServiceClient interface { // Room List RoomList(ctx context.Context, in *CSRoomList, opts ...grpc.CallOption) (*SCRoomList, error) // Room detail RoomDetail(ctx context.Context, in *CSRoomDetail, opts ...grpc.CallOption) (*SCRoomDetail, error) // Create room CreateRoom(ctx context.Context, in *CSCreateRoom, opts ...grpc.CallOption) (*SCCreateRoom, error) // Invite to join room InviteToJoinRoom(ctx context.Context, in *CSInviteToJoinRoom, opts ...grpc.CallOption) (*SCInviteToJoinRoom, error) // Agree to invite to join room AgreeToInviteJoinRoom(ctx context.Context, in *CSAgreeToInviteJoinRoom, opts ...grpc.CallOption) (*SCAgreeToInviteJoinRoom, error) // Request to join room RequestToJoinRoom(ctx context.Context, in *CSRequestToJoinRoom, opts ...grpc.CallOption) (*SCRequestToJoinRoom, error) // Approve request to join room ApproveRequestToJoinRoom(ctx context.Context, in *CSApproveRequestToJoinRoom, opts ...grpc.CallOption) (*SCApproveRequestToJoinRoom, error) // Kick user from room KickUserFromRoom(ctx context.Context, in *CSKickUserFromRoom, opts ...grpc.CallOption) (*SCKickUserFromRoom, error) // Leave room LeaveRoom(ctx context.Context, in *CSLeaveRoom, opts ...grpc.CallOption) (*SCLeaveRoom, error) // Close room CloseRoom(ctx context.Context, in *CSCloseRoom, opts ...grpc.CallOption) (*SCCloseRoom, error) }
RoomServiceClient is the client API for RoomService 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.
Room service
func NewRoomServiceClient ¶
func NewRoomServiceClient(cc grpc.ClientConnInterface) RoomServiceClient
type RoomServiceHTTPClient ¶
type RoomServiceHTTPClient interface { AgreeToInviteJoinRoom(ctx context.Context, req *CSAgreeToInviteJoinRoom, opts ...http.CallOption) (rsp *SCAgreeToInviteJoinRoom, err error) ApproveRequestToJoinRoom(ctx context.Context, req *CSApproveRequestToJoinRoom, opts ...http.CallOption) (rsp *SCApproveRequestToJoinRoom, err error) CloseRoom(ctx context.Context, req *CSCloseRoom, opts ...http.CallOption) (rsp *SCCloseRoom, err error) CreateRoom(ctx context.Context, req *CSCreateRoom, opts ...http.CallOption) (rsp *SCCreateRoom, err error) InviteToJoinRoom(ctx context.Context, req *CSInviteToJoinRoom, opts ...http.CallOption) (rsp *SCInviteToJoinRoom, err error) KickUserFromRoom(ctx context.Context, req *CSKickUserFromRoom, opts ...http.CallOption) (rsp *SCKickUserFromRoom, err error) LeaveRoom(ctx context.Context, req *CSLeaveRoom, opts ...http.CallOption) (rsp *SCLeaveRoom, err error) RequestToJoinRoom(ctx context.Context, req *CSRequestToJoinRoom, opts ...http.CallOption) (rsp *SCRequestToJoinRoom, err error) RoomDetail(ctx context.Context, req *CSRoomDetail, opts ...http.CallOption) (rsp *SCRoomDetail, err error) RoomList(ctx context.Context, req *CSRoomList, opts ...http.CallOption) (rsp *SCRoomList, err error) }
func NewRoomServiceHTTPClient ¶
func NewRoomServiceHTTPClient(client *http.Client) RoomServiceHTTPClient
type RoomServiceHTTPClientImpl ¶
type RoomServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*RoomServiceHTTPClientImpl) AgreeToInviteJoinRoom ¶
func (c *RoomServiceHTTPClientImpl) AgreeToInviteJoinRoom(ctx context.Context, in *CSAgreeToInviteJoinRoom, opts ...http.CallOption) (*SCAgreeToInviteJoinRoom, error)
func (*RoomServiceHTTPClientImpl) ApproveRequestToJoinRoom ¶
func (c *RoomServiceHTTPClientImpl) ApproveRequestToJoinRoom(ctx context.Context, in *CSApproveRequestToJoinRoom, opts ...http.CallOption) (*SCApproveRequestToJoinRoom, error)
func (*RoomServiceHTTPClientImpl) CloseRoom ¶
func (c *RoomServiceHTTPClientImpl) CloseRoom(ctx context.Context, in *CSCloseRoom, opts ...http.CallOption) (*SCCloseRoom, error)
func (*RoomServiceHTTPClientImpl) CreateRoom ¶
func (c *RoomServiceHTTPClientImpl) CreateRoom(ctx context.Context, in *CSCreateRoom, opts ...http.CallOption) (*SCCreateRoom, error)
func (*RoomServiceHTTPClientImpl) InviteToJoinRoom ¶
func (c *RoomServiceHTTPClientImpl) InviteToJoinRoom(ctx context.Context, in *CSInviteToJoinRoom, opts ...http.CallOption) (*SCInviteToJoinRoom, error)
func (*RoomServiceHTTPClientImpl) KickUserFromRoom ¶
func (c *RoomServiceHTTPClientImpl) KickUserFromRoom(ctx context.Context, in *CSKickUserFromRoom, opts ...http.CallOption) (*SCKickUserFromRoom, error)
func (*RoomServiceHTTPClientImpl) LeaveRoom ¶
func (c *RoomServiceHTTPClientImpl) LeaveRoom(ctx context.Context, in *CSLeaveRoom, opts ...http.CallOption) (*SCLeaveRoom, error)
func (*RoomServiceHTTPClientImpl) RequestToJoinRoom ¶
func (c *RoomServiceHTTPClientImpl) RequestToJoinRoom(ctx context.Context, in *CSRequestToJoinRoom, opts ...http.CallOption) (*SCRequestToJoinRoom, error)
func (*RoomServiceHTTPClientImpl) RoomDetail ¶
func (c *RoomServiceHTTPClientImpl) RoomDetail(ctx context.Context, in *CSRoomDetail, opts ...http.CallOption) (*SCRoomDetail, error)
func (*RoomServiceHTTPClientImpl) RoomList ¶
func (c *RoomServiceHTTPClientImpl) RoomList(ctx context.Context, in *CSRoomList, opts ...http.CallOption) (*SCRoomList, error)
type RoomServiceHTTPServer ¶
type RoomServiceHTTPServer interface { // AgreeToInviteJoinRoom Agree to invite to join room AgreeToInviteJoinRoom(context.Context, *CSAgreeToInviteJoinRoom) (*SCAgreeToInviteJoinRoom, error) // ApproveRequestToJoinRoom Approve request to join room ApproveRequestToJoinRoom(context.Context, *CSApproveRequestToJoinRoom) (*SCApproveRequestToJoinRoom, error) // CloseRoom Close room CloseRoom(context.Context, *CSCloseRoom) (*SCCloseRoom, error) // CreateRoom Create room CreateRoom(context.Context, *CSCreateRoom) (*SCCreateRoom, error) // InviteToJoinRoom Invite to join room InviteToJoinRoom(context.Context, *CSInviteToJoinRoom) (*SCInviteToJoinRoom, error) // KickUserFromRoom Kick user from room KickUserFromRoom(context.Context, *CSKickUserFromRoom) (*SCKickUserFromRoom, error) // LeaveRoom Leave room LeaveRoom(context.Context, *CSLeaveRoom) (*SCLeaveRoom, error) // RequestToJoinRoom Request to join room RequestToJoinRoom(context.Context, *CSRequestToJoinRoom) (*SCRequestToJoinRoom, error) // RoomDetail Room detail RoomDetail(context.Context, *CSRoomDetail) (*SCRoomDetail, error) // RoomList Room List RoomList(context.Context, *CSRoomList) (*SCRoomList, error) }
type RoomServiceServer ¶
type RoomServiceServer interface { // Room List RoomList(context.Context, *CSRoomList) (*SCRoomList, error) // Room detail RoomDetail(context.Context, *CSRoomDetail) (*SCRoomDetail, error) // Create room CreateRoom(context.Context, *CSCreateRoom) (*SCCreateRoom, error) // Invite to join room InviteToJoinRoom(context.Context, *CSInviteToJoinRoom) (*SCInviteToJoinRoom, error) // Agree to invite to join room AgreeToInviteJoinRoom(context.Context, *CSAgreeToInviteJoinRoom) (*SCAgreeToInviteJoinRoom, error) // Request to join room RequestToJoinRoom(context.Context, *CSRequestToJoinRoom) (*SCRequestToJoinRoom, error) // Approve request to join room ApproveRequestToJoinRoom(context.Context, *CSApproveRequestToJoinRoom) (*SCApproveRequestToJoinRoom, error) // Kick user from room KickUserFromRoom(context.Context, *CSKickUserFromRoom) (*SCKickUserFromRoom, error) // Leave room LeaveRoom(context.Context, *CSLeaveRoom) (*SCLeaveRoom, error) // Close room CloseRoom(context.Context, *CSCloseRoom) (*SCCloseRoom, error) // contains filtered or unexported methods }
RoomServiceServer is the server API for RoomService service. All implementations must embed UnimplementedRoomServiceServer for forward compatibility.
Room service
type SCAgreeToInviteJoinRoom ¶
type SCAgreeToInviteJoinRoom struct { Code SCAgreeToInviteJoinRoom_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCAgreeToInviteJoinRoom_Code" json:"code,omitempty"` // Status code // contains filtered or unexported fields }
Response: Agree to invite to join room
func (*SCAgreeToInviteJoinRoom) Descriptor
deprecated
func (*SCAgreeToInviteJoinRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCAgreeToInviteJoinRoom.ProtoReflect.Descriptor instead.
func (*SCAgreeToInviteJoinRoom) GetCode ¶
func (x *SCAgreeToInviteJoinRoom) GetCode() SCAgreeToInviteJoinRoom_Code
func (*SCAgreeToInviteJoinRoom) ProtoMessage ¶
func (*SCAgreeToInviteJoinRoom) ProtoMessage()
func (*SCAgreeToInviteJoinRoom) ProtoReflect ¶
func (x *SCAgreeToInviteJoinRoom) ProtoReflect() protoreflect.Message
func (*SCAgreeToInviteJoinRoom) Reset ¶
func (x *SCAgreeToInviteJoinRoom) Reset()
func (*SCAgreeToInviteJoinRoom) String ¶
func (x *SCAgreeToInviteJoinRoom) String() string
func (*SCAgreeToInviteJoinRoom) Validate ¶
func (m *SCAgreeToInviteJoinRoom) Validate() error
Validate checks the field values on SCAgreeToInviteJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCAgreeToInviteJoinRoom) ValidateAll ¶
func (m *SCAgreeToInviteJoinRoom) ValidateAll() error
ValidateAll checks the field values on SCAgreeToInviteJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCAgreeToInviteJoinRoomMultiError, or nil if none found.
type SCAgreeToInviteJoinRoomMultiError ¶
type SCAgreeToInviteJoinRoomMultiError []error
SCAgreeToInviteJoinRoomMultiError is an error wrapping multiple validation errors returned by SCAgreeToInviteJoinRoom.ValidateAll() if the designated constraints aren't met.
func (SCAgreeToInviteJoinRoomMultiError) AllErrors ¶
func (m SCAgreeToInviteJoinRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCAgreeToInviteJoinRoomMultiError) Error ¶
func (m SCAgreeToInviteJoinRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCAgreeToInviteJoinRoomValidationError ¶
type SCAgreeToInviteJoinRoomValidationError struct {
// contains filtered or unexported fields
}
SCAgreeToInviteJoinRoomValidationError is the validation error returned by SCAgreeToInviteJoinRoom.Validate if the designated constraints aren't met.
func (SCAgreeToInviteJoinRoomValidationError) Cause ¶
func (e SCAgreeToInviteJoinRoomValidationError) Cause() error
Cause function returns cause value.
func (SCAgreeToInviteJoinRoomValidationError) Error ¶
func (e SCAgreeToInviteJoinRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCAgreeToInviteJoinRoomValidationError) ErrorName ¶
func (e SCAgreeToInviteJoinRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCAgreeToInviteJoinRoomValidationError) Field ¶
func (e SCAgreeToInviteJoinRoomValidationError) Field() string
Field function returns field value.
func (SCAgreeToInviteJoinRoomValidationError) Key ¶
func (e SCAgreeToInviteJoinRoomValidationError) Key() bool
Key function returns key value.
func (SCAgreeToInviteJoinRoomValidationError) Reason ¶
func (e SCAgreeToInviteJoinRoomValidationError) Reason() string
Reason function returns reason value.
type SCAgreeToInviteJoinRoom_Code ¶
type SCAgreeToInviteJoinRoom_Code int32
const ( SCAgreeToInviteJoinRoom_ErrUnspecified SCAgreeToInviteJoinRoom_Code = 0 // Please try again later SCAgreeToInviteJoinRoom_Succeeded SCAgreeToInviteJoinRoom_Code = 1 // Succeeded SCAgreeToInviteJoinRoom_ErrNotInRoom SCAgreeToInviteJoinRoom_Code = 2 // Not in room SCAgreeToInviteJoinRoom_ErrUserNotFound SCAgreeToInviteJoinRoom_Code = 4 // User not found SCAgreeToInviteJoinRoom_ErrUserAlreadyInRoom SCAgreeToInviteJoinRoom_Code = 5 // User already in room SCAgreeToInviteJoinRoom_ErrUserNotInvited SCAgreeToInviteJoinRoom_Code = 6 // User not invited )
func (SCAgreeToInviteJoinRoom_Code) Descriptor ¶
func (SCAgreeToInviteJoinRoom_Code) Descriptor() protoreflect.EnumDescriptor
func (SCAgreeToInviteJoinRoom_Code) Enum ¶
func (x SCAgreeToInviteJoinRoom_Code) Enum() *SCAgreeToInviteJoinRoom_Code
func (SCAgreeToInviteJoinRoom_Code) EnumDescriptor
deprecated
func (SCAgreeToInviteJoinRoom_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCAgreeToInviteJoinRoom_Code.Descriptor instead.
func (SCAgreeToInviteJoinRoom_Code) Number ¶
func (x SCAgreeToInviteJoinRoom_Code) Number() protoreflect.EnumNumber
func (SCAgreeToInviteJoinRoom_Code) String ¶
func (x SCAgreeToInviteJoinRoom_Code) String() string
func (SCAgreeToInviteJoinRoom_Code) Type ¶
func (SCAgreeToInviteJoinRoom_Code) Type() protoreflect.EnumType
type SCApproveRequestToJoinRoom ¶
type SCApproveRequestToJoinRoom struct { Code SCApproveRequestToJoinRoom_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCApproveRequestToJoinRoom_Code" json:"code,omitempty"` // Status code // contains filtered or unexported fields }
Response: Approve request to join room
func (*SCApproveRequestToJoinRoom) Descriptor
deprecated
func (*SCApproveRequestToJoinRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCApproveRequestToJoinRoom.ProtoReflect.Descriptor instead.
func (*SCApproveRequestToJoinRoom) GetCode ¶
func (x *SCApproveRequestToJoinRoom) GetCode() SCApproveRequestToJoinRoom_Code
func (*SCApproveRequestToJoinRoom) ProtoMessage ¶
func (*SCApproveRequestToJoinRoom) ProtoMessage()
func (*SCApproveRequestToJoinRoom) ProtoReflect ¶
func (x *SCApproveRequestToJoinRoom) ProtoReflect() protoreflect.Message
func (*SCApproveRequestToJoinRoom) Reset ¶
func (x *SCApproveRequestToJoinRoom) Reset()
func (*SCApproveRequestToJoinRoom) String ¶
func (x *SCApproveRequestToJoinRoom) String() string
func (*SCApproveRequestToJoinRoom) Validate ¶
func (m *SCApproveRequestToJoinRoom) Validate() error
Validate checks the field values on SCApproveRequestToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCApproveRequestToJoinRoom) ValidateAll ¶
func (m *SCApproveRequestToJoinRoom) ValidateAll() error
ValidateAll checks the field values on SCApproveRequestToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCApproveRequestToJoinRoomMultiError, or nil if none found.
type SCApproveRequestToJoinRoomMultiError ¶
type SCApproveRequestToJoinRoomMultiError []error
SCApproveRequestToJoinRoomMultiError is an error wrapping multiple validation errors returned by SCApproveRequestToJoinRoom.ValidateAll() if the designated constraints aren't met.
func (SCApproveRequestToJoinRoomMultiError) AllErrors ¶
func (m SCApproveRequestToJoinRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCApproveRequestToJoinRoomMultiError) Error ¶
func (m SCApproveRequestToJoinRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCApproveRequestToJoinRoomValidationError ¶
type SCApproveRequestToJoinRoomValidationError struct {
// contains filtered or unexported fields
}
SCApproveRequestToJoinRoomValidationError is the validation error returned by SCApproveRequestToJoinRoom.Validate if the designated constraints aren't met.
func (SCApproveRequestToJoinRoomValidationError) Cause ¶
func (e SCApproveRequestToJoinRoomValidationError) Cause() error
Cause function returns cause value.
func (SCApproveRequestToJoinRoomValidationError) Error ¶
func (e SCApproveRequestToJoinRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCApproveRequestToJoinRoomValidationError) ErrorName ¶
func (e SCApproveRequestToJoinRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCApproveRequestToJoinRoomValidationError) Field ¶
func (e SCApproveRequestToJoinRoomValidationError) Field() string
Field function returns field value.
func (SCApproveRequestToJoinRoomValidationError) Key ¶
func (e SCApproveRequestToJoinRoomValidationError) Key() bool
Key function returns key value.
func (SCApproveRequestToJoinRoomValidationError) Reason ¶
func (e SCApproveRequestToJoinRoomValidationError) Reason() string
Reason function returns reason value.
type SCApproveRequestToJoinRoom_Code ¶
type SCApproveRequestToJoinRoom_Code int32
const ( SCApproveRequestToJoinRoom_ErrUnspecified SCApproveRequestToJoinRoom_Code = 0 // Please try again later SCApproveRequestToJoinRoom_Succeeded SCApproveRequestToJoinRoom_Code = 1 // Succeeded SCApproveRequestToJoinRoom_ErrNotInRoom SCApproveRequestToJoinRoom_Code = 2 // Not in room SCApproveRequestToJoinRoom_ErrUserNotFound SCApproveRequestToJoinRoom_Code = 4 // User not found SCApproveRequestToJoinRoom_ErrUserAlreadyInRoom SCApproveRequestToJoinRoom_Code = 5 // User already in room SCApproveRequestToJoinRoom_ErrUserNotRequested SCApproveRequestToJoinRoom_Code = 6 // User not requested )
func (SCApproveRequestToJoinRoom_Code) Descriptor ¶
func (SCApproveRequestToJoinRoom_Code) Descriptor() protoreflect.EnumDescriptor
func (SCApproveRequestToJoinRoom_Code) Enum ¶
func (x SCApproveRequestToJoinRoom_Code) Enum() *SCApproveRequestToJoinRoom_Code
func (SCApproveRequestToJoinRoom_Code) EnumDescriptor
deprecated
func (SCApproveRequestToJoinRoom_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCApproveRequestToJoinRoom_Code.Descriptor instead.
func (SCApproveRequestToJoinRoom_Code) Number ¶
func (x SCApproveRequestToJoinRoom_Code) Number() protoreflect.EnumNumber
func (SCApproveRequestToJoinRoom_Code) String ¶
func (x SCApproveRequestToJoinRoom_Code) String() string
func (SCApproveRequestToJoinRoom_Code) Type ¶
func (SCApproveRequestToJoinRoom_Code) Type() protoreflect.EnumType
type SCCloseRoom ¶
type SCCloseRoom struct { Code SCCloseRoom_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCCloseRoom_Code" json:"code,omitempty"` // Status code // contains filtered or unexported fields }
Response: Close room
func (*SCCloseRoom) Descriptor
deprecated
func (*SCCloseRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCCloseRoom.ProtoReflect.Descriptor instead.
func (*SCCloseRoom) GetCode ¶
func (x *SCCloseRoom) GetCode() SCCloseRoom_Code
func (*SCCloseRoom) ProtoMessage ¶
func (*SCCloseRoom) ProtoMessage()
func (*SCCloseRoom) ProtoReflect ¶
func (x *SCCloseRoom) ProtoReflect() protoreflect.Message
func (*SCCloseRoom) Reset ¶
func (x *SCCloseRoom) Reset()
func (*SCCloseRoom) String ¶
func (x *SCCloseRoom) String() string
func (*SCCloseRoom) Validate ¶
func (m *SCCloseRoom) Validate() error
Validate checks the field values on SCCloseRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCCloseRoom) ValidateAll ¶
func (m *SCCloseRoom) ValidateAll() error
ValidateAll checks the field values on SCCloseRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCCloseRoomMultiError, or nil if none found.
type SCCloseRoomMultiError ¶
type SCCloseRoomMultiError []error
SCCloseRoomMultiError is an error wrapping multiple validation errors returned by SCCloseRoom.ValidateAll() if the designated constraints aren't met.
func (SCCloseRoomMultiError) AllErrors ¶
func (m SCCloseRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCCloseRoomMultiError) Error ¶
func (m SCCloseRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCCloseRoomValidationError ¶
type SCCloseRoomValidationError struct {
// contains filtered or unexported fields
}
SCCloseRoomValidationError is the validation error returned by SCCloseRoom.Validate if the designated constraints aren't met.
func (SCCloseRoomValidationError) Cause ¶
func (e SCCloseRoomValidationError) Cause() error
Cause function returns cause value.
func (SCCloseRoomValidationError) Error ¶
func (e SCCloseRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCCloseRoomValidationError) ErrorName ¶
func (e SCCloseRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCCloseRoomValidationError) Field ¶
func (e SCCloseRoomValidationError) Field() string
Field function returns field value.
func (SCCloseRoomValidationError) Key ¶
func (e SCCloseRoomValidationError) Key() bool
Key function returns key value.
func (SCCloseRoomValidationError) Reason ¶
func (e SCCloseRoomValidationError) Reason() string
Reason function returns reason value.
type SCCloseRoom_Code ¶
type SCCloseRoom_Code int32
const ( SCCloseRoom_ErrUnspecified SCCloseRoom_Code = 0 // Please try again later SCCloseRoom_Succeeded SCCloseRoom_Code = 1 // Succeeded SCCloseRoom_ErrNotInRoom SCCloseRoom_Code = 2 // Not in room )
func (SCCloseRoom_Code) Descriptor ¶
func (SCCloseRoom_Code) Descriptor() protoreflect.EnumDescriptor
func (SCCloseRoom_Code) Enum ¶
func (x SCCloseRoom_Code) Enum() *SCCloseRoom_Code
func (SCCloseRoom_Code) EnumDescriptor
deprecated
func (SCCloseRoom_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCCloseRoom_Code.Descriptor instead.
func (SCCloseRoom_Code) Number ¶
func (x SCCloseRoom_Code) Number() protoreflect.EnumNumber
func (SCCloseRoom_Code) String ¶
func (x SCCloseRoom_Code) String() string
func (SCCloseRoom_Code) Type ¶
func (SCCloseRoom_Code) Type() protoreflect.EnumType
type SCCreateRoom ¶
type SCCreateRoom struct { Code SCCreateRoom_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCCreateRoom_Code" json:"code,omitempty"` // Status code Room *RoomProto `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // Room data // contains filtered or unexported fields }
Response: Create room
func (*SCCreateRoom) Descriptor
deprecated
func (*SCCreateRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCCreateRoom.ProtoReflect.Descriptor instead.
func (*SCCreateRoom) GetCode ¶
func (x *SCCreateRoom) GetCode() SCCreateRoom_Code
func (*SCCreateRoom) GetRoom ¶
func (x *SCCreateRoom) GetRoom() *RoomProto
func (*SCCreateRoom) ProtoMessage ¶
func (*SCCreateRoom) ProtoMessage()
func (*SCCreateRoom) ProtoReflect ¶
func (x *SCCreateRoom) ProtoReflect() protoreflect.Message
func (*SCCreateRoom) Reset ¶
func (x *SCCreateRoom) Reset()
func (*SCCreateRoom) String ¶
func (x *SCCreateRoom) String() string
func (*SCCreateRoom) Validate ¶
func (m *SCCreateRoom) Validate() error
Validate checks the field values on SCCreateRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCCreateRoom) ValidateAll ¶
func (m *SCCreateRoom) ValidateAll() error
ValidateAll checks the field values on SCCreateRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCCreateRoomMultiError, or nil if none found.
type SCCreateRoomMultiError ¶
type SCCreateRoomMultiError []error
SCCreateRoomMultiError is an error wrapping multiple validation errors returned by SCCreateRoom.ValidateAll() if the designated constraints aren't met.
func (SCCreateRoomMultiError) AllErrors ¶
func (m SCCreateRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCCreateRoomMultiError) Error ¶
func (m SCCreateRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCCreateRoomValidationError ¶
type SCCreateRoomValidationError struct {
// contains filtered or unexported fields
}
SCCreateRoomValidationError is the validation error returned by SCCreateRoom.Validate if the designated constraints aren't met.
func (SCCreateRoomValidationError) Cause ¶
func (e SCCreateRoomValidationError) Cause() error
Cause function returns cause value.
func (SCCreateRoomValidationError) Error ¶
func (e SCCreateRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCCreateRoomValidationError) ErrorName ¶
func (e SCCreateRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCCreateRoomValidationError) Field ¶
func (e SCCreateRoomValidationError) Field() string
Field function returns field value.
func (SCCreateRoomValidationError) Key ¶
func (e SCCreateRoomValidationError) Key() bool
Key function returns key value.
func (SCCreateRoomValidationError) Reason ¶
func (e SCCreateRoomValidationError) Reason() string
Reason function returns reason value.
type SCCreateRoom_Code ¶
type SCCreateRoom_Code int32
const ( SCCreateRoom_ErrUnspecified SCCreateRoom_Code = 0 // Please try again later SCCreateRoom_Succeeded SCCreateRoom_Code = 1 // Succeeded SCCreateRoom_ErrRoomTypeInvalid SCCreateRoom_Code = 2 // Room type invalid SCCreateRoom_ErrAlreadyInRoom SCCreateRoom_Code = 3 // Already in room )
func (SCCreateRoom_Code) Descriptor ¶
func (SCCreateRoom_Code) Descriptor() protoreflect.EnumDescriptor
func (SCCreateRoom_Code) Enum ¶
func (x SCCreateRoom_Code) Enum() *SCCreateRoom_Code
func (SCCreateRoom_Code) EnumDescriptor
deprecated
func (SCCreateRoom_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCCreateRoom_Code.Descriptor instead.
func (SCCreateRoom_Code) Number ¶
func (x SCCreateRoom_Code) Number() protoreflect.EnumNumber
func (SCCreateRoom_Code) String ¶
func (x SCCreateRoom_Code) String() string
func (SCCreateRoom_Code) Type ¶
func (SCCreateRoom_Code) Type() protoreflect.EnumType
type SCDevExecute ¶
type SCDevExecute struct { Code SCDevExecute_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCDevExecute_Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Result information, JSON format // contains filtered or unexported fields }
Response: Execute Dev command
func (*SCDevExecute) Descriptor
deprecated
func (*SCDevExecute) Descriptor() ([]byte, []int)
Deprecated: Use SCDevExecute.ProtoReflect.Descriptor instead.
func (*SCDevExecute) GetCode ¶
func (x *SCDevExecute) GetCode() SCDevExecute_Code
func (*SCDevExecute) GetMessage ¶
func (x *SCDevExecute) GetMessage() string
func (*SCDevExecute) ProtoMessage ¶
func (*SCDevExecute) ProtoMessage()
func (*SCDevExecute) ProtoReflect ¶
func (x *SCDevExecute) ProtoReflect() protoreflect.Message
func (*SCDevExecute) Reset ¶
func (x *SCDevExecute) Reset()
func (*SCDevExecute) String ¶
func (x *SCDevExecute) String() string
func (*SCDevExecute) Validate ¶
func (m *SCDevExecute) Validate() error
Validate checks the field values on SCDevExecute with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCDevExecute) ValidateAll ¶
func (m *SCDevExecute) ValidateAll() error
ValidateAll checks the field values on SCDevExecute with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCDevExecuteMultiError, or nil if none found.
type SCDevExecuteMultiError ¶
type SCDevExecuteMultiError []error
SCDevExecuteMultiError is an error wrapping multiple validation errors returned by SCDevExecute.ValidateAll() if the designated constraints aren't met.
func (SCDevExecuteMultiError) AllErrors ¶
func (m SCDevExecuteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCDevExecuteMultiError) Error ¶
func (m SCDevExecuteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCDevExecuteValidationError ¶
type SCDevExecuteValidationError struct {
// contains filtered or unexported fields
}
SCDevExecuteValidationError is the validation error returned by SCDevExecute.Validate if the designated constraints aren't met.
func (SCDevExecuteValidationError) Cause ¶
func (e SCDevExecuteValidationError) Cause() error
Cause function returns cause value.
func (SCDevExecuteValidationError) Error ¶
func (e SCDevExecuteValidationError) Error() string
Error satisfies the builtin error interface
func (SCDevExecuteValidationError) ErrorName ¶
func (e SCDevExecuteValidationError) ErrorName() string
ErrorName returns error name.
func (SCDevExecuteValidationError) Field ¶
func (e SCDevExecuteValidationError) Field() string
Field function returns field value.
func (SCDevExecuteValidationError) Key ¶
func (e SCDevExecuteValidationError) Key() bool
Key function returns key value.
func (SCDevExecuteValidationError) Reason ¶
func (e SCDevExecuteValidationError) Reason() string
Reason function returns reason value.
type SCDevExecute_Code ¶
type SCDevExecute_Code int32
const ( SCDevExecute_ErrUnspecified SCDevExecute_Code = 0 // Please try again later SCDevExecute_Succeeded SCDevExecute_Code = 1 // Succeeded SCDevExecute_ErrModNotExist SCDevExecute_Code = 2 // Command module does not exist SCDevExecute_ErrNameNotExist SCDevExecute_Code = 3 // Command name does not exist SCDevExecute_ErrArgNotExist SCDevExecute_Code = 4 // Parameter does not exist SCDevExecute_ErrArgIllegal SCDevExecute_Code = 5 // Parameter error SCDevExecute_ErrArgFormat SCDevExecute_Code = 6 // Parameter format error )
func (SCDevExecute_Code) Descriptor ¶
func (SCDevExecute_Code) Descriptor() protoreflect.EnumDescriptor
func (SCDevExecute_Code) Enum ¶
func (x SCDevExecute_Code) Enum() *SCDevExecute_Code
func (SCDevExecute_Code) EnumDescriptor
deprecated
func (SCDevExecute_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCDevExecute_Code.Descriptor instead.
func (SCDevExecute_Code) Number ¶
func (x SCDevExecute_Code) Number() protoreflect.EnumNumber
func (SCDevExecute_Code) String ¶
func (x SCDevExecute_Code) String() string
func (SCDevExecute_Code) Type ¶
func (SCDevExecute_Code) Type() protoreflect.EnumType
type SCDevList ¶
type SCDevList struct { Code SCDevList_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCDevList_Code" json:"code,omitempty"` Commands []*DevCmdProto `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"` // Dev command list // contains filtered or unexported fields }
Response: Dev command list
func (*SCDevList) Descriptor
deprecated
func (*SCDevList) GetCode ¶
func (x *SCDevList) GetCode() SCDevList_Code
func (*SCDevList) GetCommands ¶
func (x *SCDevList) GetCommands() []*DevCmdProto
func (*SCDevList) ProtoMessage ¶
func (*SCDevList) ProtoMessage()
func (*SCDevList) ProtoReflect ¶
func (x *SCDevList) ProtoReflect() protoreflect.Message
func (*SCDevList) Validate ¶
Validate checks the field values on SCDevList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCDevList) ValidateAll ¶
ValidateAll checks the field values on SCDevList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCDevListMultiError, or nil if none found.
type SCDevListMultiError ¶
type SCDevListMultiError []error
SCDevListMultiError is an error wrapping multiple validation errors returned by SCDevList.ValidateAll() if the designated constraints aren't met.
func (SCDevListMultiError) AllErrors ¶
func (m SCDevListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCDevListMultiError) Error ¶
func (m SCDevListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCDevListValidationError ¶
type SCDevListValidationError struct {
// contains filtered or unexported fields
}
SCDevListValidationError is the validation error returned by SCDevList.Validate if the designated constraints aren't met.
func (SCDevListValidationError) Cause ¶
func (e SCDevListValidationError) Cause() error
Cause function returns cause value.
func (SCDevListValidationError) Error ¶
func (e SCDevListValidationError) Error() string
Error satisfies the builtin error interface
func (SCDevListValidationError) ErrorName ¶
func (e SCDevListValidationError) ErrorName() string
ErrorName returns error name.
func (SCDevListValidationError) Field ¶
func (e SCDevListValidationError) Field() string
Field function returns field value.
func (SCDevListValidationError) Key ¶
func (e SCDevListValidationError) Key() bool
Key function returns key value.
func (SCDevListValidationError) Reason ¶
func (e SCDevListValidationError) Reason() string
Reason function returns reason value.
type SCDevList_Code ¶
type SCDevList_Code int32
const ( SCDevList_ErrUnspecified SCDevList_Code = 0 // Please try again later SCDevList_Succeeded SCDevList_Code = 1 // Succeeded )
func (SCDevList_Code) Descriptor ¶
func (SCDevList_Code) Descriptor() protoreflect.EnumDescriptor
func (SCDevList_Code) Enum ¶
func (x SCDevList_Code) Enum() *SCDevList_Code
func (SCDevList_Code) EnumDescriptor
deprecated
func (SCDevList_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCDevList_Code.Descriptor instead.
func (SCDevList_Code) Number ¶
func (x SCDevList_Code) Number() protoreflect.EnumNumber
func (SCDevList_Code) String ¶
func (x SCDevList_Code) String() string
func (SCDevList_Code) Type ¶
func (SCDevList_Code) Type() protoreflect.EnumType
type SCEquipTakeOff ¶
type SCEquipTakeOff struct { Code SCEquipTakeOff_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCEquipTakeOff_Code" json:"code,omitempty"` Equip *EquipProto `protobuf:"bytes,2,opt,name=equip,proto3" json:"equip,omitempty"` // Updated equipment // contains filtered or unexported fields }
Response: Take off equipment
func (*SCEquipTakeOff) Descriptor
deprecated
func (*SCEquipTakeOff) Descriptor() ([]byte, []int)
Deprecated: Use SCEquipTakeOff.ProtoReflect.Descriptor instead.
func (*SCEquipTakeOff) GetCode ¶
func (x *SCEquipTakeOff) GetCode() SCEquipTakeOff_Code
func (*SCEquipTakeOff) GetEquip ¶
func (x *SCEquipTakeOff) GetEquip() *EquipProto
func (*SCEquipTakeOff) ProtoMessage ¶
func (*SCEquipTakeOff) ProtoMessage()
func (*SCEquipTakeOff) ProtoReflect ¶
func (x *SCEquipTakeOff) ProtoReflect() protoreflect.Message
func (*SCEquipTakeOff) Reset ¶
func (x *SCEquipTakeOff) Reset()
func (*SCEquipTakeOff) String ¶
func (x *SCEquipTakeOff) String() string
func (*SCEquipTakeOff) Validate ¶
func (m *SCEquipTakeOff) Validate() error
Validate checks the field values on SCEquipTakeOff with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCEquipTakeOff) ValidateAll ¶
func (m *SCEquipTakeOff) ValidateAll() error
ValidateAll checks the field values on SCEquipTakeOff with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCEquipTakeOffMultiError, or nil if none found.
type SCEquipTakeOffMultiError ¶
type SCEquipTakeOffMultiError []error
SCEquipTakeOffMultiError is an error wrapping multiple validation errors returned by SCEquipTakeOff.ValidateAll() if the designated constraints aren't met.
func (SCEquipTakeOffMultiError) AllErrors ¶
func (m SCEquipTakeOffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCEquipTakeOffMultiError) Error ¶
func (m SCEquipTakeOffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCEquipTakeOffValidationError ¶
type SCEquipTakeOffValidationError struct {
// contains filtered or unexported fields
}
SCEquipTakeOffValidationError is the validation error returned by SCEquipTakeOff.Validate if the designated constraints aren't met.
func (SCEquipTakeOffValidationError) Cause ¶
func (e SCEquipTakeOffValidationError) Cause() error
Cause function returns cause value.
func (SCEquipTakeOffValidationError) Error ¶
func (e SCEquipTakeOffValidationError) Error() string
Error satisfies the builtin error interface
func (SCEquipTakeOffValidationError) ErrorName ¶
func (e SCEquipTakeOffValidationError) ErrorName() string
ErrorName returns error name.
func (SCEquipTakeOffValidationError) Field ¶
func (e SCEquipTakeOffValidationError) Field() string
Field function returns field value.
func (SCEquipTakeOffValidationError) Key ¶
func (e SCEquipTakeOffValidationError) Key() bool
Key function returns key value.
func (SCEquipTakeOffValidationError) Reason ¶
func (e SCEquipTakeOffValidationError) Reason() string
Reason function returns reason value.
type SCEquipTakeOff_Code ¶
type SCEquipTakeOff_Code int32
const ( SCEquipTakeOff_ErrUnspecified SCEquipTakeOff_Code = 0 // Please try again later SCEquipTakeOff_Succeeded SCEquipTakeOff_Code = 1 // Succeeded SCEquipTakeOff_ErrEquipNotExist SCEquipTakeOff_Code = 2 // Equipment does not exist SCEquipTakeOff_ErrNotWearing SCEquipTakeOff_Code = 3 // Not wearing )
func (SCEquipTakeOff_Code) Descriptor ¶
func (SCEquipTakeOff_Code) Descriptor() protoreflect.EnumDescriptor
func (SCEquipTakeOff_Code) Enum ¶
func (x SCEquipTakeOff_Code) Enum() *SCEquipTakeOff_Code
func (SCEquipTakeOff_Code) EnumDescriptor
deprecated
func (SCEquipTakeOff_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCEquipTakeOff_Code.Descriptor instead.
func (SCEquipTakeOff_Code) Number ¶
func (x SCEquipTakeOff_Code) Number() protoreflect.EnumNumber
func (SCEquipTakeOff_Code) String ¶
func (x SCEquipTakeOff_Code) String() string
func (SCEquipTakeOff_Code) Type ¶
func (SCEquipTakeOff_Code) Type() protoreflect.EnumType
type SCEquipUpgrade ¶
type SCEquipUpgrade struct { Code SCEquipUpgrade_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCEquipUpgrade_Code" json:"code,omitempty"` Equip *EquipProto `protobuf:"bytes,2,opt,name=equip,proto3" json:"equip,omitempty"` // Upgraded equipment Costs map[int64]int64 `` // Consumed materials /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Response: Equipment upgrade
func (*SCEquipUpgrade) Descriptor
deprecated
func (*SCEquipUpgrade) Descriptor() ([]byte, []int)
Deprecated: Use SCEquipUpgrade.ProtoReflect.Descriptor instead.
func (*SCEquipUpgrade) GetCode ¶
func (x *SCEquipUpgrade) GetCode() SCEquipUpgrade_Code
func (*SCEquipUpgrade) GetCosts ¶
func (x *SCEquipUpgrade) GetCosts() map[int64]int64
func (*SCEquipUpgrade) GetEquip ¶
func (x *SCEquipUpgrade) GetEquip() *EquipProto
func (*SCEquipUpgrade) ProtoMessage ¶
func (*SCEquipUpgrade) ProtoMessage()
func (*SCEquipUpgrade) ProtoReflect ¶
func (x *SCEquipUpgrade) ProtoReflect() protoreflect.Message
func (*SCEquipUpgrade) Reset ¶
func (x *SCEquipUpgrade) Reset()
func (*SCEquipUpgrade) String ¶
func (x *SCEquipUpgrade) String() string
func (*SCEquipUpgrade) Validate ¶
func (m *SCEquipUpgrade) Validate() error
Validate checks the field values on SCEquipUpgrade with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCEquipUpgrade) ValidateAll ¶
func (m *SCEquipUpgrade) ValidateAll() error
ValidateAll checks the field values on SCEquipUpgrade with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCEquipUpgradeMultiError, or nil if none found.
type SCEquipUpgradeMultiError ¶
type SCEquipUpgradeMultiError []error
SCEquipUpgradeMultiError is an error wrapping multiple validation errors returned by SCEquipUpgrade.ValidateAll() if the designated constraints aren't met.
func (SCEquipUpgradeMultiError) AllErrors ¶
func (m SCEquipUpgradeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCEquipUpgradeMultiError) Error ¶
func (m SCEquipUpgradeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCEquipUpgradeValidationError ¶
type SCEquipUpgradeValidationError struct {
// contains filtered or unexported fields
}
SCEquipUpgradeValidationError is the validation error returned by SCEquipUpgrade.Validate if the designated constraints aren't met.
func (SCEquipUpgradeValidationError) Cause ¶
func (e SCEquipUpgradeValidationError) Cause() error
Cause function returns cause value.
func (SCEquipUpgradeValidationError) Error ¶
func (e SCEquipUpgradeValidationError) Error() string
Error satisfies the builtin error interface
func (SCEquipUpgradeValidationError) ErrorName ¶
func (e SCEquipUpgradeValidationError) ErrorName() string
ErrorName returns error name.
func (SCEquipUpgradeValidationError) Field ¶
func (e SCEquipUpgradeValidationError) Field() string
Field function returns field value.
func (SCEquipUpgradeValidationError) Key ¶
func (e SCEquipUpgradeValidationError) Key() bool
Key function returns key value.
func (SCEquipUpgradeValidationError) Reason ¶
func (e SCEquipUpgradeValidationError) Reason() string
Reason function returns reason value.
type SCEquipUpgrade_Code ¶
type SCEquipUpgrade_Code int32
const ( SCEquipUpgrade_ErrUnspecified SCEquipUpgrade_Code = 0 // Please try again later SCEquipUpgrade_Succeeded SCEquipUpgrade_Code = 1 // Succeeded SCEquipUpgrade_ErrEquipNotExist SCEquipUpgrade_Code = 2 // Equipment does not exist SCEquipUpgrade_ErrMaxLevel SCEquipUpgrade_Code = 3 // Already max level SCEquipUpgrade_ErrCostNotEnough SCEquipUpgrade_Code = 4 // Cost not enough )
func (SCEquipUpgrade_Code) Descriptor ¶
func (SCEquipUpgrade_Code) Descriptor() protoreflect.EnumDescriptor
func (SCEquipUpgrade_Code) Enum ¶
func (x SCEquipUpgrade_Code) Enum() *SCEquipUpgrade_Code
func (SCEquipUpgrade_Code) EnumDescriptor
deprecated
func (SCEquipUpgrade_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCEquipUpgrade_Code.Descriptor instead.
func (SCEquipUpgrade_Code) Number ¶
func (x SCEquipUpgrade_Code) Number() protoreflect.EnumNumber
func (SCEquipUpgrade_Code) String ¶
func (x SCEquipUpgrade_Code) String() string
func (SCEquipUpgrade_Code) Type ¶
func (SCEquipUpgrade_Code) Type() protoreflect.EnumType
type SCEquipWear ¶
type SCEquipWear struct { Code SCEquipWear_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCEquipWear_Code" json:"code,omitempty"` ReplacedEquipId int64 `protobuf:"varint,2,opt,name=replaced_equip_id,json=replacedEquipId,proto3" json:"replaced_equip_id,omitempty"` // Taken off equipment ID // contains filtered or unexported fields }
Response: Wear equipment
func (*SCEquipWear) Descriptor
deprecated
func (*SCEquipWear) Descriptor() ([]byte, []int)
Deprecated: Use SCEquipWear.ProtoReflect.Descriptor instead.
func (*SCEquipWear) GetCode ¶
func (x *SCEquipWear) GetCode() SCEquipWear_Code
func (*SCEquipWear) GetReplacedEquipId ¶
func (x *SCEquipWear) GetReplacedEquipId() int64
func (*SCEquipWear) ProtoMessage ¶
func (*SCEquipWear) ProtoMessage()
func (*SCEquipWear) ProtoReflect ¶
func (x *SCEquipWear) ProtoReflect() protoreflect.Message
func (*SCEquipWear) Reset ¶
func (x *SCEquipWear) Reset()
func (*SCEquipWear) String ¶
func (x *SCEquipWear) String() string
func (*SCEquipWear) Validate ¶
func (m *SCEquipWear) Validate() error
Validate checks the field values on SCEquipWear with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCEquipWear) ValidateAll ¶
func (m *SCEquipWear) ValidateAll() error
ValidateAll checks the field values on SCEquipWear with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCEquipWearMultiError, or nil if none found.
type SCEquipWearMultiError ¶
type SCEquipWearMultiError []error
SCEquipWearMultiError is an error wrapping multiple validation errors returned by SCEquipWear.ValidateAll() if the designated constraints aren't met.
func (SCEquipWearMultiError) AllErrors ¶
func (m SCEquipWearMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCEquipWearMultiError) Error ¶
func (m SCEquipWearMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCEquipWearValidationError ¶
type SCEquipWearValidationError struct {
// contains filtered or unexported fields
}
SCEquipWearValidationError is the validation error returned by SCEquipWear.Validate if the designated constraints aren't met.
func (SCEquipWearValidationError) Cause ¶
func (e SCEquipWearValidationError) Cause() error
Cause function returns cause value.
func (SCEquipWearValidationError) Error ¶
func (e SCEquipWearValidationError) Error() string
Error satisfies the builtin error interface
func (SCEquipWearValidationError) ErrorName ¶
func (e SCEquipWearValidationError) ErrorName() string
ErrorName returns error name.
func (SCEquipWearValidationError) Field ¶
func (e SCEquipWearValidationError) Field() string
Field function returns field value.
func (SCEquipWearValidationError) Key ¶
func (e SCEquipWearValidationError) Key() bool
Key function returns key value.
func (SCEquipWearValidationError) Reason ¶
func (e SCEquipWearValidationError) Reason() string
Reason function returns reason value.
type SCEquipWear_Code ¶
type SCEquipWear_Code int32
const ( SCEquipWear_ErrUnspecified SCEquipWear_Code = 0 // Please try again later SCEquipWear_Succeeded SCEquipWear_Code = 1 // Succeeded SCEquipWear_ErrEquipNotExist SCEquipWear_Code = 2 // Equipment does not exist SCEquipWear_ErrHeroNotExist SCEquipWear_Code = 3 // Hero does not exist SCEquipWear_ErrAlreadyWorn SCEquipWear_Code = 4 // Already worn )
func (SCEquipWear_Code) Descriptor ¶
func (SCEquipWear_Code) Descriptor() protoreflect.EnumDescriptor
func (SCEquipWear_Code) Enum ¶
func (x SCEquipWear_Code) Enum() *SCEquipWear_Code
func (SCEquipWear_Code) EnumDescriptor
deprecated
func (SCEquipWear_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCEquipWear_Code.Descriptor instead.
func (SCEquipWear_Code) Number ¶
func (x SCEquipWear_Code) Number() protoreflect.EnumNumber
func (SCEquipWear_Code) String ¶
func (x SCEquipWear_Code) String() string
func (SCEquipWear_Code) Type ¶
func (SCEquipWear_Code) Type() protoreflect.EnumType
type SCHandshake ¶
type SCHandshake struct { Pub []byte `protobuf:"bytes,1,opt,name=pub,proto3" json:"pub,omitempty"` // Server ECDH public key Sign []byte `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"` // Server ECDH public key signature Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp CertVersion int32 `protobuf:"varint,4,opt,name=cert_version,json=certVersion,proto3" json:"cert_version,omitempty"` // Signature version StartIndex int32 `protobuf:"varint,5,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` // The index number of the next message to send // contains filtered or unexported fields }
Handshake response
func (*SCHandshake) Descriptor
deprecated
func (*SCHandshake) Descriptor() ([]byte, []int)
Deprecated: Use SCHandshake.ProtoReflect.Descriptor instead.
func (*SCHandshake) GetCertVersion ¶
func (x *SCHandshake) GetCertVersion() int32
func (*SCHandshake) GetPub ¶
func (x *SCHandshake) GetPub() []byte
func (*SCHandshake) GetSign ¶
func (x *SCHandshake) GetSign() []byte
func (*SCHandshake) GetStartIndex ¶
func (x *SCHandshake) GetStartIndex() int32
func (*SCHandshake) GetTimestamp ¶
func (x *SCHandshake) GetTimestamp() int64
func (*SCHandshake) ProtoMessage ¶
func (*SCHandshake) ProtoMessage()
func (*SCHandshake) ProtoReflect ¶
func (x *SCHandshake) ProtoReflect() protoreflect.Message
func (*SCHandshake) Reset ¶
func (x *SCHandshake) Reset()
func (*SCHandshake) String ¶
func (x *SCHandshake) String() string
func (*SCHandshake) Validate ¶
func (m *SCHandshake) Validate() error
Validate checks the field values on SCHandshake with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCHandshake) ValidateAll ¶
func (m *SCHandshake) ValidateAll() error
ValidateAll checks the field values on SCHandshake with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCHandshakeMultiError, or nil if none found.
type SCHandshakeMultiError ¶
type SCHandshakeMultiError []error
SCHandshakeMultiError is an error wrapping multiple validation errors returned by SCHandshake.ValidateAll() if the designated constraints aren't met.
func (SCHandshakeMultiError) AllErrors ¶
func (m SCHandshakeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCHandshakeMultiError) Error ¶
func (m SCHandshakeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCHandshakeValidationError ¶
type SCHandshakeValidationError struct {
// contains filtered or unexported fields
}
SCHandshakeValidationError is the validation error returned by SCHandshake.Validate if the designated constraints aren't met.
func (SCHandshakeValidationError) Cause ¶
func (e SCHandshakeValidationError) Cause() error
Cause function returns cause value.
func (SCHandshakeValidationError) Error ¶
func (e SCHandshakeValidationError) Error() string
Error satisfies the builtin error interface
func (SCHandshakeValidationError) ErrorName ¶
func (e SCHandshakeValidationError) ErrorName() string
ErrorName returns error name.
func (SCHandshakeValidationError) Field ¶
func (e SCHandshakeValidationError) Field() string
Field function returns field value.
func (SCHandshakeValidationError) Key ¶
func (e SCHandshakeValidationError) Key() bool
Key function returns key value.
func (SCHandshakeValidationError) Reason ¶
func (e SCHandshakeValidationError) Reason() string
Reason function returns reason value.
type SCHeartbeat ¶
type SCHeartbeat struct { ServerTime int64 `protobuf:"varint,1,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` // Server timestamp, accurate to seconds Code SCHeartbeat_Code `protobuf:"varint,2,opt,name=code,proto3,enum=message.SCHeartbeat_Code" json:"code,omitempty"` // contains filtered or unexported fields }
Heartbeat response
func (*SCHeartbeat) Descriptor
deprecated
func (*SCHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use SCHeartbeat.ProtoReflect.Descriptor instead.
func (*SCHeartbeat) GetCode ¶
func (x *SCHeartbeat) GetCode() SCHeartbeat_Code
func (*SCHeartbeat) GetServerTime ¶
func (x *SCHeartbeat) GetServerTime() int64
func (*SCHeartbeat) ProtoMessage ¶
func (*SCHeartbeat) ProtoMessage()
func (*SCHeartbeat) ProtoReflect ¶
func (x *SCHeartbeat) ProtoReflect() protoreflect.Message
func (*SCHeartbeat) Reset ¶
func (x *SCHeartbeat) Reset()
func (*SCHeartbeat) String ¶
func (x *SCHeartbeat) String() string
func (*SCHeartbeat) Validate ¶
func (m *SCHeartbeat) Validate() error
Validate checks the field values on SCHeartbeat with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCHeartbeat) ValidateAll ¶
func (m *SCHeartbeat) ValidateAll() error
ValidateAll checks the field values on SCHeartbeat with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCHeartbeatMultiError, or nil if none found.
type SCHeartbeatMultiError ¶
type SCHeartbeatMultiError []error
SCHeartbeatMultiError is an error wrapping multiple validation errors returned by SCHeartbeat.ValidateAll() if the designated constraints aren't met.
func (SCHeartbeatMultiError) AllErrors ¶
func (m SCHeartbeatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCHeartbeatMultiError) Error ¶
func (m SCHeartbeatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCHeartbeatValidationError ¶
type SCHeartbeatValidationError struct {
// contains filtered or unexported fields
}
SCHeartbeatValidationError is the validation error returned by SCHeartbeat.Validate if the designated constraints aren't met.
func (SCHeartbeatValidationError) Cause ¶
func (e SCHeartbeatValidationError) Cause() error
Cause function returns cause value.
func (SCHeartbeatValidationError) Error ¶
func (e SCHeartbeatValidationError) Error() string
Error satisfies the builtin error interface
func (SCHeartbeatValidationError) ErrorName ¶
func (e SCHeartbeatValidationError) ErrorName() string
ErrorName returns error name.
func (SCHeartbeatValidationError) Field ¶
func (e SCHeartbeatValidationError) Field() string
Field function returns field value.
func (SCHeartbeatValidationError) Key ¶
func (e SCHeartbeatValidationError) Key() bool
Key function returns key value.
func (SCHeartbeatValidationError) Reason ¶
func (e SCHeartbeatValidationError) Reason() string
Reason function returns reason value.
type SCHeartbeat_Code ¶
type SCHeartbeat_Code int32
const ( SCHeartbeat_ErrServer SCHeartbeat_Code = 0 // Please try again later SCHeartbeat_Succeeded SCHeartbeat_Code = 1 // Succeeded SCHeartbeat_ErrTime SCHeartbeat_Code = 2 // Timestamp error )
func (SCHeartbeat_Code) Descriptor ¶
func (SCHeartbeat_Code) Descriptor() protoreflect.EnumDescriptor
func (SCHeartbeat_Code) Enum ¶
func (x SCHeartbeat_Code) Enum() *SCHeartbeat_Code
func (SCHeartbeat_Code) EnumDescriptor
deprecated
func (SCHeartbeat_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCHeartbeat_Code.Descriptor instead.
func (SCHeartbeat_Code) Number ¶
func (x SCHeartbeat_Code) Number() protoreflect.EnumNumber
func (SCHeartbeat_Code) String ¶
func (x SCHeartbeat_Code) String() string
func (SCHeartbeat_Code) Type ¶
func (SCHeartbeat_Code) Type() protoreflect.EnumType
type SCHeroLevelUpgrade ¶
type SCHeroLevelUpgrade struct { Code SCHeroLevelUpgrade_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCHeroLevelUpgrade_Code" json:"code,omitempty"` // Status code Hero *HeroProto `protobuf:"bytes,2,opt,name=hero,proto3" json:"hero,omitempty"` // Hero information Costs map[int64]int64 `` // Consumed materials /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Response: Hero level upgrade
func (*SCHeroLevelUpgrade) Descriptor
deprecated
func (*SCHeroLevelUpgrade) Descriptor() ([]byte, []int)
Deprecated: Use SCHeroLevelUpgrade.ProtoReflect.Descriptor instead.
func (*SCHeroLevelUpgrade) GetCode ¶
func (x *SCHeroLevelUpgrade) GetCode() SCHeroLevelUpgrade_Code
func (*SCHeroLevelUpgrade) GetCosts ¶
func (x *SCHeroLevelUpgrade) GetCosts() map[int64]int64
func (*SCHeroLevelUpgrade) GetHero ¶
func (x *SCHeroLevelUpgrade) GetHero() *HeroProto
func (*SCHeroLevelUpgrade) ProtoMessage ¶
func (*SCHeroLevelUpgrade) ProtoMessage()
func (*SCHeroLevelUpgrade) ProtoReflect ¶
func (x *SCHeroLevelUpgrade) ProtoReflect() protoreflect.Message
func (*SCHeroLevelUpgrade) Reset ¶
func (x *SCHeroLevelUpgrade) Reset()
func (*SCHeroLevelUpgrade) String ¶
func (x *SCHeroLevelUpgrade) String() string
func (*SCHeroLevelUpgrade) Validate ¶
func (m *SCHeroLevelUpgrade) Validate() error
Validate checks the field values on SCHeroLevelUpgrade with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCHeroLevelUpgrade) ValidateAll ¶
func (m *SCHeroLevelUpgrade) ValidateAll() error
ValidateAll checks the field values on SCHeroLevelUpgrade with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCHeroLevelUpgradeMultiError, or nil if none found.
type SCHeroLevelUpgradeMultiError ¶
type SCHeroLevelUpgradeMultiError []error
SCHeroLevelUpgradeMultiError is an error wrapping multiple validation errors returned by SCHeroLevelUpgrade.ValidateAll() if the designated constraints aren't met.
func (SCHeroLevelUpgradeMultiError) AllErrors ¶
func (m SCHeroLevelUpgradeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCHeroLevelUpgradeMultiError) Error ¶
func (m SCHeroLevelUpgradeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCHeroLevelUpgradeValidationError ¶
type SCHeroLevelUpgradeValidationError struct {
// contains filtered or unexported fields
}
SCHeroLevelUpgradeValidationError is the validation error returned by SCHeroLevelUpgrade.Validate if the designated constraints aren't met.
func (SCHeroLevelUpgradeValidationError) Cause ¶
func (e SCHeroLevelUpgradeValidationError) Cause() error
Cause function returns cause value.
func (SCHeroLevelUpgradeValidationError) Error ¶
func (e SCHeroLevelUpgradeValidationError) Error() string
Error satisfies the builtin error interface
func (SCHeroLevelUpgradeValidationError) ErrorName ¶
func (e SCHeroLevelUpgradeValidationError) ErrorName() string
ErrorName returns error name.
func (SCHeroLevelUpgradeValidationError) Field ¶
func (e SCHeroLevelUpgradeValidationError) Field() string
Field function returns field value.
func (SCHeroLevelUpgradeValidationError) Key ¶
func (e SCHeroLevelUpgradeValidationError) Key() bool
Key function returns key value.
func (SCHeroLevelUpgradeValidationError) Reason ¶
func (e SCHeroLevelUpgradeValidationError) Reason() string
Reason function returns reason value.
type SCHeroLevelUpgrade_Code ¶
type SCHeroLevelUpgrade_Code int32
const ( SCHeroLevelUpgrade_ErrUnspecified SCHeroLevelUpgrade_Code = 0 // Please try again later SCHeroLevelUpgrade_Succeeded SCHeroLevelUpgrade_Code = 1 // Succeeded SCHeroLevelUpgrade_ErrHeroNotExist SCHeroLevelUpgrade_Code = 2 // Hero does not exist SCHeroLevelUpgrade_ErrMaxLevel SCHeroLevelUpgrade_Code = 3 // Already max level SCHeroLevelUpgrade_ErrCostNotEnough SCHeroLevelUpgrade_Code = 4 // Cost not enough )
func (SCHeroLevelUpgrade_Code) Descriptor ¶
func (SCHeroLevelUpgrade_Code) Descriptor() protoreflect.EnumDescriptor
func (SCHeroLevelUpgrade_Code) Enum ¶
func (x SCHeroLevelUpgrade_Code) Enum() *SCHeroLevelUpgrade_Code
func (SCHeroLevelUpgrade_Code) EnumDescriptor
deprecated
func (SCHeroLevelUpgrade_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCHeroLevelUpgrade_Code.Descriptor instead.
func (SCHeroLevelUpgrade_Code) Number ¶
func (x SCHeroLevelUpgrade_Code) Number() protoreflect.EnumNumber
func (SCHeroLevelUpgrade_Code) String ¶
func (x SCHeroLevelUpgrade_Code) String() string
func (SCHeroLevelUpgrade_Code) Type ¶
func (SCHeroLevelUpgrade_Code) Type() protoreflect.EnumType
type SCInviteToJoinRoom ¶
type SCInviteToJoinRoom struct { Code SCInviteToJoinRoom_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCInviteToJoinRoom_Code" json:"code,omitempty"` // Status code // contains filtered or unexported fields }
Response: Invite to join room
func (*SCInviteToJoinRoom) Descriptor
deprecated
func (*SCInviteToJoinRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCInviteToJoinRoom.ProtoReflect.Descriptor instead.
func (*SCInviteToJoinRoom) GetCode ¶
func (x *SCInviteToJoinRoom) GetCode() SCInviteToJoinRoom_Code
func (*SCInviteToJoinRoom) ProtoMessage ¶
func (*SCInviteToJoinRoom) ProtoMessage()
func (*SCInviteToJoinRoom) ProtoReflect ¶
func (x *SCInviteToJoinRoom) ProtoReflect() protoreflect.Message
func (*SCInviteToJoinRoom) Reset ¶
func (x *SCInviteToJoinRoom) Reset()
func (*SCInviteToJoinRoom) String ¶
func (x *SCInviteToJoinRoom) String() string
func (*SCInviteToJoinRoom) Validate ¶
func (m *SCInviteToJoinRoom) Validate() error
Validate checks the field values on SCInviteToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCInviteToJoinRoom) ValidateAll ¶
func (m *SCInviteToJoinRoom) ValidateAll() error
ValidateAll checks the field values on SCInviteToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCInviteToJoinRoomMultiError, or nil if none found.
type SCInviteToJoinRoomMultiError ¶
type SCInviteToJoinRoomMultiError []error
SCInviteToJoinRoomMultiError is an error wrapping multiple validation errors returned by SCInviteToJoinRoom.ValidateAll() if the designated constraints aren't met.
func (SCInviteToJoinRoomMultiError) AllErrors ¶
func (m SCInviteToJoinRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCInviteToJoinRoomMultiError) Error ¶
func (m SCInviteToJoinRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCInviteToJoinRoomValidationError ¶
type SCInviteToJoinRoomValidationError struct {
// contains filtered or unexported fields
}
SCInviteToJoinRoomValidationError is the validation error returned by SCInviteToJoinRoom.Validate if the designated constraints aren't met.
func (SCInviteToJoinRoomValidationError) Cause ¶
func (e SCInviteToJoinRoomValidationError) Cause() error
Cause function returns cause value.
func (SCInviteToJoinRoomValidationError) Error ¶
func (e SCInviteToJoinRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCInviteToJoinRoomValidationError) ErrorName ¶
func (e SCInviteToJoinRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCInviteToJoinRoomValidationError) Field ¶
func (e SCInviteToJoinRoomValidationError) Field() string
Field function returns field value.
func (SCInviteToJoinRoomValidationError) Key ¶
func (e SCInviteToJoinRoomValidationError) Key() bool
Key function returns key value.
func (SCInviteToJoinRoomValidationError) Reason ¶
func (e SCInviteToJoinRoomValidationError) Reason() string
Reason function returns reason value.
type SCInviteToJoinRoom_Code ¶
type SCInviteToJoinRoom_Code int32
const ( SCInviteToJoinRoom_ErrUnspecified SCInviteToJoinRoom_Code = 0 // Please try again later SCInviteToJoinRoom_Succeeded SCInviteToJoinRoom_Code = 1 // Succeeded SCInviteToJoinRoom_ErrNotInRoom SCInviteToJoinRoom_Code = 2 // Not in room SCInviteToJoinRoom_ErrUserNotFound SCInviteToJoinRoom_Code = 4 // User not found SCInviteToJoinRoom_ErrUserAlreadyInRoom SCInviteToJoinRoom_Code = 5 // User already in room SCInviteToJoinRoom_ErrUserAlreadyInvited SCInviteToJoinRoom_Code = 6 // User already invited )
func (SCInviteToJoinRoom_Code) Descriptor ¶
func (SCInviteToJoinRoom_Code) Descriptor() protoreflect.EnumDescriptor
func (SCInviteToJoinRoom_Code) Enum ¶
func (x SCInviteToJoinRoom_Code) Enum() *SCInviteToJoinRoom_Code
func (SCInviteToJoinRoom_Code) EnumDescriptor
deprecated
func (SCInviteToJoinRoom_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCInviteToJoinRoom_Code.Descriptor instead.
func (SCInviteToJoinRoom_Code) Number ¶
func (x SCInviteToJoinRoom_Code) Number() protoreflect.EnumNumber
func (SCInviteToJoinRoom_Code) String ¶
func (x SCInviteToJoinRoom_Code) String() string
func (SCInviteToJoinRoom_Code) Type ¶
func (SCInviteToJoinRoom_Code) Type() protoreflect.EnumType
type SCKickUserFromRoom ¶
type SCKickUserFromRoom struct { Code SCKickUserFromRoom_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCKickUserFromRoom_Code" json:"code,omitempty"` // Status code // contains filtered or unexported fields }
Response: Kick user from room
func (*SCKickUserFromRoom) Descriptor
deprecated
func (*SCKickUserFromRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCKickUserFromRoom.ProtoReflect.Descriptor instead.
func (*SCKickUserFromRoom) GetCode ¶
func (x *SCKickUserFromRoom) GetCode() SCKickUserFromRoom_Code
func (*SCKickUserFromRoom) ProtoMessage ¶
func (*SCKickUserFromRoom) ProtoMessage()
func (*SCKickUserFromRoom) ProtoReflect ¶
func (x *SCKickUserFromRoom) ProtoReflect() protoreflect.Message
func (*SCKickUserFromRoom) Reset ¶
func (x *SCKickUserFromRoom) Reset()
func (*SCKickUserFromRoom) String ¶
func (x *SCKickUserFromRoom) String() string
func (*SCKickUserFromRoom) Validate ¶
func (m *SCKickUserFromRoom) Validate() error
Validate checks the field values on SCKickUserFromRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCKickUserFromRoom) ValidateAll ¶
func (m *SCKickUserFromRoom) ValidateAll() error
ValidateAll checks the field values on SCKickUserFromRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCKickUserFromRoomMultiError, or nil if none found.
type SCKickUserFromRoomMultiError ¶
type SCKickUserFromRoomMultiError []error
SCKickUserFromRoomMultiError is an error wrapping multiple validation errors returned by SCKickUserFromRoom.ValidateAll() if the designated constraints aren't met.
func (SCKickUserFromRoomMultiError) AllErrors ¶
func (m SCKickUserFromRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCKickUserFromRoomMultiError) Error ¶
func (m SCKickUserFromRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCKickUserFromRoomValidationError ¶
type SCKickUserFromRoomValidationError struct {
// contains filtered or unexported fields
}
SCKickUserFromRoomValidationError is the validation error returned by SCKickUserFromRoom.Validate if the designated constraints aren't met.
func (SCKickUserFromRoomValidationError) Cause ¶
func (e SCKickUserFromRoomValidationError) Cause() error
Cause function returns cause value.
func (SCKickUserFromRoomValidationError) Error ¶
func (e SCKickUserFromRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCKickUserFromRoomValidationError) ErrorName ¶
func (e SCKickUserFromRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCKickUserFromRoomValidationError) Field ¶
func (e SCKickUserFromRoomValidationError) Field() string
Field function returns field value.
func (SCKickUserFromRoomValidationError) Key ¶
func (e SCKickUserFromRoomValidationError) Key() bool
Key function returns key value.
func (SCKickUserFromRoomValidationError) Reason ¶
func (e SCKickUserFromRoomValidationError) Reason() string
Reason function returns reason value.
type SCKickUserFromRoom_Code ¶
type SCKickUserFromRoom_Code int32
const ( SCKickUserFromRoom_ErrUnspecified SCKickUserFromRoom_Code = 0 // Please try again later SCKickUserFromRoom_Succeeded SCKickUserFromRoom_Code = 1 // Succeeded SCKickUserFromRoom_ErrNotInRoom SCKickUserFromRoom_Code = 2 // Not in room SCKickUserFromRoom_ErrUserNotFound SCKickUserFromRoom_Code = 4 // User not found SCKickUserFromRoom_ErrUserNotInRoom SCKickUserFromRoom_Code = 5 // User not in room )
func (SCKickUserFromRoom_Code) Descriptor ¶
func (SCKickUserFromRoom_Code) Descriptor() protoreflect.EnumDescriptor
func (SCKickUserFromRoom_Code) Enum ¶
func (x SCKickUserFromRoom_Code) Enum() *SCKickUserFromRoom_Code
func (SCKickUserFromRoom_Code) EnumDescriptor
deprecated
func (SCKickUserFromRoom_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCKickUserFromRoom_Code.Descriptor instead.
func (SCKickUserFromRoom_Code) Number ¶
func (x SCKickUserFromRoom_Code) Number() protoreflect.EnumNumber
func (SCKickUserFromRoom_Code) String ¶
func (x SCKickUserFromRoom_Code) String() string
func (SCKickUserFromRoom_Code) Type ¶
func (SCKickUserFromRoom_Code) Type() protoreflect.EnumType
type SCLeaveRoom ¶
type SCLeaveRoom struct { Code SCLeaveRoom_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCLeaveRoom_Code" json:"code,omitempty"` // Status code // contains filtered or unexported fields }
Response: Leave room
func (*SCLeaveRoom) Descriptor
deprecated
func (*SCLeaveRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCLeaveRoom.ProtoReflect.Descriptor instead.
func (*SCLeaveRoom) GetCode ¶
func (x *SCLeaveRoom) GetCode() SCLeaveRoom_Code
func (*SCLeaveRoom) ProtoMessage ¶
func (*SCLeaveRoom) ProtoMessage()
func (*SCLeaveRoom) ProtoReflect ¶
func (x *SCLeaveRoom) ProtoReflect() protoreflect.Message
func (*SCLeaveRoom) Reset ¶
func (x *SCLeaveRoom) Reset()
func (*SCLeaveRoom) String ¶
func (x *SCLeaveRoom) String() string
func (*SCLeaveRoom) Validate ¶
func (m *SCLeaveRoom) Validate() error
Validate checks the field values on SCLeaveRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCLeaveRoom) ValidateAll ¶
func (m *SCLeaveRoom) ValidateAll() error
ValidateAll checks the field values on SCLeaveRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCLeaveRoomMultiError, or nil if none found.
type SCLeaveRoomMultiError ¶
type SCLeaveRoomMultiError []error
SCLeaveRoomMultiError is an error wrapping multiple validation errors returned by SCLeaveRoom.ValidateAll() if the designated constraints aren't met.
func (SCLeaveRoomMultiError) AllErrors ¶
func (m SCLeaveRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCLeaveRoomMultiError) Error ¶
func (m SCLeaveRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCLeaveRoomValidationError ¶
type SCLeaveRoomValidationError struct {
// contains filtered or unexported fields
}
SCLeaveRoomValidationError is the validation error returned by SCLeaveRoom.Validate if the designated constraints aren't met.
func (SCLeaveRoomValidationError) Cause ¶
func (e SCLeaveRoomValidationError) Cause() error
Cause function returns cause value.
func (SCLeaveRoomValidationError) Error ¶
func (e SCLeaveRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCLeaveRoomValidationError) ErrorName ¶
func (e SCLeaveRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCLeaveRoomValidationError) Field ¶
func (e SCLeaveRoomValidationError) Field() string
Field function returns field value.
func (SCLeaveRoomValidationError) Key ¶
func (e SCLeaveRoomValidationError) Key() bool
Key function returns key value.
func (SCLeaveRoomValidationError) Reason ¶
func (e SCLeaveRoomValidationError) Reason() string
Reason function returns reason value.
type SCLeaveRoom_Code ¶
type SCLeaveRoom_Code int32
const ( SCLeaveRoom_ErrUnspecified SCLeaveRoom_Code = 0 // Please try again later SCLeaveRoom_Succeeded SCLeaveRoom_Code = 1 // Succeeded SCLeaveRoom_ErrNotInRoom SCLeaveRoom_Code = 2 // Not in room SCLeaveRoom_ErrIsCreator SCLeaveRoom_Code = 3 // Is creator )
func (SCLeaveRoom_Code) Descriptor ¶
func (SCLeaveRoom_Code) Descriptor() protoreflect.EnumDescriptor
func (SCLeaveRoom_Code) Enum ¶
func (x SCLeaveRoom_Code) Enum() *SCLeaveRoom_Code
func (SCLeaveRoom_Code) EnumDescriptor
deprecated
func (SCLeaveRoom_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCLeaveRoom_Code.Descriptor instead.
func (SCLeaveRoom_Code) Number ¶
func (x SCLeaveRoom_Code) Number() protoreflect.EnumNumber
func (SCLeaveRoom_Code) String ¶
func (x SCLeaveRoom_Code) String() string
func (SCLeaveRoom_Code) Type ¶
func (SCLeaveRoom_Code) Type() protoreflect.EnumType
type SCLogin ¶
type SCLogin struct { Code SCLogin_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCLogin_Code" json:"code,omitempty"` // Status code ServerTime int64 `protobuf:"varint,2,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` // Server timestamp, accurate to seconds User *UserProto `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // Player data Newborn bool `protobuf:"varint,4,opt,name=newborn,proto3" json:"newborn,omitempty"` // Whether the player is newborn // contains filtered or unexported fields }
Response: Login
func (*SCLogin) Descriptor
deprecated
func (*SCLogin) GetCode ¶
func (x *SCLogin) GetCode() SCLogin_Code
func (*SCLogin) GetNewborn ¶
func (*SCLogin) GetServerTime ¶
func (*SCLogin) ProtoMessage ¶
func (*SCLogin) ProtoMessage()
func (*SCLogin) ProtoReflect ¶
func (x *SCLogin) ProtoReflect() protoreflect.Message
func (*SCLogin) Validate ¶
Validate checks the field values on SCLogin with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCLogin) ValidateAll ¶
ValidateAll checks the field values on SCLogin with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCLoginMultiError, or nil if none found.
type SCLoginMultiError ¶
type SCLoginMultiError []error
SCLoginMultiError is an error wrapping multiple validation errors returned by SCLogin.ValidateAll() if the designated constraints aren't met.
func (SCLoginMultiError) AllErrors ¶
func (m SCLoginMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCLoginMultiError) Error ¶
func (m SCLoginMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCLoginValidationError ¶
type SCLoginValidationError struct {
// contains filtered or unexported fields
}
SCLoginValidationError is the validation error returned by SCLogin.Validate if the designated constraints aren't met.
func (SCLoginValidationError) Cause ¶
func (e SCLoginValidationError) Cause() error
Cause function returns cause value.
func (SCLoginValidationError) Error ¶
func (e SCLoginValidationError) Error() string
Error satisfies the builtin error interface
func (SCLoginValidationError) ErrorName ¶
func (e SCLoginValidationError) ErrorName() string
ErrorName returns error name.
func (SCLoginValidationError) Field ¶
func (e SCLoginValidationError) Field() string
Field function returns field value.
func (SCLoginValidationError) Key ¶
func (e SCLoginValidationError) Key() bool
Key function returns key value.
func (SCLoginValidationError) Reason ¶
func (e SCLoginValidationError) Reason() string
Reason function returns reason value.
type SCLogin_Code ¶
type SCLogin_Code int32
const ( SCLogin_ErrUnspecified SCLogin_Code = 0 // Please try again later SCLogin_Succeeded SCLogin_Code = 1 // Succeeded SCLogin_ErrAccountIdNotExist SCLogin_Code = 2 // Account does not exist SCLogin_ErrAccountBanned SCLogin_Code = 3 // Account banned )
func (SCLogin_Code) Descriptor ¶
func (SCLogin_Code) Descriptor() protoreflect.EnumDescriptor
func (SCLogin_Code) Enum ¶
func (x SCLogin_Code) Enum() *SCLogin_Code
func (SCLogin_Code) EnumDescriptor
deprecated
func (SCLogin_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCLogin_Code.Descriptor instead.
func (SCLogin_Code) Number ¶
func (x SCLogin_Code) Number() protoreflect.EnumNumber
func (SCLogin_Code) String ¶
func (x SCLogin_Code) String() string
func (SCLogin_Code) Type ¶
func (SCLogin_Code) Type() protoreflect.EnumType
type SCPushEquipUpdated ¶
type SCPushEquipUpdated struct { Equips []*EquipProto `protobuf:"bytes,1,rep,name=equips,proto3" json:"equips,omitempty"` // Updated equipment list // contains filtered or unexported fields }
@push Equipment updated
func (*SCPushEquipUpdated) Descriptor
deprecated
func (*SCPushEquipUpdated) Descriptor() ([]byte, []int)
Deprecated: Use SCPushEquipUpdated.ProtoReflect.Descriptor instead.
func (*SCPushEquipUpdated) GetEquips ¶
func (x *SCPushEquipUpdated) GetEquips() []*EquipProto
func (*SCPushEquipUpdated) ProtoMessage ¶
func (*SCPushEquipUpdated) ProtoMessage()
func (*SCPushEquipUpdated) ProtoReflect ¶
func (x *SCPushEquipUpdated) ProtoReflect() protoreflect.Message
func (*SCPushEquipUpdated) Reset ¶
func (x *SCPushEquipUpdated) Reset()
func (*SCPushEquipUpdated) String ¶
func (x *SCPushEquipUpdated) String() string
func (*SCPushEquipUpdated) Validate ¶
func (m *SCPushEquipUpdated) Validate() error
Validate checks the field values on SCPushEquipUpdated with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCPushEquipUpdated) ValidateAll ¶
func (m *SCPushEquipUpdated) ValidateAll() error
ValidateAll checks the field values on SCPushEquipUpdated with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCPushEquipUpdatedMultiError, or nil if none found.
type SCPushEquipUpdatedMultiError ¶
type SCPushEquipUpdatedMultiError []error
SCPushEquipUpdatedMultiError is an error wrapping multiple validation errors returned by SCPushEquipUpdated.ValidateAll() if the designated constraints aren't met.
func (SCPushEquipUpdatedMultiError) AllErrors ¶
func (m SCPushEquipUpdatedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCPushEquipUpdatedMultiError) Error ¶
func (m SCPushEquipUpdatedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCPushEquipUpdatedValidationError ¶
type SCPushEquipUpdatedValidationError struct {
// contains filtered or unexported fields
}
SCPushEquipUpdatedValidationError is the validation error returned by SCPushEquipUpdated.Validate if the designated constraints aren't met.
func (SCPushEquipUpdatedValidationError) Cause ¶
func (e SCPushEquipUpdatedValidationError) Cause() error
Cause function returns cause value.
func (SCPushEquipUpdatedValidationError) Error ¶
func (e SCPushEquipUpdatedValidationError) Error() string
Error satisfies the builtin error interface
func (SCPushEquipUpdatedValidationError) ErrorName ¶
func (e SCPushEquipUpdatedValidationError) ErrorName() string
ErrorName returns error name.
func (SCPushEquipUpdatedValidationError) Field ¶
func (e SCPushEquipUpdatedValidationError) Field() string
Field function returns field value.
func (SCPushEquipUpdatedValidationError) Key ¶
func (e SCPushEquipUpdatedValidationError) Key() bool
Key function returns key value.
func (SCPushEquipUpdatedValidationError) Reason ¶
func (e SCPushEquipUpdatedValidationError) Reason() string
Reason function returns reason value.
type SCPushHeroUnlock ¶
type SCPushHeroUnlock struct { Heroes []*HeroProto `protobuf:"bytes,1,rep,name=heroes,proto3" json:"heroes,omitempty"` // contains filtered or unexported fields }
@push New Hero unlocked
func (*SCPushHeroUnlock) Descriptor
deprecated
func (*SCPushHeroUnlock) Descriptor() ([]byte, []int)
Deprecated: Use SCPushHeroUnlock.ProtoReflect.Descriptor instead.
func (*SCPushHeroUnlock) GetHeroes ¶
func (x *SCPushHeroUnlock) GetHeroes() []*HeroProto
func (*SCPushHeroUnlock) ProtoMessage ¶
func (*SCPushHeroUnlock) ProtoMessage()
func (*SCPushHeroUnlock) ProtoReflect ¶
func (x *SCPushHeroUnlock) ProtoReflect() protoreflect.Message
func (*SCPushHeroUnlock) Reset ¶
func (x *SCPushHeroUnlock) Reset()
func (*SCPushHeroUnlock) String ¶
func (x *SCPushHeroUnlock) String() string
func (*SCPushHeroUnlock) Validate ¶
func (m *SCPushHeroUnlock) Validate() error
Validate checks the field values on SCPushHeroUnlock with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCPushHeroUnlock) ValidateAll ¶
func (m *SCPushHeroUnlock) ValidateAll() error
ValidateAll checks the field values on SCPushHeroUnlock with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCPushHeroUnlockMultiError, or nil if none found.
type SCPushHeroUnlockMultiError ¶
type SCPushHeroUnlockMultiError []error
SCPushHeroUnlockMultiError is an error wrapping multiple validation errors returned by SCPushHeroUnlock.ValidateAll() if the designated constraints aren't met.
func (SCPushHeroUnlockMultiError) AllErrors ¶
func (m SCPushHeroUnlockMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCPushHeroUnlockMultiError) Error ¶
func (m SCPushHeroUnlockMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCPushHeroUnlockValidationError ¶
type SCPushHeroUnlockValidationError struct {
// contains filtered or unexported fields
}
SCPushHeroUnlockValidationError is the validation error returned by SCPushHeroUnlock.Validate if the designated constraints aren't met.
func (SCPushHeroUnlockValidationError) Cause ¶
func (e SCPushHeroUnlockValidationError) Cause() error
Cause function returns cause value.
func (SCPushHeroUnlockValidationError) Error ¶
func (e SCPushHeroUnlockValidationError) Error() string
Error satisfies the builtin error interface
func (SCPushHeroUnlockValidationError) ErrorName ¶
func (e SCPushHeroUnlockValidationError) ErrorName() string
ErrorName returns error name.
func (SCPushHeroUnlockValidationError) Field ¶
func (e SCPushHeroUnlockValidationError) Field() string
Field function returns field value.
func (SCPushHeroUnlockValidationError) Key ¶
func (e SCPushHeroUnlockValidationError) Key() bool
Key function returns key value.
func (SCPushHeroUnlockValidationError) Reason ¶
func (e SCPushHeroUnlockValidationError) Reason() string
Reason function returns reason value.
type SCPushItemUpdated ¶
type SCPushItemUpdated struct { Items map[int64]uint64 `` // Items with changed amounts. item DataID -> current amount. value is 0 means the item has been deleted /* 139-byte string literal not displayed */ Packs map[int64]uint64 `` // Packs with changed amounts. pack DataID -> current amount. value is 0 means the pack has been deleted /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
@push Item has been updated
func (*SCPushItemUpdated) Descriptor
deprecated
func (*SCPushItemUpdated) Descriptor() ([]byte, []int)
Deprecated: Use SCPushItemUpdated.ProtoReflect.Descriptor instead.
func (*SCPushItemUpdated) GetItems ¶
func (x *SCPushItemUpdated) GetItems() map[int64]uint64
func (*SCPushItemUpdated) GetPacks ¶
func (x *SCPushItemUpdated) GetPacks() map[int64]uint64
func (*SCPushItemUpdated) ProtoMessage ¶
func (*SCPushItemUpdated) ProtoMessage()
func (*SCPushItemUpdated) ProtoReflect ¶
func (x *SCPushItemUpdated) ProtoReflect() protoreflect.Message
func (*SCPushItemUpdated) Reset ¶
func (x *SCPushItemUpdated) Reset()
func (*SCPushItemUpdated) String ¶
func (x *SCPushItemUpdated) String() string
func (*SCPushItemUpdated) Validate ¶
func (m *SCPushItemUpdated) Validate() error
Validate checks the field values on SCPushItemUpdated with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCPushItemUpdated) ValidateAll ¶
func (m *SCPushItemUpdated) ValidateAll() error
ValidateAll checks the field values on SCPushItemUpdated with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCPushItemUpdatedMultiError, or nil if none found.
type SCPushItemUpdatedMultiError ¶
type SCPushItemUpdatedMultiError []error
SCPushItemUpdatedMultiError is an error wrapping multiple validation errors returned by SCPushItemUpdated.ValidateAll() if the designated constraints aren't met.
func (SCPushItemUpdatedMultiError) AllErrors ¶
func (m SCPushItemUpdatedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCPushItemUpdatedMultiError) Error ¶
func (m SCPushItemUpdatedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCPushItemUpdatedValidationError ¶
type SCPushItemUpdatedValidationError struct {
// contains filtered or unexported fields
}
SCPushItemUpdatedValidationError is the validation error returned by SCPushItemUpdated.Validate if the designated constraints aren't met.
func (SCPushItemUpdatedValidationError) Cause ¶
func (e SCPushItemUpdatedValidationError) Cause() error
Cause function returns cause value.
func (SCPushItemUpdatedValidationError) Error ¶
func (e SCPushItemUpdatedValidationError) Error() string
Error satisfies the builtin error interface
func (SCPushItemUpdatedValidationError) ErrorName ¶
func (e SCPushItemUpdatedValidationError) ErrorName() string
ErrorName returns error name.
func (SCPushItemUpdatedValidationError) Field ¶
func (e SCPushItemUpdatedValidationError) Field() string
Field function returns field value.
func (SCPushItemUpdatedValidationError) Key ¶
func (e SCPushItemUpdatedValidationError) Key() bool
Key function returns key value.
func (SCPushItemUpdatedValidationError) Reason ¶
func (e SCPushItemUpdatedValidationError) Reason() string
Reason function returns reason value.
type SCPushJoinedRoom ¶
type SCPushJoinedRoom struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // Room ID Member *RoomMemberProto `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // Room member data // contains filtered or unexported fields }
@push Joined room
func (*SCPushJoinedRoom) Descriptor
deprecated
func (*SCPushJoinedRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCPushJoinedRoom.ProtoReflect.Descriptor instead.
func (*SCPushJoinedRoom) GetMember ¶
func (x *SCPushJoinedRoom) GetMember() *RoomMemberProto
func (*SCPushJoinedRoom) GetRoomId ¶
func (x *SCPushJoinedRoom) GetRoomId() int64
func (*SCPushJoinedRoom) ProtoMessage ¶
func (*SCPushJoinedRoom) ProtoMessage()
func (*SCPushJoinedRoom) ProtoReflect ¶
func (x *SCPushJoinedRoom) ProtoReflect() protoreflect.Message
func (*SCPushJoinedRoom) Reset ¶
func (x *SCPushJoinedRoom) Reset()
func (*SCPushJoinedRoom) String ¶
func (x *SCPushJoinedRoom) String() string
func (*SCPushJoinedRoom) Validate ¶
func (m *SCPushJoinedRoom) Validate() error
Validate checks the field values on SCPushJoinedRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCPushJoinedRoom) ValidateAll ¶
func (m *SCPushJoinedRoom) ValidateAll() error
ValidateAll checks the field values on SCPushJoinedRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCPushJoinedRoomMultiError, or nil if none found.
type SCPushJoinedRoomMultiError ¶
type SCPushJoinedRoomMultiError []error
SCPushJoinedRoomMultiError is an error wrapping multiple validation errors returned by SCPushJoinedRoom.ValidateAll() if the designated constraints aren't met.
func (SCPushJoinedRoomMultiError) AllErrors ¶
func (m SCPushJoinedRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCPushJoinedRoomMultiError) Error ¶
func (m SCPushJoinedRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCPushJoinedRoomValidationError ¶
type SCPushJoinedRoomValidationError struct {
// contains filtered or unexported fields
}
SCPushJoinedRoomValidationError is the validation error returned by SCPushJoinedRoom.Validate if the designated constraints aren't met.
func (SCPushJoinedRoomValidationError) Cause ¶
func (e SCPushJoinedRoomValidationError) Cause() error
Cause function returns cause value.
func (SCPushJoinedRoomValidationError) Error ¶
func (e SCPushJoinedRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCPushJoinedRoomValidationError) ErrorName ¶
func (e SCPushJoinedRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCPushJoinedRoomValidationError) Field ¶
func (e SCPushJoinedRoomValidationError) Field() string
Field function returns field value.
func (SCPushJoinedRoomValidationError) Key ¶
func (e SCPushJoinedRoomValidationError) Key() bool
Key function returns key value.
func (SCPushJoinedRoomValidationError) Reason ¶
func (e SCPushJoinedRoomValidationError) Reason() string
Reason function returns reason value.
type SCPushRemovedFromRoom ¶
type SCPushRemovedFromRoom struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // Room ID Member *RoomMemberProto `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // Room member data // contains filtered or unexported fields }
@push Removed from room. Leave, be kicked or room closed
func (*SCPushRemovedFromRoom) Descriptor
deprecated
func (*SCPushRemovedFromRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCPushRemovedFromRoom.ProtoReflect.Descriptor instead.
func (*SCPushRemovedFromRoom) GetMember ¶
func (x *SCPushRemovedFromRoom) GetMember() *RoomMemberProto
func (*SCPushRemovedFromRoom) GetRoomId ¶
func (x *SCPushRemovedFromRoom) GetRoomId() int64
func (*SCPushRemovedFromRoom) ProtoMessage ¶
func (*SCPushRemovedFromRoom) ProtoMessage()
func (*SCPushRemovedFromRoom) ProtoReflect ¶
func (x *SCPushRemovedFromRoom) ProtoReflect() protoreflect.Message
func (*SCPushRemovedFromRoom) Reset ¶
func (x *SCPushRemovedFromRoom) Reset()
func (*SCPushRemovedFromRoom) String ¶
func (x *SCPushRemovedFromRoom) String() string
func (*SCPushRemovedFromRoom) Validate ¶
func (m *SCPushRemovedFromRoom) Validate() error
Validate checks the field values on SCPushRemovedFromRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCPushRemovedFromRoom) ValidateAll ¶
func (m *SCPushRemovedFromRoom) ValidateAll() error
ValidateAll checks the field values on SCPushRemovedFromRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCPushRemovedFromRoomMultiError, or nil if none found.
type SCPushRemovedFromRoomMultiError ¶
type SCPushRemovedFromRoomMultiError []error
SCPushRemovedFromRoomMultiError is an error wrapping multiple validation errors returned by SCPushRemovedFromRoom.ValidateAll() if the designated constraints aren't met.
func (SCPushRemovedFromRoomMultiError) AllErrors ¶
func (m SCPushRemovedFromRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCPushRemovedFromRoomMultiError) Error ¶
func (m SCPushRemovedFromRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCPushRemovedFromRoomValidationError ¶
type SCPushRemovedFromRoomValidationError struct {
// contains filtered or unexported fields
}
SCPushRemovedFromRoomValidationError is the validation error returned by SCPushRemovedFromRoom.Validate if the designated constraints aren't met.
func (SCPushRemovedFromRoomValidationError) Cause ¶
func (e SCPushRemovedFromRoomValidationError) Cause() error
Cause function returns cause value.
func (SCPushRemovedFromRoomValidationError) Error ¶
func (e SCPushRemovedFromRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCPushRemovedFromRoomValidationError) ErrorName ¶
func (e SCPushRemovedFromRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCPushRemovedFromRoomValidationError) Field ¶
func (e SCPushRemovedFromRoomValidationError) Field() string
Field function returns field value.
func (SCPushRemovedFromRoomValidationError) Key ¶
func (e SCPushRemovedFromRoomValidationError) Key() bool
Key function returns key value.
func (SCPushRemovedFromRoomValidationError) Reason ¶
func (e SCPushRemovedFromRoomValidationError) Reason() string
Reason function returns reason value.
type SCPushSyncUser ¶
type SCPushSyncUser struct { User *UserProto `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // Player data // contains filtered or unexported fields }
@push Latest user data The client receives the data and updates its own data to avoid data inconsistency between the client and the server when GM modifies data or the server restarts
func (*SCPushSyncUser) Descriptor
deprecated
func (*SCPushSyncUser) Descriptor() ([]byte, []int)
Deprecated: Use SCPushSyncUser.ProtoReflect.Descriptor instead.
func (*SCPushSyncUser) GetUser ¶
func (x *SCPushSyncUser) GetUser() *UserProto
func (*SCPushSyncUser) ProtoMessage ¶
func (*SCPushSyncUser) ProtoMessage()
func (*SCPushSyncUser) ProtoReflect ¶
func (x *SCPushSyncUser) ProtoReflect() protoreflect.Message
func (*SCPushSyncUser) Reset ¶
func (x *SCPushSyncUser) Reset()
func (*SCPushSyncUser) String ¶
func (x *SCPushSyncUser) String() string
func (*SCPushSyncUser) Validate ¶
func (m *SCPushSyncUser) Validate() error
Validate checks the field values on SCPushSyncUser with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCPushSyncUser) ValidateAll ¶
func (m *SCPushSyncUser) ValidateAll() error
ValidateAll checks the field values on SCPushSyncUser with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCPushSyncUserMultiError, or nil if none found.
type SCPushSyncUserMultiError ¶
type SCPushSyncUserMultiError []error
SCPushSyncUserMultiError is an error wrapping multiple validation errors returned by SCPushSyncUser.ValidateAll() if the designated constraints aren't met.
func (SCPushSyncUserMultiError) AllErrors ¶
func (m SCPushSyncUserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCPushSyncUserMultiError) Error ¶
func (m SCPushSyncUserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCPushSyncUserValidationError ¶
type SCPushSyncUserValidationError struct {
// contains filtered or unexported fields
}
SCPushSyncUserValidationError is the validation error returned by SCPushSyncUser.Validate if the designated constraints aren't met.
func (SCPushSyncUserValidationError) Cause ¶
func (e SCPushSyncUserValidationError) Cause() error
Cause function returns cause value.
func (SCPushSyncUserValidationError) Error ¶
func (e SCPushSyncUserValidationError) Error() string
Error satisfies the builtin error interface
func (SCPushSyncUserValidationError) ErrorName ¶
func (e SCPushSyncUserValidationError) ErrorName() string
ErrorName returns error name.
func (SCPushSyncUserValidationError) Field ¶
func (e SCPushSyncUserValidationError) Field() string
Field function returns field value.
func (SCPushSyncUserValidationError) Key ¶
func (e SCPushSyncUserValidationError) Key() bool
Key function returns key value.
func (SCPushSyncUserValidationError) Reason ¶
func (e SCPushSyncUserValidationError) Reason() string
Reason function returns reason value.
type SCRequestToJoinRoom ¶
type SCRequestToJoinRoom struct { Code SCRequestToJoinRoom_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCRequestToJoinRoom_Code" json:"code,omitempty"` // Status code // contains filtered or unexported fields }
Response: Request to join room
func (*SCRequestToJoinRoom) Descriptor
deprecated
func (*SCRequestToJoinRoom) Descriptor() ([]byte, []int)
Deprecated: Use SCRequestToJoinRoom.ProtoReflect.Descriptor instead.
func (*SCRequestToJoinRoom) GetCode ¶
func (x *SCRequestToJoinRoom) GetCode() SCRequestToJoinRoom_Code
func (*SCRequestToJoinRoom) ProtoMessage ¶
func (*SCRequestToJoinRoom) ProtoMessage()
func (*SCRequestToJoinRoom) ProtoReflect ¶
func (x *SCRequestToJoinRoom) ProtoReflect() protoreflect.Message
func (*SCRequestToJoinRoom) Reset ¶
func (x *SCRequestToJoinRoom) Reset()
func (*SCRequestToJoinRoom) String ¶
func (x *SCRequestToJoinRoom) String() string
func (*SCRequestToJoinRoom) Validate ¶
func (m *SCRequestToJoinRoom) Validate() error
Validate checks the field values on SCRequestToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCRequestToJoinRoom) ValidateAll ¶
func (m *SCRequestToJoinRoom) ValidateAll() error
ValidateAll checks the field values on SCRequestToJoinRoom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCRequestToJoinRoomMultiError, or nil if none found.
type SCRequestToJoinRoomMultiError ¶
type SCRequestToJoinRoomMultiError []error
SCRequestToJoinRoomMultiError is an error wrapping multiple validation errors returned by SCRequestToJoinRoom.ValidateAll() if the designated constraints aren't met.
func (SCRequestToJoinRoomMultiError) AllErrors ¶
func (m SCRequestToJoinRoomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCRequestToJoinRoomMultiError) Error ¶
func (m SCRequestToJoinRoomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCRequestToJoinRoomValidationError ¶
type SCRequestToJoinRoomValidationError struct {
// contains filtered or unexported fields
}
SCRequestToJoinRoomValidationError is the validation error returned by SCRequestToJoinRoom.Validate if the designated constraints aren't met.
func (SCRequestToJoinRoomValidationError) Cause ¶
func (e SCRequestToJoinRoomValidationError) Cause() error
Cause function returns cause value.
func (SCRequestToJoinRoomValidationError) Error ¶
func (e SCRequestToJoinRoomValidationError) Error() string
Error satisfies the builtin error interface
func (SCRequestToJoinRoomValidationError) ErrorName ¶
func (e SCRequestToJoinRoomValidationError) ErrorName() string
ErrorName returns error name.
func (SCRequestToJoinRoomValidationError) Field ¶
func (e SCRequestToJoinRoomValidationError) Field() string
Field function returns field value.
func (SCRequestToJoinRoomValidationError) Key ¶
func (e SCRequestToJoinRoomValidationError) Key() bool
Key function returns key value.
func (SCRequestToJoinRoomValidationError) Reason ¶
func (e SCRequestToJoinRoomValidationError) Reason() string
Reason function returns reason value.
type SCRequestToJoinRoom_Code ¶
type SCRequestToJoinRoom_Code int32
const ( SCRequestToJoinRoom_ErrUnspecified SCRequestToJoinRoom_Code = 0 // Please try again later SCRequestToJoinRoom_Succeeded SCRequestToJoinRoom_Code = 1 // Succeeded SCRequestToJoinRoom_ErrAlreadyInRoom SCRequestToJoinRoom_Code = 2 // Already in room SCRequestToJoinRoom_ErrRoomNotFound SCRequestToJoinRoom_Code = 3 // Room not found SCRequestToJoinRoom_ErrAlreadyRequested SCRequestToJoinRoom_Code = 4 // Already requested )
func (SCRequestToJoinRoom_Code) Descriptor ¶
func (SCRequestToJoinRoom_Code) Descriptor() protoreflect.EnumDescriptor
func (SCRequestToJoinRoom_Code) Enum ¶
func (x SCRequestToJoinRoom_Code) Enum() *SCRequestToJoinRoom_Code
func (SCRequestToJoinRoom_Code) EnumDescriptor
deprecated
func (SCRequestToJoinRoom_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCRequestToJoinRoom_Code.Descriptor instead.
func (SCRequestToJoinRoom_Code) Number ¶
func (x SCRequestToJoinRoom_Code) Number() protoreflect.EnumNumber
func (SCRequestToJoinRoom_Code) String ¶
func (x SCRequestToJoinRoom_Code) String() string
func (SCRequestToJoinRoom_Code) Type ¶
func (SCRequestToJoinRoom_Code) Type() protoreflect.EnumType
type SCRoomDetail ¶
type SCRoomDetail struct { Code SCRoomDetail_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCRoomDetail_Code" json:"code,omitempty"` // Status code Room *RoomProto `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // Room data // contains filtered or unexported fields }
Response: Room detail
func (*SCRoomDetail) Descriptor
deprecated
func (*SCRoomDetail) Descriptor() ([]byte, []int)
Deprecated: Use SCRoomDetail.ProtoReflect.Descriptor instead.
func (*SCRoomDetail) GetCode ¶
func (x *SCRoomDetail) GetCode() SCRoomDetail_Code
func (*SCRoomDetail) GetRoom ¶
func (x *SCRoomDetail) GetRoom() *RoomProto
func (*SCRoomDetail) ProtoMessage ¶
func (*SCRoomDetail) ProtoMessage()
func (*SCRoomDetail) ProtoReflect ¶
func (x *SCRoomDetail) ProtoReflect() protoreflect.Message
func (*SCRoomDetail) Reset ¶
func (x *SCRoomDetail) Reset()
func (*SCRoomDetail) String ¶
func (x *SCRoomDetail) String() string
func (*SCRoomDetail) Validate ¶
func (m *SCRoomDetail) Validate() error
Validate checks the field values on SCRoomDetail with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCRoomDetail) ValidateAll ¶
func (m *SCRoomDetail) ValidateAll() error
ValidateAll checks the field values on SCRoomDetail with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCRoomDetailMultiError, or nil if none found.
type SCRoomDetailMultiError ¶
type SCRoomDetailMultiError []error
SCRoomDetailMultiError is an error wrapping multiple validation errors returned by SCRoomDetail.ValidateAll() if the designated constraints aren't met.
func (SCRoomDetailMultiError) AllErrors ¶
func (m SCRoomDetailMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCRoomDetailMultiError) Error ¶
func (m SCRoomDetailMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCRoomDetailValidationError ¶
type SCRoomDetailValidationError struct {
// contains filtered or unexported fields
}
SCRoomDetailValidationError is the validation error returned by SCRoomDetail.Validate if the designated constraints aren't met.
func (SCRoomDetailValidationError) Cause ¶
func (e SCRoomDetailValidationError) Cause() error
Cause function returns cause value.
func (SCRoomDetailValidationError) Error ¶
func (e SCRoomDetailValidationError) Error() string
Error satisfies the builtin error interface
func (SCRoomDetailValidationError) ErrorName ¶
func (e SCRoomDetailValidationError) ErrorName() string
ErrorName returns error name.
func (SCRoomDetailValidationError) Field ¶
func (e SCRoomDetailValidationError) Field() string
Field function returns field value.
func (SCRoomDetailValidationError) Key ¶
func (e SCRoomDetailValidationError) Key() bool
Key function returns key value.
func (SCRoomDetailValidationError) Reason ¶
func (e SCRoomDetailValidationError) Reason() string
Reason function returns reason value.
type SCRoomDetail_Code ¶
type SCRoomDetail_Code int32
const ( SCRoomDetail_ErrUnspecified SCRoomDetail_Code = 0 // Please try again later SCRoomDetail_Succeeded SCRoomDetail_Code = 1 // Succeeded SCRoomDetail_ErrRoomNotFound SCRoomDetail_Code = 2 // Room not found )
func (SCRoomDetail_Code) Descriptor ¶
func (SCRoomDetail_Code) Descriptor() protoreflect.EnumDescriptor
func (SCRoomDetail_Code) Enum ¶
func (x SCRoomDetail_Code) Enum() *SCRoomDetail_Code
func (SCRoomDetail_Code) EnumDescriptor
deprecated
func (SCRoomDetail_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCRoomDetail_Code.Descriptor instead.
func (SCRoomDetail_Code) Number ¶
func (x SCRoomDetail_Code) Number() protoreflect.EnumNumber
func (SCRoomDetail_Code) String ¶
func (x SCRoomDetail_Code) String() string
func (SCRoomDetail_Code) Type ¶
func (SCRoomDetail_Code) Type() protoreflect.EnumType
type SCRoomList ¶
type SCRoomList struct { Code SCRoomList_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCRoomList_Code" json:"code,omitempty"` // Status code Rooms []*RoomBasicProto `protobuf:"bytes,2,rep,name=rooms,proto3" json:"rooms,omitempty"` // Room basic data list // contains filtered or unexported fields }
Response: Room List
func (*SCRoomList) Descriptor
deprecated
func (*SCRoomList) Descriptor() ([]byte, []int)
Deprecated: Use SCRoomList.ProtoReflect.Descriptor instead.
func (*SCRoomList) GetCode ¶
func (x *SCRoomList) GetCode() SCRoomList_Code
func (*SCRoomList) GetRooms ¶
func (x *SCRoomList) GetRooms() []*RoomBasicProto
func (*SCRoomList) ProtoMessage ¶
func (*SCRoomList) ProtoMessage()
func (*SCRoomList) ProtoReflect ¶
func (x *SCRoomList) ProtoReflect() protoreflect.Message
func (*SCRoomList) Reset ¶
func (x *SCRoomList) Reset()
func (*SCRoomList) String ¶
func (x *SCRoomList) String() string
func (*SCRoomList) Validate ¶
func (m *SCRoomList) Validate() error
Validate checks the field values on SCRoomList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCRoomList) ValidateAll ¶
func (m *SCRoomList) ValidateAll() error
ValidateAll checks the field values on SCRoomList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCRoomListMultiError, or nil if none found.
type SCRoomListMultiError ¶
type SCRoomListMultiError []error
SCRoomListMultiError is an error wrapping multiple validation errors returned by SCRoomList.ValidateAll() if the designated constraints aren't met.
func (SCRoomListMultiError) AllErrors ¶
func (m SCRoomListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCRoomListMultiError) Error ¶
func (m SCRoomListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCRoomListValidationError ¶
type SCRoomListValidationError struct {
// contains filtered or unexported fields
}
SCRoomListValidationError is the validation error returned by SCRoomList.Validate if the designated constraints aren't met.
func (SCRoomListValidationError) Cause ¶
func (e SCRoomListValidationError) Cause() error
Cause function returns cause value.
func (SCRoomListValidationError) Error ¶
func (e SCRoomListValidationError) Error() string
Error satisfies the builtin error interface
func (SCRoomListValidationError) ErrorName ¶
func (e SCRoomListValidationError) ErrorName() string
ErrorName returns error name.
func (SCRoomListValidationError) Field ¶
func (e SCRoomListValidationError) Field() string
Field function returns field value.
func (SCRoomListValidationError) Key ¶
func (e SCRoomListValidationError) Key() bool
Key function returns key value.
func (SCRoomListValidationError) Reason ¶
func (e SCRoomListValidationError) Reason() string
Reason function returns reason value.
type SCRoomList_Code ¶
type SCRoomList_Code int32
const ( SCRoomList_ErrUnspecified SCRoomList_Code = 0 // Please try again later SCRoomList_Succeeded SCRoomList_Code = 1 // Succeeded )
func (SCRoomList_Code) Descriptor ¶
func (SCRoomList_Code) Descriptor() protoreflect.EnumDescriptor
func (SCRoomList_Code) Enum ¶
func (x SCRoomList_Code) Enum() *SCRoomList_Code
func (SCRoomList_Code) EnumDescriptor
deprecated
func (SCRoomList_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCRoomList_Code.Descriptor instead.
func (SCRoomList_Code) Number ¶
func (x SCRoomList_Code) Number() protoreflect.EnumNumber
func (SCRoomList_Code) String ¶
func (x SCRoomList_Code) String() string
func (SCRoomList_Code) Type ¶
func (SCRoomList_Code) Type() protoreflect.EnumType
type SCServerLogout ¶
type SCServerLogout struct { Code SCServerLogout_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCServerLogout_Code" json:"code,omitempty"` // contains filtered or unexported fields }
Server triggers user logout
func (*SCServerLogout) Descriptor
deprecated
func (*SCServerLogout) Descriptor() ([]byte, []int)
Deprecated: Use SCServerLogout.ProtoReflect.Descriptor instead.
func (*SCServerLogout) GetCode ¶
func (x *SCServerLogout) GetCode() SCServerLogout_Code
func (*SCServerLogout) ProtoMessage ¶
func (*SCServerLogout) ProtoMessage()
func (*SCServerLogout) ProtoReflect ¶
func (x *SCServerLogout) ProtoReflect() protoreflect.Message
func (*SCServerLogout) Reset ¶
func (x *SCServerLogout) Reset()
func (*SCServerLogout) String ¶
func (x *SCServerLogout) String() string
func (*SCServerLogout) Validate ¶
func (m *SCServerLogout) Validate() error
Validate checks the field values on SCServerLogout with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCServerLogout) ValidateAll ¶
func (m *SCServerLogout) ValidateAll() error
ValidateAll checks the field values on SCServerLogout with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCServerLogoutMultiError, or nil if none found.
type SCServerLogoutMultiError ¶
type SCServerLogoutMultiError []error
SCServerLogoutMultiError is an error wrapping multiple validation errors returned by SCServerLogout.ValidateAll() if the designated constraints aren't met.
func (SCServerLogoutMultiError) AllErrors ¶
func (m SCServerLogoutMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCServerLogoutMultiError) Error ¶
func (m SCServerLogoutMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCServerLogoutValidationError ¶
type SCServerLogoutValidationError struct {
// contains filtered or unexported fields
}
SCServerLogoutValidationError is the validation error returned by SCServerLogout.Validate if the designated constraints aren't met.
func (SCServerLogoutValidationError) Cause ¶
func (e SCServerLogoutValidationError) Cause() error
Cause function returns cause value.
func (SCServerLogoutValidationError) Error ¶
func (e SCServerLogoutValidationError) Error() string
Error satisfies the builtin error interface
func (SCServerLogoutValidationError) ErrorName ¶
func (e SCServerLogoutValidationError) ErrorName() string
ErrorName returns error name.
func (SCServerLogoutValidationError) Field ¶
func (e SCServerLogoutValidationError) Field() string
Field function returns field value.
func (SCServerLogoutValidationError) Key ¶
func (e SCServerLogoutValidationError) Key() bool
Key function returns key value.
func (SCServerLogoutValidationError) Reason ¶
func (e SCServerLogoutValidationError) Reason() string
Reason function returns reason value.
type SCServerLogout_Code ¶
type SCServerLogout_Code int32
const ( SCServerLogout_Server SCServerLogout_Code = 0 // Unknown reason SCServerLogout_Waiting SCServerLogout_Code = 1 // Please try again later SCServerLogout_ConflictingLogin SCServerLogout_Code = 3 // The same user is logged in on another device SCServerLogout_AdminKickOut SCServerLogout_Code = 4 // Kicked out by admin SCServerLogout_Banned SCServerLogout_Code = 5 // Account banned )
func (SCServerLogout_Code) Descriptor ¶
func (SCServerLogout_Code) Descriptor() protoreflect.EnumDescriptor
func (SCServerLogout_Code) Enum ¶
func (x SCServerLogout_Code) Enum() *SCServerLogout_Code
func (SCServerLogout_Code) EnumDescriptor
deprecated
func (SCServerLogout_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCServerLogout_Code.Descriptor instead.
func (SCServerLogout_Code) Number ¶
func (x SCServerLogout_Code) Number() protoreflect.EnumNumber
func (SCServerLogout_Code) String ¶
func (x SCServerLogout_Code) String() string
func (SCServerLogout_Code) Type ¶
func (SCServerLogout_Code) Type() protoreflect.EnumType
type SCServerUnexpectedErr ¶
type SCServerUnexpectedErr struct { Mod int32 `protobuf:"varint,1,opt,name=mod,proto3" json:"mod,omitempty"` Seq int32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
Server unexpected error. Returned when the server reports an error after the request protocol and the error is unexpected
func (*SCServerUnexpectedErr) Descriptor
deprecated
func (*SCServerUnexpectedErr) Descriptor() ([]byte, []int)
Deprecated: Use SCServerUnexpectedErr.ProtoReflect.Descriptor instead.
func (*SCServerUnexpectedErr) GetMod ¶
func (x *SCServerUnexpectedErr) GetMod() int32
func (*SCServerUnexpectedErr) GetMsg ¶
func (x *SCServerUnexpectedErr) GetMsg() string
func (*SCServerUnexpectedErr) GetSeq ¶
func (x *SCServerUnexpectedErr) GetSeq() int32
func (*SCServerUnexpectedErr) ProtoMessage ¶
func (*SCServerUnexpectedErr) ProtoMessage()
func (*SCServerUnexpectedErr) ProtoReflect ¶
func (x *SCServerUnexpectedErr) ProtoReflect() protoreflect.Message
func (*SCServerUnexpectedErr) Reset ¶
func (x *SCServerUnexpectedErr) Reset()
func (*SCServerUnexpectedErr) String ¶
func (x *SCServerUnexpectedErr) String() string
func (*SCServerUnexpectedErr) Validate ¶
func (m *SCServerUnexpectedErr) Validate() error
Validate checks the field values on SCServerUnexpectedErr with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCServerUnexpectedErr) ValidateAll ¶
func (m *SCServerUnexpectedErr) ValidateAll() error
ValidateAll checks the field values on SCServerUnexpectedErr with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCServerUnexpectedErrMultiError, or nil if none found.
type SCServerUnexpectedErrMultiError ¶
type SCServerUnexpectedErrMultiError []error
SCServerUnexpectedErrMultiError is an error wrapping multiple validation errors returned by SCServerUnexpectedErr.ValidateAll() if the designated constraints aren't met.
func (SCServerUnexpectedErrMultiError) AllErrors ¶
func (m SCServerUnexpectedErrMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCServerUnexpectedErrMultiError) Error ¶
func (m SCServerUnexpectedErrMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCServerUnexpectedErrValidationError ¶
type SCServerUnexpectedErrValidationError struct {
// contains filtered or unexported fields
}
SCServerUnexpectedErrValidationError is the validation error returned by SCServerUnexpectedErr.Validate if the designated constraints aren't met.
func (SCServerUnexpectedErrValidationError) Cause ¶
func (e SCServerUnexpectedErrValidationError) Cause() error
Cause function returns cause value.
func (SCServerUnexpectedErrValidationError) Error ¶
func (e SCServerUnexpectedErrValidationError) Error() string
Error satisfies the builtin error interface
func (SCServerUnexpectedErrValidationError) ErrorName ¶
func (e SCServerUnexpectedErrValidationError) ErrorName() string
ErrorName returns error name.
func (SCServerUnexpectedErrValidationError) Field ¶
func (e SCServerUnexpectedErrValidationError) Field() string
Field function returns field value.
func (SCServerUnexpectedErrValidationError) Key ¶
func (e SCServerUnexpectedErrValidationError) Key() bool
Key function returns key value.
func (SCServerUnexpectedErrValidationError) Reason ¶
func (e SCServerUnexpectedErrValidationError) Reason() string
Reason function returns reason value.
type SCSetGender ¶
type SCSetGender struct { Code SCSetGender_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCSetGender_Code" json:"code,omitempty"` // Status code // contains filtered or unexported fields }
Response: Set gender
func (*SCSetGender) Descriptor
deprecated
func (*SCSetGender) Descriptor() ([]byte, []int)
Deprecated: Use SCSetGender.ProtoReflect.Descriptor instead.
func (*SCSetGender) GetCode ¶
func (x *SCSetGender) GetCode() SCSetGender_Code
func (*SCSetGender) ProtoMessage ¶
func (*SCSetGender) ProtoMessage()
func (*SCSetGender) ProtoReflect ¶
func (x *SCSetGender) ProtoReflect() protoreflect.Message
func (*SCSetGender) Reset ¶
func (x *SCSetGender) Reset()
func (*SCSetGender) String ¶
func (x *SCSetGender) String() string
func (*SCSetGender) Validate ¶
func (m *SCSetGender) Validate() error
Validate checks the field values on SCSetGender with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCSetGender) ValidateAll ¶
func (m *SCSetGender) ValidateAll() error
ValidateAll checks the field values on SCSetGender with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCSetGenderMultiError, or nil if none found.
type SCSetGenderMultiError ¶
type SCSetGenderMultiError []error
SCSetGenderMultiError is an error wrapping multiple validation errors returned by SCSetGender.ValidateAll() if the designated constraints aren't met.
func (SCSetGenderMultiError) AllErrors ¶
func (m SCSetGenderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCSetGenderMultiError) Error ¶
func (m SCSetGenderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCSetGenderValidationError ¶
type SCSetGenderValidationError struct {
// contains filtered or unexported fields
}
SCSetGenderValidationError is the validation error returned by SCSetGender.Validate if the designated constraints aren't met.
func (SCSetGenderValidationError) Cause ¶
func (e SCSetGenderValidationError) Cause() error
Cause function returns cause value.
func (SCSetGenderValidationError) Error ¶
func (e SCSetGenderValidationError) Error() string
Error satisfies the builtin error interface
func (SCSetGenderValidationError) ErrorName ¶
func (e SCSetGenderValidationError) ErrorName() string
ErrorName returns error name.
func (SCSetGenderValidationError) Field ¶
func (e SCSetGenderValidationError) Field() string
Field function returns field value.
func (SCSetGenderValidationError) Key ¶
func (e SCSetGenderValidationError) Key() bool
Key function returns key value.
func (SCSetGenderValidationError) Reason ¶
func (e SCSetGenderValidationError) Reason() string
Reason function returns reason value.
type SCSetGender_Code ¶
type SCSetGender_Code int32
const ( SCSetGender_ErrUnspecified SCSetGender_Code = 0 // Please try again later SCSetGender_Succeeded SCSetGender_Code = 1 // Succeeded SCSetGender_ErrGenderIllegal SCSetGender_Code = 2 // Gender is illegal SCSetGender_ErrGenderSet SCSetGender_Code = 3 // Gender has been set )
func (SCSetGender_Code) Descriptor ¶
func (SCSetGender_Code) Descriptor() protoreflect.EnumDescriptor
func (SCSetGender_Code) Enum ¶
func (x SCSetGender_Code) Enum() *SCSetGender_Code
func (SCSetGender_Code) EnumDescriptor
deprecated
func (SCSetGender_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCSetGender_Code.Descriptor instead.
func (SCSetGender_Code) Number ¶
func (x SCSetGender_Code) Number() protoreflect.EnumNumber
func (SCSetGender_Code) String ¶
func (x SCSetGender_Code) String() string
func (SCSetGender_Code) Type ¶
func (SCSetGender_Code) Type() protoreflect.EnumType
type SCUpdateName ¶
type SCUpdateName struct { Code SCUpdateName_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCUpdateName_Code" json:"code,omitempty"` // Status code IsIllegal bool `protobuf:"varint,2,opt,name=is_illegal,json=isIllegal,proto3" json:"is_illegal,omitempty"` // contains filtered or unexported fields }
Response: Update name
func (*SCUpdateName) Descriptor
deprecated
func (*SCUpdateName) Descriptor() ([]byte, []int)
Deprecated: Use SCUpdateName.ProtoReflect.Descriptor instead.
func (*SCUpdateName) GetCode ¶
func (x *SCUpdateName) GetCode() SCUpdateName_Code
func (*SCUpdateName) GetIsIllegal ¶
func (x *SCUpdateName) GetIsIllegal() bool
func (*SCUpdateName) ProtoMessage ¶
func (*SCUpdateName) ProtoMessage()
func (*SCUpdateName) ProtoReflect ¶
func (x *SCUpdateName) ProtoReflect() protoreflect.Message
func (*SCUpdateName) Reset ¶
func (x *SCUpdateName) Reset()
func (*SCUpdateName) String ¶
func (x *SCUpdateName) String() string
func (*SCUpdateName) Validate ¶
func (m *SCUpdateName) Validate() error
Validate checks the field values on SCUpdateName with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCUpdateName) ValidateAll ¶
func (m *SCUpdateName) ValidateAll() error
ValidateAll checks the field values on SCUpdateName with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCUpdateNameMultiError, or nil if none found.
type SCUpdateNameMultiError ¶
type SCUpdateNameMultiError []error
SCUpdateNameMultiError is an error wrapping multiple validation errors returned by SCUpdateName.ValidateAll() if the designated constraints aren't met.
func (SCUpdateNameMultiError) AllErrors ¶
func (m SCUpdateNameMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCUpdateNameMultiError) Error ¶
func (m SCUpdateNameMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCUpdateNameValidationError ¶
type SCUpdateNameValidationError struct {
// contains filtered or unexported fields
}
SCUpdateNameValidationError is the validation error returned by SCUpdateName.Validate if the designated constraints aren't met.
func (SCUpdateNameValidationError) Cause ¶
func (e SCUpdateNameValidationError) Cause() error
Cause function returns cause value.
func (SCUpdateNameValidationError) Error ¶
func (e SCUpdateNameValidationError) Error() string
Error satisfies the builtin error interface
func (SCUpdateNameValidationError) ErrorName ¶
func (e SCUpdateNameValidationError) ErrorName() string
ErrorName returns error name.
func (SCUpdateNameValidationError) Field ¶
func (e SCUpdateNameValidationError) Field() string
Field function returns field value.
func (SCUpdateNameValidationError) Key ¶
func (e SCUpdateNameValidationError) Key() bool
Key function returns key value.
func (SCUpdateNameValidationError) Reason ¶
func (e SCUpdateNameValidationError) Reason() string
Reason function returns reason value.
type SCUpdateName_Code ¶
type SCUpdateName_Code int32
const ( SCUpdateName_ErrUnspecified SCUpdateName_Code = 0 // Please try again later SCUpdateName_Succeeded SCUpdateName_Code = 1 // Succeeded SCUpdateName_ErrNameIllegal SCUpdateName_Code = 2 // Name is illegal SCUpdateName_ErrNameNotChanged SCUpdateName_Code = 3 // Name not changed )
func (SCUpdateName_Code) Descriptor ¶
func (SCUpdateName_Code) Descriptor() protoreflect.EnumDescriptor
func (SCUpdateName_Code) Enum ¶
func (x SCUpdateName_Code) Enum() *SCUpdateName_Code
func (SCUpdateName_Code) EnumDescriptor
deprecated
func (SCUpdateName_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCUpdateName_Code.Descriptor instead.
func (SCUpdateName_Code) Number ¶
func (x SCUpdateName_Code) Number() protoreflect.EnumNumber
func (SCUpdateName_Code) String ¶
func (x SCUpdateName_Code) String() string
func (SCUpdateName_Code) Type ¶
func (SCUpdateName_Code) Type() protoreflect.EnumType
type SCUsePack ¶
type SCUsePack struct { Code SCUsePack_Code `protobuf:"varint,1,opt,name=code,proto3,enum=message.SCUsePack_Code" json:"code,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // Pack ID Prizes map[int64]int64 `` // the prizes that the player has received /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
Response: Use pack
func (*SCUsePack) Descriptor
deprecated
func (*SCUsePack) GetCode ¶
func (x *SCUsePack) GetCode() SCUsePack_Code
func (*SCUsePack) ProtoMessage ¶
func (*SCUsePack) ProtoMessage()
func (*SCUsePack) ProtoReflect ¶
func (x *SCUsePack) ProtoReflect() protoreflect.Message
func (*SCUsePack) Validate ¶
Validate checks the field values on SCUsePack with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SCUsePack) ValidateAll ¶
ValidateAll checks the field values on SCUsePack with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SCUsePackMultiError, or nil if none found.
type SCUsePackMultiError ¶
type SCUsePackMultiError []error
SCUsePackMultiError is an error wrapping multiple validation errors returned by SCUsePack.ValidateAll() if the designated constraints aren't met.
func (SCUsePackMultiError) AllErrors ¶
func (m SCUsePackMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SCUsePackMultiError) Error ¶
func (m SCUsePackMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SCUsePackValidationError ¶
type SCUsePackValidationError struct {
// contains filtered or unexported fields
}
SCUsePackValidationError is the validation error returned by SCUsePack.Validate if the designated constraints aren't met.
func (SCUsePackValidationError) Cause ¶
func (e SCUsePackValidationError) Cause() error
Cause function returns cause value.
func (SCUsePackValidationError) Error ¶
func (e SCUsePackValidationError) Error() string
Error satisfies the builtin error interface
func (SCUsePackValidationError) ErrorName ¶
func (e SCUsePackValidationError) ErrorName() string
ErrorName returns error name.
func (SCUsePackValidationError) Field ¶
func (e SCUsePackValidationError) Field() string
Field function returns field value.
func (SCUsePackValidationError) Key ¶
func (e SCUsePackValidationError) Key() bool
Key function returns key value.
func (SCUsePackValidationError) Reason ¶
func (e SCUsePackValidationError) Reason() string
Reason function returns reason value.
type SCUsePack_Code ¶
type SCUsePack_Code int32
const ( SCUsePack_ErrUnspecified SCUsePack_Code = 0 // Please try again later SCUsePack_Succeeded SCUsePack_Code = 1 // Succeeded SCUsePack_ErrPackNotExist SCUsePack_Code = 2 // Pack does not exist SCUsePack_ErrPackLimit SCUsePack_Code = 3 // Usage restricted )
func (SCUsePack_Code) Descriptor ¶
func (SCUsePack_Code) Descriptor() protoreflect.EnumDescriptor
func (SCUsePack_Code) Enum ¶
func (x SCUsePack_Code) Enum() *SCUsePack_Code
func (SCUsePack_Code) EnumDescriptor
deprecated
func (SCUsePack_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SCUsePack_Code.Descriptor instead.
func (SCUsePack_Code) Number ¶
func (x SCUsePack_Code) Number() protoreflect.EnumNumber
func (SCUsePack_Code) String ¶
func (x SCUsePack_Code) String() string
func (SCUsePack_Code) Type ¶
func (SCUsePack_Code) Type() protoreflect.EnumType
type StorageServiceClient ¶
type StorageServiceClient interface { // Use pack UsePack(ctx context.Context, in *CSUsePack, opts ...grpc.CallOption) (*SCUsePack, error) }
StorageServiceClient is the client API for StorageService 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.
Storage service
func NewStorageServiceClient ¶
func NewStorageServiceClient(cc grpc.ClientConnInterface) StorageServiceClient
type StorageServiceHTTPClient ¶
type StorageServiceHTTPClient interface {
UsePack(ctx context.Context, req *CSUsePack, opts ...http.CallOption) (rsp *SCUsePack, err error)
}
func NewStorageServiceHTTPClient ¶
func NewStorageServiceHTTPClient(client *http.Client) StorageServiceHTTPClient
type StorageServiceHTTPClientImpl ¶
type StorageServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*StorageServiceHTTPClientImpl) UsePack ¶
func (c *StorageServiceHTTPClientImpl) UsePack(ctx context.Context, in *CSUsePack, opts ...http.CallOption) (*SCUsePack, error)
type StorageServiceServer ¶
type StorageServiceServer interface { // Use pack UsePack(context.Context, *CSUsePack) (*SCUsePack, error) // contains filtered or unexported methods }
StorageServiceServer is the server API for StorageService service. All implementations must embed UnimplementedStorageServiceServer for forward compatibility.
Storage service
type SystemServiceClient ¶
type SystemServiceClient interface {
Heartbeat(ctx context.Context, in *CSHeartbeat, opts ...grpc.CallOption) (*SCHeartbeat, error)
}
SystemServiceClient is the client API for SystemService 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.
System service
func NewSystemServiceClient ¶
func NewSystemServiceClient(cc grpc.ClientConnInterface) SystemServiceClient
type SystemServiceHTTPClient ¶
type SystemServiceHTTPClient interface {
Heartbeat(ctx context.Context, req *CSHeartbeat, opts ...http.CallOption) (rsp *SCHeartbeat, err error)
}
func NewSystemServiceHTTPClient ¶
func NewSystemServiceHTTPClient(client *http.Client) SystemServiceHTTPClient
type SystemServiceHTTPClientImpl ¶
type SystemServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*SystemServiceHTTPClientImpl) Heartbeat ¶
func (c *SystemServiceHTTPClientImpl) Heartbeat(ctx context.Context, in *CSHeartbeat, opts ...http.CallOption) (*SCHeartbeat, error)
type SystemServiceHTTPServer ¶
type SystemServiceHTTPServer interface {
Heartbeat(context.Context, *CSHeartbeat) (*SCHeartbeat, error)
}
type SystemServiceServer ¶
type SystemServiceServer interface { Heartbeat(context.Context, *CSHeartbeat) (*SCHeartbeat, error) // contains filtered or unexported methods }
SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility.
System service
type UnimplementedDevServiceServer ¶
type UnimplementedDevServiceServer struct{}
UnimplementedDevServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDevServiceServer) DevExecute ¶
func (UnimplementedDevServiceServer) DevExecute(context.Context, *CSDevExecute) (*SCDevExecute, error)
type UnimplementedEquipServiceServer ¶
type UnimplementedEquipServiceServer struct{}
UnimplementedEquipServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEquipServiceServer) EquipTakeOff ¶
func (UnimplementedEquipServiceServer) EquipTakeOff(context.Context, *CSEquipTakeOff) (*SCEquipTakeOff, error)
func (UnimplementedEquipServiceServer) EquipUpgrade ¶
func (UnimplementedEquipServiceServer) EquipUpgrade(context.Context, *CSEquipUpgrade) (*SCEquipUpgrade, error)
func (UnimplementedEquipServiceServer) EquipWear ¶
func (UnimplementedEquipServiceServer) EquipWear(context.Context, *CSEquipWear) (*SCEquipWear, error)
type UnimplementedHeroServiceServer ¶
type UnimplementedHeroServiceServer struct{}
UnimplementedHeroServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedHeroServiceServer) HeroLevelUpgrade ¶
func (UnimplementedHeroServiceServer) HeroLevelUpgrade(context.Context, *CSHeroLevelUpgrade) (*SCHeroLevelUpgrade, error)
type UnimplementedRoomServiceServer ¶
type UnimplementedRoomServiceServer struct{}
UnimplementedRoomServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRoomServiceServer) AgreeToInviteJoinRoom ¶
func (UnimplementedRoomServiceServer) AgreeToInviteJoinRoom(context.Context, *CSAgreeToInviteJoinRoom) (*SCAgreeToInviteJoinRoom, error)
func (UnimplementedRoomServiceServer) ApproveRequestToJoinRoom ¶
func (UnimplementedRoomServiceServer) ApproveRequestToJoinRoom(context.Context, *CSApproveRequestToJoinRoom) (*SCApproveRequestToJoinRoom, error)
func (UnimplementedRoomServiceServer) CloseRoom ¶
func (UnimplementedRoomServiceServer) CloseRoom(context.Context, *CSCloseRoom) (*SCCloseRoom, error)
func (UnimplementedRoomServiceServer) CreateRoom ¶
func (UnimplementedRoomServiceServer) CreateRoom(context.Context, *CSCreateRoom) (*SCCreateRoom, error)
func (UnimplementedRoomServiceServer) InviteToJoinRoom ¶
func (UnimplementedRoomServiceServer) InviteToJoinRoom(context.Context, *CSInviteToJoinRoom) (*SCInviteToJoinRoom, error)
func (UnimplementedRoomServiceServer) KickUserFromRoom ¶
func (UnimplementedRoomServiceServer) KickUserFromRoom(context.Context, *CSKickUserFromRoom) (*SCKickUserFromRoom, error)
func (UnimplementedRoomServiceServer) LeaveRoom ¶
func (UnimplementedRoomServiceServer) LeaveRoom(context.Context, *CSLeaveRoom) (*SCLeaveRoom, error)
func (UnimplementedRoomServiceServer) RequestToJoinRoom ¶
func (UnimplementedRoomServiceServer) RequestToJoinRoom(context.Context, *CSRequestToJoinRoom) (*SCRequestToJoinRoom, error)
func (UnimplementedRoomServiceServer) RoomDetail ¶
func (UnimplementedRoomServiceServer) RoomDetail(context.Context, *CSRoomDetail) (*SCRoomDetail, error)
func (UnimplementedRoomServiceServer) RoomList ¶
func (UnimplementedRoomServiceServer) RoomList(context.Context, *CSRoomList) (*SCRoomList, error)
type UnimplementedStorageServiceServer ¶
type UnimplementedStorageServiceServer struct{}
UnimplementedStorageServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedSystemServiceServer ¶
type UnimplementedSystemServiceServer struct{}
UnimplementedSystemServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSystemServiceServer) Heartbeat ¶
func (UnimplementedSystemServiceServer) Heartbeat(context.Context, *CSHeartbeat) (*SCHeartbeat, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct{}
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUserServiceServer) SetGender ¶
func (UnimplementedUserServiceServer) SetGender(context.Context, *CSSetGender) (*SCSetGender, error)
func (UnimplementedUserServiceServer) UpdateName ¶
func (UnimplementedUserServiceServer) UpdateName(context.Context, *CSUpdateName) (*SCUpdateName, error)
type UnsafeDevServiceServer ¶
type UnsafeDevServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDevServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DevServiceServer will result in compilation errors.
type UnsafeEquipServiceServer ¶
type UnsafeEquipServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEquipServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EquipServiceServer will result in compilation errors.
type UnsafeHeroServiceServer ¶
type UnsafeHeroServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHeroServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HeroServiceServer will result in compilation errors.
type UnsafeRoomServiceServer ¶
type UnsafeRoomServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRoomServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoomServiceServer will result in compilation errors.
type UnsafeStorageServiceServer ¶
type UnsafeStorageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStorageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServiceServer will result in compilation errors.
type UnsafeSystemServiceServer ¶
type UnsafeSystemServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UserBasicProto ¶
type UserBasicProto struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // id, globally unique string Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name Gender int32 `protobuf:"varint,3,opt,name=gender,proto3" json:"gender,omitempty"` // Gender. 0:default 1:male 2:female RechargeAmounts float32 `protobuf:"fixed32,4,opt,name=recharge_amounts,json=rechargeAmounts,proto3" json:"recharge_amounts,omitempty"` // Recharge amount // contains filtered or unexported fields }
Basic information
func (*UserBasicProto) Descriptor
deprecated
func (*UserBasicProto) Descriptor() ([]byte, []int)
Deprecated: Use UserBasicProto.ProtoReflect.Descriptor instead.
func (*UserBasicProto) GetGender ¶
func (x *UserBasicProto) GetGender() int32
func (*UserBasicProto) GetId ¶
func (x *UserBasicProto) GetId() string
func (*UserBasicProto) GetName ¶
func (x *UserBasicProto) GetName() string
func (*UserBasicProto) GetRechargeAmounts ¶
func (x *UserBasicProto) GetRechargeAmounts() float32
func (*UserBasicProto) ProtoMessage ¶
func (*UserBasicProto) ProtoMessage()
func (*UserBasicProto) ProtoReflect ¶
func (x *UserBasicProto) ProtoReflect() protoreflect.Message
func (*UserBasicProto) Reset ¶
func (x *UserBasicProto) Reset()
func (*UserBasicProto) String ¶
func (x *UserBasicProto) String() string
func (*UserBasicProto) Validate ¶
func (m *UserBasicProto) Validate() error
Validate checks the field values on UserBasicProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserBasicProto) ValidateAll ¶
func (m *UserBasicProto) ValidateAll() error
ValidateAll checks the field values on UserBasicProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserBasicProtoMultiError, or nil if none found.
type UserBasicProtoMultiError ¶
type UserBasicProtoMultiError []error
UserBasicProtoMultiError is an error wrapping multiple validation errors returned by UserBasicProto.ValidateAll() if the designated constraints aren't met.
func (UserBasicProtoMultiError) AllErrors ¶
func (m UserBasicProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserBasicProtoMultiError) Error ¶
func (m UserBasicProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserBasicProtoValidationError ¶
type UserBasicProtoValidationError struct {
// contains filtered or unexported fields
}
UserBasicProtoValidationError is the validation error returned by UserBasicProto.Validate if the designated constraints aren't met.
func (UserBasicProtoValidationError) Cause ¶
func (e UserBasicProtoValidationError) Cause() error
Cause function returns cause value.
func (UserBasicProtoValidationError) Error ¶
func (e UserBasicProtoValidationError) Error() string
Error satisfies the builtin error interface
func (UserBasicProtoValidationError) ErrorName ¶
func (e UserBasicProtoValidationError) ErrorName() string
ErrorName returns error name.
func (UserBasicProtoValidationError) Field ¶
func (e UserBasicProtoValidationError) Field() string
Field function returns field value.
func (UserBasicProtoValidationError) Key ¶
func (e UserBasicProtoValidationError) Key() bool
Key function returns key value.
func (UserBasicProtoValidationError) Reason ¶
func (e UserBasicProtoValidationError) Reason() string
Reason function returns reason value.
type UserEquipListProto ¶
type UserEquipListProto struct { Equips map[int64]*EquipProto `` // All equipment /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
User equipment list
func (*UserEquipListProto) Descriptor
deprecated
func (*UserEquipListProto) Descriptor() ([]byte, []int)
Deprecated: Use UserEquipListProto.ProtoReflect.Descriptor instead.
func (*UserEquipListProto) GetEquips ¶
func (x *UserEquipListProto) GetEquips() map[int64]*EquipProto
func (*UserEquipListProto) ProtoMessage ¶
func (*UserEquipListProto) ProtoMessage()
func (*UserEquipListProto) ProtoReflect ¶
func (x *UserEquipListProto) ProtoReflect() protoreflect.Message
func (*UserEquipListProto) Reset ¶
func (x *UserEquipListProto) Reset()
func (*UserEquipListProto) String ¶
func (x *UserEquipListProto) String() string
func (*UserEquipListProto) Validate ¶
func (m *UserEquipListProto) Validate() error
Validate checks the field values on UserEquipListProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserEquipListProto) ValidateAll ¶
func (m *UserEquipListProto) ValidateAll() error
ValidateAll checks the field values on UserEquipListProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserEquipListProtoMultiError, or nil if none found.
type UserEquipListProtoMultiError ¶
type UserEquipListProtoMultiError []error
UserEquipListProtoMultiError is an error wrapping multiple validation errors returned by UserEquipListProto.ValidateAll() if the designated constraints aren't met.
func (UserEquipListProtoMultiError) AllErrors ¶
func (m UserEquipListProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserEquipListProtoMultiError) Error ¶
func (m UserEquipListProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserEquipListProtoValidationError ¶
type UserEquipListProtoValidationError struct {
// contains filtered or unexported fields
}
UserEquipListProtoValidationError is the validation error returned by UserEquipListProto.Validate if the designated constraints aren't met.
func (UserEquipListProtoValidationError) Cause ¶
func (e UserEquipListProtoValidationError) Cause() error
Cause function returns cause value.
func (UserEquipListProtoValidationError) Error ¶
func (e UserEquipListProtoValidationError) Error() string
Error satisfies the builtin error interface
func (UserEquipListProtoValidationError) ErrorName ¶
func (e UserEquipListProtoValidationError) ErrorName() string
ErrorName returns error name.
func (UserEquipListProtoValidationError) Field ¶
func (e UserEquipListProtoValidationError) Field() string
Field function returns field value.
func (UserEquipListProtoValidationError) Key ¶
func (e UserEquipListProtoValidationError) Key() bool
Key function returns key value.
func (UserEquipListProtoValidationError) Reason ¶
func (e UserEquipListProtoValidationError) Reason() string
Reason function returns reason value.
type UserHeroListProto ¶
type UserHeroListProto struct { Heroes map[int64]*HeroProto `` // All heroes /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
Hero list
func (*UserHeroListProto) Descriptor
deprecated
func (*UserHeroListProto) Descriptor() ([]byte, []int)
Deprecated: Use UserHeroListProto.ProtoReflect.Descriptor instead.
func (*UserHeroListProto) GetHeroes ¶
func (x *UserHeroListProto) GetHeroes() map[int64]*HeroProto
func (*UserHeroListProto) ProtoMessage ¶
func (*UserHeroListProto) ProtoMessage()
func (*UserHeroListProto) ProtoReflect ¶
func (x *UserHeroListProto) ProtoReflect() protoreflect.Message
func (*UserHeroListProto) Reset ¶
func (x *UserHeroListProto) Reset()
func (*UserHeroListProto) String ¶
func (x *UserHeroListProto) String() string
func (*UserHeroListProto) Validate ¶
func (m *UserHeroListProto) Validate() error
Validate checks the field values on UserHeroListProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserHeroListProto) ValidateAll ¶
func (m *UserHeroListProto) ValidateAll() error
ValidateAll checks the field values on UserHeroListProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserHeroListProtoMultiError, or nil if none found.
type UserHeroListProtoMultiError ¶
type UserHeroListProtoMultiError []error
UserHeroListProtoMultiError is an error wrapping multiple validation errors returned by UserHeroListProto.ValidateAll() if the designated constraints aren't met.
func (UserHeroListProtoMultiError) AllErrors ¶
func (m UserHeroListProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserHeroListProtoMultiError) Error ¶
func (m UserHeroListProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserHeroListProtoValidationError ¶
type UserHeroListProtoValidationError struct {
// contains filtered or unexported fields
}
UserHeroListProtoValidationError is the validation error returned by UserHeroListProto.Validate if the designated constraints aren't met.
func (UserHeroListProtoValidationError) Cause ¶
func (e UserHeroListProtoValidationError) Cause() error
Cause function returns cause value.
func (UserHeroListProtoValidationError) Error ¶
func (e UserHeroListProtoValidationError) Error() string
Error satisfies the builtin error interface
func (UserHeroListProtoValidationError) ErrorName ¶
func (e UserHeroListProtoValidationError) ErrorName() string
ErrorName returns error name.
func (UserHeroListProtoValidationError) Field ¶
func (e UserHeroListProtoValidationError) Field() string
Field function returns field value.
func (UserHeroListProtoValidationError) Key ¶
func (e UserHeroListProtoValidationError) Key() bool
Key function returns key value.
func (UserHeroListProtoValidationError) Reason ¶
func (e UserHeroListProtoValidationError) Reason() string
Reason function returns reason value.
type UserProto ¶
type UserProto struct { Basic *UserBasicProto `protobuf:"bytes,1,opt,name=basic,proto3" json:"basic,omitempty"` // Basic information Storage *UserStorageProto `protobuf:"bytes,2,opt,name=storage,proto3" json:"storage,omitempty"` // Item storage HeroList *UserHeroListProto `protobuf:"bytes,3,opt,name=hero_list,json=heroList,proto3" json:"hero_list,omitempty"` // Hero list Room *UserRoomProto `protobuf:"bytes,4,opt,name=room,proto3" json:"room,omitempty"` // Room // contains filtered or unexported fields }
User data
func (*UserProto) Descriptor
deprecated
func (*UserProto) GetBasic ¶
func (x *UserProto) GetBasic() *UserBasicProto
func (*UserProto) GetHeroList ¶
func (x *UserProto) GetHeroList() *UserHeroListProto
func (*UserProto) GetRoom ¶
func (x *UserProto) GetRoom() *UserRoomProto
func (*UserProto) GetStorage ¶
func (x *UserProto) GetStorage() *UserStorageProto
func (*UserProto) ProtoMessage ¶
func (*UserProto) ProtoMessage()
func (*UserProto) ProtoReflect ¶
func (x *UserProto) ProtoReflect() protoreflect.Message
func (*UserProto) Validate ¶
Validate checks the field values on UserProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserProto) ValidateAll ¶
ValidateAll checks the field values on UserProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserProtoMultiError, or nil if none found.
type UserProtoMultiError ¶
type UserProtoMultiError []error
UserProtoMultiError is an error wrapping multiple validation errors returned by UserProto.ValidateAll() if the designated constraints aren't met.
func (UserProtoMultiError) AllErrors ¶
func (m UserProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserProtoMultiError) Error ¶
func (m UserProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserProtoValidationError ¶
type UserProtoValidationError struct {
// contains filtered or unexported fields
}
UserProtoValidationError is the validation error returned by UserProto.Validate if the designated constraints aren't met.
func (UserProtoValidationError) Cause ¶
func (e UserProtoValidationError) Cause() error
Cause function returns cause value.
func (UserProtoValidationError) Error ¶
func (e UserProtoValidationError) Error() string
Error satisfies the builtin error interface
func (UserProtoValidationError) ErrorName ¶
func (e UserProtoValidationError) ErrorName() string
ErrorName returns error name.
func (UserProtoValidationError) Field ¶
func (e UserProtoValidationError) Field() string
Field function returns field value.
func (UserProtoValidationError) Key ¶
func (e UserProtoValidationError) Key() bool
Key function returns key value.
func (UserProtoValidationError) Reason ¶
func (e UserProtoValidationError) Reason() string
Reason function returns reason value.
type UserRoomProto ¶
type UserRoomProto struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // Room ID // contains filtered or unexported fields }
func (*UserRoomProto) Descriptor
deprecated
func (*UserRoomProto) Descriptor() ([]byte, []int)
Deprecated: Use UserRoomProto.ProtoReflect.Descriptor instead.
func (*UserRoomProto) GetRoomId ¶
func (x *UserRoomProto) GetRoomId() int64
func (*UserRoomProto) ProtoMessage ¶
func (*UserRoomProto) ProtoMessage()
func (*UserRoomProto) ProtoReflect ¶
func (x *UserRoomProto) ProtoReflect() protoreflect.Message
func (*UserRoomProto) Reset ¶
func (x *UserRoomProto) Reset()
func (*UserRoomProto) String ¶
func (x *UserRoomProto) String() string
func (*UserRoomProto) Validate ¶
func (m *UserRoomProto) Validate() error
Validate checks the field values on UserRoomProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserRoomProto) ValidateAll ¶
func (m *UserRoomProto) ValidateAll() error
ValidateAll checks the field values on UserRoomProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserRoomProtoMultiError, or nil if none found.
type UserRoomProtoMultiError ¶
type UserRoomProtoMultiError []error
UserRoomProtoMultiError is an error wrapping multiple validation errors returned by UserRoomProto.ValidateAll() if the designated constraints aren't met.
func (UserRoomProtoMultiError) AllErrors ¶
func (m UserRoomProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserRoomProtoMultiError) Error ¶
func (m UserRoomProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserRoomProtoValidationError ¶
type UserRoomProtoValidationError struct {
// contains filtered or unexported fields
}
UserRoomProtoValidationError is the validation error returned by UserRoomProto.Validate if the designated constraints aren't met.
func (UserRoomProtoValidationError) Cause ¶
func (e UserRoomProtoValidationError) Cause() error
Cause function returns cause value.
func (UserRoomProtoValidationError) Error ¶
func (e UserRoomProtoValidationError) Error() string
Error satisfies the builtin error interface
func (UserRoomProtoValidationError) ErrorName ¶
func (e UserRoomProtoValidationError) ErrorName() string
ErrorName returns error name.
func (UserRoomProtoValidationError) Field ¶
func (e UserRoomProtoValidationError) Field() string
Field function returns field value.
func (UserRoomProtoValidationError) Key ¶
func (e UserRoomProtoValidationError) Key() bool
Key function returns key value.
func (UserRoomProtoValidationError) Reason ¶
func (e UserRoomProtoValidationError) Reason() string
Reason function returns reason value.
type UserServiceClient ¶
type UserServiceClient interface { // Login Login(ctx context.Context, in *CSLogin, opts ...grpc.CallOption) (*SCLogin, error) // Update name UpdateName(ctx context.Context, in *CSUpdateName, opts ...grpc.CallOption) (*SCUpdateName, error) // Set gender SetGender(ctx context.Context, in *CSSetGender, opts ...grpc.CallOption) (*SCSetGender, error) }
UserServiceClient is the client API for UserService 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.
User service
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceHTTPClient ¶
type UserServiceHTTPClient interface { Login(ctx context.Context, req *CSLogin, opts ...http.CallOption) (rsp *SCLogin, err error) SetGender(ctx context.Context, req *CSSetGender, opts ...http.CallOption) (rsp *SCSetGender, err error) UpdateName(ctx context.Context, req *CSUpdateName, opts ...http.CallOption) (rsp *SCUpdateName, err error) }
func NewUserServiceHTTPClient ¶
func NewUserServiceHTTPClient(client *http.Client) UserServiceHTTPClient
type UserServiceHTTPClientImpl ¶
type UserServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*UserServiceHTTPClientImpl) Login ¶
func (c *UserServiceHTTPClientImpl) Login(ctx context.Context, in *CSLogin, opts ...http.CallOption) (*SCLogin, error)
func (*UserServiceHTTPClientImpl) SetGender ¶
func (c *UserServiceHTTPClientImpl) SetGender(ctx context.Context, in *CSSetGender, opts ...http.CallOption) (*SCSetGender, error)
func (*UserServiceHTTPClientImpl) UpdateName ¶
func (c *UserServiceHTTPClientImpl) UpdateName(ctx context.Context, in *CSUpdateName, opts ...http.CallOption) (*SCUpdateName, error)
type UserServiceHTTPServer ¶
type UserServiceHTTPServer interface { // Login Login Login(context.Context, *CSLogin) (*SCLogin, error) // SetGender Set gender SetGender(context.Context, *CSSetGender) (*SCSetGender, error) // UpdateName Update name UpdateName(context.Context, *CSUpdateName) (*SCUpdateName, error) }
type UserServiceServer ¶
type UserServiceServer interface { // Login Login(context.Context, *CSLogin) (*SCLogin, error) // Update name UpdateName(context.Context, *CSUpdateName) (*SCUpdateName, error) // Set gender SetGender(context.Context, *CSSetGender) (*SCSetGender, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility.
User service
type UserStorageProto ¶
type UserStorageProto struct { Items map[int64]uint64 `` // Items. item DataID -> amount /* 139-byte string literal not displayed */ Packs map[int64]uint64 `` // Packs. pack DataID -> amount /* 139-byte string literal not displayed */ RecoveryInfos map[int64]*ItemRecoveryInfoProto `` // Recoverable item infos. item DataID -> properties /* 175-byte string literal not displayed */ // contains filtered or unexported fields }
Storage
func (*UserStorageProto) Descriptor
deprecated
func (*UserStorageProto) Descriptor() ([]byte, []int)
Deprecated: Use UserStorageProto.ProtoReflect.Descriptor instead.
func (*UserStorageProto) GetItems ¶
func (x *UserStorageProto) GetItems() map[int64]uint64
func (*UserStorageProto) GetPacks ¶
func (x *UserStorageProto) GetPacks() map[int64]uint64
func (*UserStorageProto) GetRecoveryInfos ¶
func (x *UserStorageProto) GetRecoveryInfos() map[int64]*ItemRecoveryInfoProto
func (*UserStorageProto) ProtoMessage ¶
func (*UserStorageProto) ProtoMessage()
func (*UserStorageProto) ProtoReflect ¶
func (x *UserStorageProto) ProtoReflect() protoreflect.Message
func (*UserStorageProto) Reset ¶
func (x *UserStorageProto) Reset()
func (*UserStorageProto) String ¶
func (x *UserStorageProto) String() string
func (*UserStorageProto) Validate ¶
func (m *UserStorageProto) Validate() error
Validate checks the field values on UserStorageProto with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserStorageProto) ValidateAll ¶
func (m *UserStorageProto) ValidateAll() error
ValidateAll checks the field values on UserStorageProto with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserStorageProtoMultiError, or nil if none found.
type UserStorageProtoMultiError ¶
type UserStorageProtoMultiError []error
UserStorageProtoMultiError is an error wrapping multiple validation errors returned by UserStorageProto.ValidateAll() if the designated constraints aren't met.
func (UserStorageProtoMultiError) AllErrors ¶
func (m UserStorageProtoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserStorageProtoMultiError) Error ¶
func (m UserStorageProtoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserStorageProtoValidationError ¶
type UserStorageProtoValidationError struct {
// contains filtered or unexported fields
}
UserStorageProtoValidationError is the validation error returned by UserStorageProto.Validate if the designated constraints aren't met.
func (UserStorageProtoValidationError) Cause ¶
func (e UserStorageProtoValidationError) Cause() error
Cause function returns cause value.
func (UserStorageProtoValidationError) Error ¶
func (e UserStorageProtoValidationError) Error() string
Error satisfies the builtin error interface
func (UserStorageProtoValidationError) ErrorName ¶
func (e UserStorageProtoValidationError) ErrorName() string
ErrorName returns error name.
func (UserStorageProtoValidationError) Field ¶
func (e UserStorageProtoValidationError) Field() string
Field function returns field value.
func (UserStorageProtoValidationError) Key ¶
func (e UserStorageProtoValidationError) Key() bool
Key function returns key value.
func (UserStorageProtoValidationError) Reason ¶
func (e UserStorageProtoValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- dev.pb.go
- dev.pb.validate.go
- dev_service.pb.go
- dev_service.pb.validate.go
- dev_service_grpc.pb.go
- dev_service_http.pb.go
- equip.pb.go
- equip.pb.validate.go
- equip_service.pb.go
- equip_service.pb.validate.go
- equip_service_grpc.pb.go
- equip_service_http.pb.go
- hero.pb.go
- hero.pb.validate.go
- hero_service.pb.go
- hero_service.pb.validate.go
- hero_service_grpc.pb.go
- hero_service_http.pb.go
- room.pb.go
- room.pb.validate.go
- room_service.pb.go
- room_service.pb.validate.go
- room_service_grpc.pb.go
- room_service_http.pb.go
- storage.pb.go
- storage.pb.validate.go
- storage_service.pb.go
- storage_service.pb.validate.go
- storage_service_grpc.pb.go
- storage_service_http.pb.go
- system_service.pb.go
- system_service.pb.validate.go
- system_service_grpc.pb.go
- system_service_http.pb.go
- user.pb.go
- user.pb.validate.go
- user_basic.pb.go
- user_basic.pb.validate.go
- user_service.pb.go
- user_service.pb.validate.go
- user_service_grpc.pb.go
- user_service_http.pb.go