climsg

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DevService_DevList_FullMethodName    = "/message.DevService/DevList"
	DevService_DevExecute_FullMethodName = "/message.DevService/DevExecute"
)
View Source
const (
	EquipService_EquipWear_FullMethodName    = "/message.EquipService/EquipWear"
	EquipService_EquipTakeOff_FullMethodName = "/message.EquipService/EquipTakeOff"
	EquipService_EquipUpgrade_FullMethodName = "/message.EquipService/EquipUpgrade"
)
View Source
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"
)
View Source
const (
	UserService_Login_FullMethodName      = "/message.UserService/Login"
	UserService_UpdateName_FullMethodName = "/message.UserService/UpdateName"
	UserService_SetGender_FullMethodName  = "/message.UserService/SetGender"
)
View Source
const (
	HeroService_HeroLevelUpgrade_FullMethodName = "/message.HeroService/HeroLevelUpgrade"
)
View Source
const OperationDevServiceDevExecute = "/message.DevService/DevExecute"
View Source
const OperationDevServiceDevList = "/message.DevService/DevList"
View Source
const OperationEquipServiceEquipTakeOff = "/message.EquipService/EquipTakeOff"
View Source
const OperationEquipServiceEquipUpgrade = "/message.EquipService/EquipUpgrade"
View Source
const OperationEquipServiceEquipWear = "/message.EquipService/EquipWear"
View Source
const OperationHeroServiceHeroLevelUpgrade = "/message.HeroService/HeroLevelUpgrade"
View Source
const OperationRoomServiceAgreeToInviteJoinRoom = "/message.RoomService/AgreeToInviteJoinRoom"
View Source
const OperationRoomServiceApproveRequestToJoinRoom = "/message.RoomService/ApproveRequestToJoinRoom"
View Source
const OperationRoomServiceCloseRoom = "/message.RoomService/CloseRoom"
View Source
const OperationRoomServiceCreateRoom = "/message.RoomService/CreateRoom"
View Source
const OperationRoomServiceInviteToJoinRoom = "/message.RoomService/InviteToJoinRoom"
View Source
const OperationRoomServiceKickUserFromRoom = "/message.RoomService/KickUserFromRoom"
View Source
const OperationRoomServiceLeaveRoom = "/message.RoomService/LeaveRoom"
View Source
const OperationRoomServiceRequestToJoinRoom = "/message.RoomService/RequestToJoinRoom"
View Source
const OperationRoomServiceRoomDetail = "/message.RoomService/RoomDetail"
View Source
const OperationRoomServiceRoomList = "/message.RoomService/RoomList"
View Source
const OperationStorageServiceUsePack = "/message.StorageService/UsePack"
View Source
const OperationSystemServiceHeartbeat = "/message.SystemService/Heartbeat"
View Source
const OperationUserServiceLogin = "/message.UserService/Login"
View Source
const OperationUserServiceSetGender = "/message.UserService/SetGender"
View Source
const OperationUserServiceUpdateName = "/message.UserService/UpdateName"
View Source
const (
	StorageService_UsePack_FullMethodName = "/message.StorageService/UsePack"
)
View Source
const (
	SystemService_Heartbeat_FullMethodName = "/message.SystemService/Heartbeat"
)

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
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)

View Source
var File_message_dev_proto protoreflect.FileDescriptor
View Source
var File_message_dev_service_proto protoreflect.FileDescriptor
View Source
var File_message_equip_proto protoreflect.FileDescriptor
View Source
var File_message_equip_service_proto protoreflect.FileDescriptor
View Source
var File_message_hero_proto protoreflect.FileDescriptor
View Source
var File_message_hero_service_proto protoreflect.FileDescriptor
View Source
var File_message_room_proto protoreflect.FileDescriptor
View Source
var File_message_room_service_proto protoreflect.FileDescriptor
View Source
var File_message_storage_proto protoreflect.FileDescriptor
View Source
var File_message_storage_service_proto protoreflect.FileDescriptor
View Source
var File_message_system_service_proto protoreflect.FileDescriptor
View Source
var File_message_user_basic_proto protoreflect.FileDescriptor
View Source
var File_message_user_proto protoreflect.FileDescriptor
View Source
var File_message_user_service_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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

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

Cause function returns cause value.

func (CSAgreeToInviteJoinRoomValidationError) Error

Error satisfies the builtin error interface

func (CSAgreeToInviteJoinRoomValidationError) ErrorName

ErrorName returns error name.

func (CSAgreeToInviteJoinRoomValidationError) Field

Field function returns field value.

func (CSAgreeToInviteJoinRoomValidationError) Key

Key function returns key value.

func (CSAgreeToInviteJoinRoomValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (CSApproveRequestToJoinRoomMultiError) Error

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

Cause function returns cause value.

func (CSApproveRequestToJoinRoomValidationError) Error

Error satisfies the builtin error interface

func (CSApproveRequestToJoinRoomValidationError) ErrorName

ErrorName returns error name.

func (CSApproveRequestToJoinRoomValidationError) Field

Field function returns field value.

func (CSApproveRequestToJoinRoomValidationError) Key

Key function returns key value.

func (CSApproveRequestToJoinRoomValidationError) Reason

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

Cause function returns cause value.

func (CSCloseRoomValidationError) Error

Error satisfies the builtin error interface

func (CSCloseRoomValidationError) ErrorName

func (e CSCloseRoomValidationError) ErrorName() string

ErrorName returns error name.

func (CSCloseRoomValidationError) Field

Field function returns field value.

func (CSCloseRoomValidationError) Key

Key function returns key value.

func (CSCloseRoomValidationError) Reason

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

Cause function returns cause value.

func (CSCreateRoomValidationError) Error

Error satisfies the builtin error interface

func (CSCreateRoomValidationError) ErrorName

func (e CSCreateRoomValidationError) ErrorName() string

ErrorName returns error name.

func (CSCreateRoomValidationError) Field

Field function returns field value.

func (CSCreateRoomValidationError) Key

Key function returns key value.

func (CSCreateRoomValidationError) Reason

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

Cause function returns cause value.

func (CSDevExecuteValidationError) Error

Error satisfies the builtin error interface

func (CSDevExecuteValidationError) ErrorName

func (e CSDevExecuteValidationError) ErrorName() string

ErrorName returns error name.

func (CSDevExecuteValidationError) Field

Field function returns field value.

func (CSDevExecuteValidationError) Key

Key function returns key value.

func (CSDevExecuteValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use CSDevList.ProtoReflect.Descriptor instead.

func (*CSDevList) ProtoMessage

func (*CSDevList) ProtoMessage()

func (*CSDevList) ProtoReflect

func (x *CSDevList) ProtoReflect() protoreflect.Message

func (*CSDevList) Reset

func (x *CSDevList) Reset()

func (*CSDevList) String

func (x *CSDevList) String() string

func (*CSDevList) Validate

func (m *CSDevList) Validate() error

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

func (m *CSDevList) ValidateAll() error

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

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

Cause function returns cause value.

func (CSEquipTakeOffValidationError) Error

Error satisfies the builtin error interface

func (CSEquipTakeOffValidationError) ErrorName

func (e CSEquipTakeOffValidationError) ErrorName() string

ErrorName returns error name.

func (CSEquipTakeOffValidationError) Field

Field function returns field value.

func (CSEquipTakeOffValidationError) Key

Key function returns key value.

func (CSEquipTakeOffValidationError) Reason

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

Cause function returns cause value.

func (CSEquipUpgradeValidationError) Error

Error satisfies the builtin error interface

func (CSEquipUpgradeValidationError) ErrorName

func (e CSEquipUpgradeValidationError) ErrorName() string

ErrorName returns error name.

func (CSEquipUpgradeValidationError) Field

Field function returns field value.

func (CSEquipUpgradeValidationError) Key

Key function returns key value.

func (CSEquipUpgradeValidationError) Reason

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

Cause function returns cause value.

func (CSEquipWearValidationError) Error

Error satisfies the builtin error interface

func (CSEquipWearValidationError) ErrorName

func (e CSEquipWearValidationError) ErrorName() string

ErrorName returns error name.

func (CSEquipWearValidationError) Field

Field function returns field value.

func (CSEquipWearValidationError) Key

Key function returns key value.

func (CSEquipWearValidationError) Reason

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

Cause function returns cause value.

func (CSHandshakeValidationError) Error

Error satisfies the builtin error interface

func (CSHandshakeValidationError) ErrorName

func (e CSHandshakeValidationError) ErrorName() string

ErrorName returns error name.

func (CSHandshakeValidationError) Field

Field function returns field value.

func (CSHandshakeValidationError) Key

Key function returns key value.

func (CSHandshakeValidationError) Reason

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

Cause function returns cause value.

func (CSHeartbeatValidationError) Error

Error satisfies the builtin error interface

func (CSHeartbeatValidationError) ErrorName

func (e CSHeartbeatValidationError) ErrorName() string

ErrorName returns error name.

func (CSHeartbeatValidationError) Field

Field function returns field value.

func (CSHeartbeatValidationError) Key

Key function returns key value.

func (CSHeartbeatValidationError) Reason

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

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

Cause function returns cause value.

func (CSHeroLevelUpgradeValidationError) Error

Error satisfies the builtin error interface

func (CSHeroLevelUpgradeValidationError) ErrorName

ErrorName returns error name.

func (CSHeroLevelUpgradeValidationError) Field

Field function returns field value.

func (CSHeroLevelUpgradeValidationError) Key

Key function returns key value.

func (CSHeroLevelUpgradeValidationError) Reason

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

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

Cause function returns cause value.

func (CSInviteToJoinRoomValidationError) Error

Error satisfies the builtin error interface

func (CSInviteToJoinRoomValidationError) ErrorName

ErrorName returns error name.

func (CSInviteToJoinRoomValidationError) Field

Field function returns field value.

func (CSInviteToJoinRoomValidationError) Key

Key function returns key value.

func (CSInviteToJoinRoomValidationError) Reason

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

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

Cause function returns cause value.

func (CSKickUserFromRoomValidationError) Error

Error satisfies the builtin error interface

func (CSKickUserFromRoomValidationError) ErrorName

ErrorName returns error name.

func (CSKickUserFromRoomValidationError) Field

Field function returns field value.

func (CSKickUserFromRoomValidationError) Key

Key function returns key value.

func (CSKickUserFromRoomValidationError) Reason

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

Cause function returns cause value.

func (CSLeaveRoomValidationError) Error

Error satisfies the builtin error interface

func (CSLeaveRoomValidationError) ErrorName

func (e CSLeaveRoomValidationError) ErrorName() string

ErrorName returns error name.

func (CSLeaveRoomValidationError) Field

Field function returns field value.

func (CSLeaveRoomValidationError) Key

Key function returns key value.

func (CSLeaveRoomValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use CSLogin.ProtoReflect.Descriptor instead.

func (*CSLogin) GetReconnect

func (x *CSLogin) GetReconnect() bool

func (*CSLogin) ProtoMessage

func (*CSLogin) ProtoMessage()

func (*CSLogin) ProtoReflect

func (x *CSLogin) ProtoReflect() protoreflect.Message

func (*CSLogin) Reset

func (x *CSLogin) Reset()

func (*CSLogin) String

func (x *CSLogin) String() string

func (*CSLogin) Validate

func (m *CSLogin) Validate() error

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

func (m *CSLogin) ValidateAll() error

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

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

Cause function returns cause value.

func (CSRequestToJoinRoomValidationError) Error

Error satisfies the builtin error interface

func (CSRequestToJoinRoomValidationError) ErrorName

ErrorName returns error name.

func (CSRequestToJoinRoomValidationError) Field

Field function returns field value.

func (CSRequestToJoinRoomValidationError) Key

Key function returns key value.

func (CSRequestToJoinRoomValidationError) Reason

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

Cause function returns cause value.

func (CSRoomDetailValidationError) Error

Error satisfies the builtin error interface

func (CSRoomDetailValidationError) ErrorName

func (e CSRoomDetailValidationError) ErrorName() string

ErrorName returns error name.

func (CSRoomDetailValidationError) Field

Field function returns field value.

func (CSRoomDetailValidationError) Key

Key function returns key value.

func (CSRoomDetailValidationError) Reason

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

Error satisfies the builtin error interface

func (CSRoomListValidationError) ErrorName

func (e CSRoomListValidationError) ErrorName() string

ErrorName returns error name.

func (CSRoomListValidationError) Field

Field function returns field value.

func (CSRoomListValidationError) Key

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

Cause function returns cause value.

func (CSSetGenderValidationError) Error

Error satisfies the builtin error interface

func (CSSetGenderValidationError) ErrorName

func (e CSSetGenderValidationError) ErrorName() string

ErrorName returns error name.

func (CSSetGenderValidationError) Field

Field function returns field value.

func (CSSetGenderValidationError) Key

Key function returns key value.

func (CSSetGenderValidationError) Reason

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

Cause function returns cause value.

func (CSUpdateNameValidationError) Error

Error satisfies the builtin error interface

func (CSUpdateNameValidationError) ErrorName

func (e CSUpdateNameValidationError) ErrorName() string

ErrorName returns error name.

func (CSUpdateNameValidationError) Field

Field function returns field value.

func (CSUpdateNameValidationError) Key

Key function returns key value.

func (CSUpdateNameValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use CSUsePack.ProtoReflect.Descriptor instead.

func (*CSUsePack) GetId

func (x *CSUsePack) GetId() int64

func (*CSUsePack) ProtoMessage

func (*CSUsePack) ProtoMessage()

func (*CSUsePack) ProtoReflect

func (x *CSUsePack) ProtoReflect() protoreflect.Message

func (*CSUsePack) Reset

func (x *CSUsePack) Reset()

func (*CSUsePack) String

func (x *CSUsePack) String() string

func (*CSUsePack) Validate

func (m *CSUsePack) Validate() error

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

func (m *CSUsePack) ValidateAll() error

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

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

Cause function returns cause value.

func (DevCmdArgProtoValidationError) Error

Error satisfies the builtin error interface

func (DevCmdArgProtoValidationError) ErrorName

func (e DevCmdArgProtoValidationError) ErrorName() string

ErrorName returns error name.

func (DevCmdArgProtoValidationError) Field

Field function returns field value.

func (DevCmdArgProtoValidationError) Key

Key function returns key value.

func (DevCmdArgProtoValidationError) Reason

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

Cause function returns cause value.

func (DevCmdProtoValidationError) Error

Error satisfies the builtin error interface

func (DevCmdProtoValidationError) ErrorName

func (e DevCmdProtoValidationError) ErrorName() string

ErrorName returns error name.

func (DevCmdProtoValidationError) Field

Field function returns field value.

func (DevCmdProtoValidationError) Key

Key function returns key value.

func (DevCmdProtoValidationError) Reason

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 (*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

Error satisfies the builtin error interface

func (EquipProtoValidationError) ErrorName

func (e EquipProtoValidationError) ErrorName() string

ErrorName returns error name.

func (EquipProtoValidationError) Field

Field function returns field value.

func (EquipProtoValidationError) Key

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

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 (*EquipServiceHTTPClientImpl) EquipUpgrade

func (*EquipServiceHTTPClientImpl) EquipWear

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) Descriptor() ([]byte, []int)

Deprecated: Use HeroProto.ProtoReflect.Descriptor instead.

func (*HeroProto) GetDataId

func (x *HeroProto) GetDataId() int64

func (*HeroProto) GetEquips

func (x *HeroProto) GetEquips() []int64

func (*HeroProto) GetId

func (x *HeroProto) GetId() int64

func (*HeroProto) GetLevel

func (x *HeroProto) GetLevel() int64

func (*HeroProto) GetSkills

func (x *HeroProto) GetSkills() map[int64]int64

func (*HeroProto) ProtoMessage

func (*HeroProto) ProtoMessage()

func (*HeroProto) ProtoReflect

func (x *HeroProto) ProtoReflect() protoreflect.Message

func (*HeroProto) Reset

func (x *HeroProto) Reset()

func (*HeroProto) String

func (x *HeroProto) String() string

func (*HeroProto) Validate

func (m *HeroProto) Validate() error

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

func (m *HeroProto) ValidateAll() error

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

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

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

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

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

Cause function returns cause value.

func (ItemRecoveryInfoProtoValidationError) Error

Error satisfies the builtin error interface

func (ItemRecoveryInfoProtoValidationError) ErrorName

ErrorName returns error name.

func (ItemRecoveryInfoProtoValidationError) Field

Field function returns field value.

func (ItemRecoveryInfoProtoValidationError) Key

Key function returns key value.

func (ItemRecoveryInfoProtoValidationError) Reason

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

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

Cause function returns cause value.

func (RechargeParamProtoValidationError) Error

Error satisfies the builtin error interface

func (RechargeParamProtoValidationError) ErrorName

ErrorName returns error name.

func (RechargeParamProtoValidationError) Field

Field function returns field value.

func (RechargeParamProtoValidationError) Key

Key function returns key value.

func (RechargeParamProtoValidationError) Reason

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

Cause function returns cause value.

func (RoomBasicProtoValidationError) Error

Error satisfies the builtin error interface

func (RoomBasicProtoValidationError) ErrorName

func (e RoomBasicProtoValidationError) ErrorName() string

ErrorName returns error name.

func (RoomBasicProtoValidationError) Field

Field function returns field value.

func (RoomBasicProtoValidationError) Key

Key function returns key value.

func (RoomBasicProtoValidationError) Reason

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

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

Cause function returns cause value.

func (RoomMemberProtoValidationError) Error

Error satisfies the builtin error interface

func (RoomMemberProtoValidationError) ErrorName

func (e RoomMemberProtoValidationError) ErrorName() string

ErrorName returns error name.

func (RoomMemberProtoValidationError) Field

Field function returns field value.

func (RoomMemberProtoValidationError) Key

Key function returns key value.

func (RoomMemberProtoValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use RoomProto.ProtoReflect.Descriptor instead.

func (*RoomProto) GetBasic

func (x *RoomProto) GetBasic() *RoomBasicProto

func (*RoomProto) GetInvitees

func (x *RoomProto) GetInvitees() []int64

func (*RoomProto) GetMembers

func (x *RoomProto) GetMembers() map[int64]*RoomMemberProto

func (*RoomProto) GetRequests

func (x *RoomProto) GetRequests() []int64

func (*RoomProto) ProtoMessage

func (*RoomProto) ProtoMessage()

func (*RoomProto) ProtoReflect

func (x *RoomProto) ProtoReflect() protoreflect.Message

func (*RoomProto) Reset

func (x *RoomProto) Reset()

func (*RoomProto) String

func (x *RoomProto) String() string

func (*RoomProto) Validate

func (m *RoomProto) Validate() error

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

func (m *RoomProto) ValidateAll() error

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

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

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 (*RoomServiceHTTPClientImpl) ApproveRequestToJoinRoom

func (*RoomServiceHTTPClientImpl) CloseRoom

func (*RoomServiceHTTPClientImpl) CreateRoom

func (*RoomServiceHTTPClientImpl) InviteToJoinRoom

func (*RoomServiceHTTPClientImpl) KickUserFromRoom

func (*RoomServiceHTTPClientImpl) LeaveRoom

func (*RoomServiceHTTPClientImpl) RequestToJoinRoom

func (*RoomServiceHTTPClientImpl) RoomDetail

func (*RoomServiceHTTPClientImpl) RoomList

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 (*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

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

Cause function returns cause value.

func (SCAgreeToInviteJoinRoomValidationError) Error

Error satisfies the builtin error interface

func (SCAgreeToInviteJoinRoomValidationError) ErrorName

ErrorName returns error name.

func (SCAgreeToInviteJoinRoomValidationError) Field

Field function returns field value.

func (SCAgreeToInviteJoinRoomValidationError) Key

Key function returns key value.

func (SCAgreeToInviteJoinRoomValidationError) Reason

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_ErrUnauthorized      SCAgreeToInviteJoinRoom_Code = 3 // Unauthorized
	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) Enum

func (SCAgreeToInviteJoinRoom_Code) EnumDescriptor deprecated

func (SCAgreeToInviteJoinRoom_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCAgreeToInviteJoinRoom_Code.Descriptor instead.

func (SCAgreeToInviteJoinRoom_Code) Number

func (SCAgreeToInviteJoinRoom_Code) String

func (SCAgreeToInviteJoinRoom_Code) Type

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 (*SCApproveRequestToJoinRoom) ProtoMessage

func (*SCApproveRequestToJoinRoom) ProtoMessage()

func (*SCApproveRequestToJoinRoom) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (SCApproveRequestToJoinRoomMultiError) Error

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

Cause function returns cause value.

func (SCApproveRequestToJoinRoomValidationError) Error

Error satisfies the builtin error interface

func (SCApproveRequestToJoinRoomValidationError) ErrorName

ErrorName returns error name.

func (SCApproveRequestToJoinRoomValidationError) Field

Field function returns field value.

func (SCApproveRequestToJoinRoomValidationError) Key

Key function returns key value.

func (SCApproveRequestToJoinRoomValidationError) Reason

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_ErrUnauthorized      SCApproveRequestToJoinRoom_Code = 3 // Unauthorized
	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) Enum

func (SCApproveRequestToJoinRoom_Code) EnumDescriptor deprecated

func (SCApproveRequestToJoinRoom_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCApproveRequestToJoinRoom_Code.Descriptor instead.

func (SCApproveRequestToJoinRoom_Code) Number

func (SCApproveRequestToJoinRoom_Code) String

func (SCApproveRequestToJoinRoom_Code) Type

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

Cause function returns cause value.

func (SCCloseRoomValidationError) Error

Error satisfies the builtin error interface

func (SCCloseRoomValidationError) ErrorName

func (e SCCloseRoomValidationError) ErrorName() string

ErrorName returns error name.

func (SCCloseRoomValidationError) Field

Field function returns field value.

func (SCCloseRoomValidationError) Key

Key function returns key value.

func (SCCloseRoomValidationError) Reason

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
	SCCloseRoom_ErrUnauthorized SCCloseRoom_Code = 3 // Unauthorized
)

func (SCCloseRoom_Code) Descriptor

func (SCCloseRoom_Code) Enum

func (SCCloseRoom_Code) EnumDescriptor deprecated

func (SCCloseRoom_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCCloseRoom_Code.Descriptor instead.

func (SCCloseRoom_Code) Number

func (SCCloseRoom_Code) String

func (x SCCloseRoom_Code) String() string

func (SCCloseRoom_Code) Type

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

Cause function returns cause value.

func (SCCreateRoomValidationError) Error

Error satisfies the builtin error interface

func (SCCreateRoomValidationError) ErrorName

func (e SCCreateRoomValidationError) ErrorName() string

ErrorName returns error name.

func (SCCreateRoomValidationError) Field

Field function returns field value.

func (SCCreateRoomValidationError) Key

Key function returns key value.

func (SCCreateRoomValidationError) Reason

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) Enum

func (SCCreateRoom_Code) EnumDescriptor deprecated

func (SCCreateRoom_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCCreateRoom_Code.Descriptor instead.

func (SCCreateRoom_Code) Number

func (SCCreateRoom_Code) String

func (x SCCreateRoom_Code) String() string

func (SCCreateRoom_Code) Type

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

Cause function returns cause value.

func (SCDevExecuteValidationError) Error

Error satisfies the builtin error interface

func (SCDevExecuteValidationError) ErrorName

func (e SCDevExecuteValidationError) ErrorName() string

ErrorName returns error name.

func (SCDevExecuteValidationError) Field

Field function returns field value.

func (SCDevExecuteValidationError) Key

Key function returns key value.

func (SCDevExecuteValidationError) Reason

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) Enum

func (SCDevExecute_Code) EnumDescriptor deprecated

func (SCDevExecute_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCDevExecute_Code.Descriptor instead.

func (SCDevExecute_Code) Number

func (SCDevExecute_Code) String

func (x SCDevExecute_Code) String() string

func (SCDevExecute_Code) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use SCDevList.ProtoReflect.Descriptor instead.

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) Reset

func (x *SCDevList) Reset()

func (*SCDevList) String

func (x *SCDevList) String() string

func (*SCDevList) Validate

func (m *SCDevList) Validate() error

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

func (m *SCDevList) ValidateAll() error

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

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) 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 (SCDevList_Code) String

func (x SCDevList_Code) String() string

func (SCDevList_Code) Type

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

Cause function returns cause value.

func (SCEquipTakeOffValidationError) Error

Error satisfies the builtin error interface

func (SCEquipTakeOffValidationError) ErrorName

func (e SCEquipTakeOffValidationError) ErrorName() string

ErrorName returns error name.

func (SCEquipTakeOffValidationError) Field

Field function returns field value.

func (SCEquipTakeOffValidationError) Key

Key function returns key value.

func (SCEquipTakeOffValidationError) Reason

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) Enum

func (SCEquipTakeOff_Code) EnumDescriptor deprecated

func (SCEquipTakeOff_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCEquipTakeOff_Code.Descriptor instead.

func (SCEquipTakeOff_Code) Number

func (SCEquipTakeOff_Code) String

func (x SCEquipTakeOff_Code) String() string

func (SCEquipTakeOff_Code) Type

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

Cause function returns cause value.

func (SCEquipUpgradeValidationError) Error

Error satisfies the builtin error interface

func (SCEquipUpgradeValidationError) ErrorName

func (e SCEquipUpgradeValidationError) ErrorName() string

ErrorName returns error name.

func (SCEquipUpgradeValidationError) Field

Field function returns field value.

func (SCEquipUpgradeValidationError) Key

Key function returns key value.

func (SCEquipUpgradeValidationError) Reason

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) Enum

func (SCEquipUpgrade_Code) EnumDescriptor deprecated

func (SCEquipUpgrade_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCEquipUpgrade_Code.Descriptor instead.

func (SCEquipUpgrade_Code) Number

func (SCEquipUpgrade_Code) String

func (x SCEquipUpgrade_Code) String() string

func (SCEquipUpgrade_Code) Type

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

Cause function returns cause value.

func (SCEquipWearValidationError) Error

Error satisfies the builtin error interface

func (SCEquipWearValidationError) ErrorName

func (e SCEquipWearValidationError) ErrorName() string

ErrorName returns error name.

func (SCEquipWearValidationError) Field

Field function returns field value.

func (SCEquipWearValidationError) Key

Key function returns key value.

func (SCEquipWearValidationError) Reason

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) Enum

func (SCEquipWear_Code) EnumDescriptor deprecated

func (SCEquipWear_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCEquipWear_Code.Descriptor instead.

func (SCEquipWear_Code) Number

func (SCEquipWear_Code) String

func (x SCEquipWear_Code) String() string

func (SCEquipWear_Code) Type

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

Cause function returns cause value.

func (SCHandshakeValidationError) Error

Error satisfies the builtin error interface

func (SCHandshakeValidationError) ErrorName

func (e SCHandshakeValidationError) ErrorName() string

ErrorName returns error name.

func (SCHandshakeValidationError) Field

Field function returns field value.

func (SCHandshakeValidationError) Key

Key function returns key value.

func (SCHandshakeValidationError) Reason

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

Cause function returns cause value.

func (SCHeartbeatValidationError) Error

Error satisfies the builtin error interface

func (SCHeartbeatValidationError) ErrorName

func (e SCHeartbeatValidationError) ErrorName() string

ErrorName returns error name.

func (SCHeartbeatValidationError) Field

Field function returns field value.

func (SCHeartbeatValidationError) Key

Key function returns key value.

func (SCHeartbeatValidationError) Reason

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) Enum

func (SCHeartbeat_Code) EnumDescriptor deprecated

func (SCHeartbeat_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCHeartbeat_Code.Descriptor instead.

func (SCHeartbeat_Code) Number

func (SCHeartbeat_Code) String

func (x SCHeartbeat_Code) String() string

func (SCHeartbeat_Code) Type

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 (*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

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

Cause function returns cause value.

func (SCHeroLevelUpgradeValidationError) Error

Error satisfies the builtin error interface

func (SCHeroLevelUpgradeValidationError) ErrorName

ErrorName returns error name.

func (SCHeroLevelUpgradeValidationError) Field

Field function returns field value.

func (SCHeroLevelUpgradeValidationError) Key

Key function returns key value.

func (SCHeroLevelUpgradeValidationError) Reason

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) Enum

func (SCHeroLevelUpgrade_Code) EnumDescriptor deprecated

func (SCHeroLevelUpgrade_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCHeroLevelUpgrade_Code.Descriptor instead.

func (SCHeroLevelUpgrade_Code) Number

func (SCHeroLevelUpgrade_Code) String

func (x SCHeroLevelUpgrade_Code) String() string

func (SCHeroLevelUpgrade_Code) Type

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 (*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

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

Cause function returns cause value.

func (SCInviteToJoinRoomValidationError) Error

Error satisfies the builtin error interface

func (SCInviteToJoinRoomValidationError) ErrorName

ErrorName returns error name.

func (SCInviteToJoinRoomValidationError) Field

Field function returns field value.

func (SCInviteToJoinRoomValidationError) Key

Key function returns key value.

func (SCInviteToJoinRoomValidationError) Reason

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_ErrUnauthorized       SCInviteToJoinRoom_Code = 3 // Unauthorized
	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) Enum

func (SCInviteToJoinRoom_Code) EnumDescriptor deprecated

func (SCInviteToJoinRoom_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCInviteToJoinRoom_Code.Descriptor instead.

func (SCInviteToJoinRoom_Code) Number

func (SCInviteToJoinRoom_Code) String

func (x SCInviteToJoinRoom_Code) String() string

func (SCInviteToJoinRoom_Code) Type

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 (*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

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

Cause function returns cause value.

func (SCKickUserFromRoomValidationError) Error

Error satisfies the builtin error interface

func (SCKickUserFromRoomValidationError) ErrorName

ErrorName returns error name.

func (SCKickUserFromRoomValidationError) Field

Field function returns field value.

func (SCKickUserFromRoomValidationError) Key

Key function returns key value.

func (SCKickUserFromRoomValidationError) Reason

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_ErrUnauthorized  SCKickUserFromRoom_Code = 3 // Unauthorized
	SCKickUserFromRoom_ErrUserNotFound  SCKickUserFromRoom_Code = 4 // User not found
	SCKickUserFromRoom_ErrUserNotInRoom SCKickUserFromRoom_Code = 5 // User not in room
)

func (SCKickUserFromRoom_Code) Descriptor

func (SCKickUserFromRoom_Code) Enum

func (SCKickUserFromRoom_Code) EnumDescriptor deprecated

func (SCKickUserFromRoom_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCKickUserFromRoom_Code.Descriptor instead.

func (SCKickUserFromRoom_Code) Number

func (SCKickUserFromRoom_Code) String

func (x SCKickUserFromRoom_Code) String() string

func (SCKickUserFromRoom_Code) Type

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

Cause function returns cause value.

func (SCLeaveRoomValidationError) Error

Error satisfies the builtin error interface

func (SCLeaveRoomValidationError) ErrorName

func (e SCLeaveRoomValidationError) ErrorName() string

ErrorName returns error name.

func (SCLeaveRoomValidationError) Field

Field function returns field value.

func (SCLeaveRoomValidationError) Key

Key function returns key value.

func (SCLeaveRoomValidationError) Reason

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) Enum

func (SCLeaveRoom_Code) EnumDescriptor deprecated

func (SCLeaveRoom_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCLeaveRoom_Code.Descriptor instead.

func (SCLeaveRoom_Code) Number

func (SCLeaveRoom_Code) String

func (x SCLeaveRoom_Code) String() string

func (SCLeaveRoom_Code) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use SCLogin.ProtoReflect.Descriptor instead.

func (*SCLogin) GetCode

func (x *SCLogin) GetCode() SCLogin_Code

func (*SCLogin) GetNewborn

func (x *SCLogin) GetNewborn() bool

func (*SCLogin) GetServerTime

func (x *SCLogin) GetServerTime() int64

func (*SCLogin) GetUser

func (x *SCLogin) GetUser() *UserProto

func (*SCLogin) ProtoMessage

func (*SCLogin) ProtoMessage()

func (*SCLogin) ProtoReflect

func (x *SCLogin) ProtoReflect() protoreflect.Message

func (*SCLogin) Reset

func (x *SCLogin) Reset()

func (*SCLogin) String

func (x *SCLogin) String() string

func (*SCLogin) Validate

func (m *SCLogin) Validate() error

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

func (m *SCLogin) ValidateAll() error

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) 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 (SCLogin_Code) String

func (x SCLogin_Code) String() string

func (SCLogin_Code) Type

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

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

Cause function returns cause value.

func (SCPushEquipUpdatedValidationError) Error

Error satisfies the builtin error interface

func (SCPushEquipUpdatedValidationError) ErrorName

ErrorName returns error name.

func (SCPushEquipUpdatedValidationError) Field

Field function returns field value.

func (SCPushEquipUpdatedValidationError) Key

Key function returns key value.

func (SCPushEquipUpdatedValidationError) Reason

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

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

Cause function returns cause value.

func (SCPushHeroUnlockValidationError) Error

Error satisfies the builtin error interface

func (SCPushHeroUnlockValidationError) ErrorName

ErrorName returns error name.

func (SCPushHeroUnlockValidationError) Field

Field function returns field value.

func (SCPushHeroUnlockValidationError) Key

Key function returns key value.

func (SCPushHeroUnlockValidationError) Reason

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

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

Cause function returns cause value.

func (SCPushItemUpdatedValidationError) Error

Error satisfies the builtin error interface

func (SCPushItemUpdatedValidationError) ErrorName

ErrorName returns error name.

func (SCPushItemUpdatedValidationError) Field

Field function returns field value.

func (SCPushItemUpdatedValidationError) Key

Key function returns key value.

func (SCPushItemUpdatedValidationError) Reason

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

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

Cause function returns cause value.

func (SCPushJoinedRoomValidationError) Error

Error satisfies the builtin error interface

func (SCPushJoinedRoomValidationError) ErrorName

ErrorName returns error name.

func (SCPushJoinedRoomValidationError) Field

Field function returns field value.

func (SCPushJoinedRoomValidationError) Key

Key function returns key value.

func (SCPushJoinedRoomValidationError) Reason

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

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

Cause function returns cause value.

func (SCPushRemovedFromRoomValidationError) Error

Error satisfies the builtin error interface

func (SCPushRemovedFromRoomValidationError) ErrorName

ErrorName returns error name.

func (SCPushRemovedFromRoomValidationError) Field

Field function returns field value.

func (SCPushRemovedFromRoomValidationError) Key

Key function returns key value.

func (SCPushRemovedFromRoomValidationError) Reason

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

Cause function returns cause value.

func (SCPushSyncUserValidationError) Error

Error satisfies the builtin error interface

func (SCPushSyncUserValidationError) ErrorName

func (e SCPushSyncUserValidationError) ErrorName() string

ErrorName returns error name.

func (SCPushSyncUserValidationError) Field

Field function returns field value.

func (SCPushSyncUserValidationError) Key

Key function returns key value.

func (SCPushSyncUserValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (SCRequestToJoinRoomValidationError) Error

Error satisfies the builtin error interface

func (SCRequestToJoinRoomValidationError) ErrorName

ErrorName returns error name.

func (SCRequestToJoinRoomValidationError) Field

Field function returns field value.

func (SCRequestToJoinRoomValidationError) Key

Key function returns key value.

func (SCRequestToJoinRoomValidationError) Reason

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) Enum

func (SCRequestToJoinRoom_Code) EnumDescriptor deprecated

func (SCRequestToJoinRoom_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCRequestToJoinRoom_Code.Descriptor instead.

func (SCRequestToJoinRoom_Code) Number

func (SCRequestToJoinRoom_Code) String

func (x SCRequestToJoinRoom_Code) String() string

func (SCRequestToJoinRoom_Code) Type

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

Cause function returns cause value.

func (SCRoomDetailValidationError) Error

Error satisfies the builtin error interface

func (SCRoomDetailValidationError) ErrorName

func (e SCRoomDetailValidationError) ErrorName() string

ErrorName returns error name.

func (SCRoomDetailValidationError) Field

Field function returns field value.

func (SCRoomDetailValidationError) Key

Key function returns key value.

func (SCRoomDetailValidationError) Reason

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) Enum

func (SCRoomDetail_Code) EnumDescriptor deprecated

func (SCRoomDetail_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCRoomDetail_Code.Descriptor instead.

func (SCRoomDetail_Code) Number

func (SCRoomDetail_Code) String

func (x SCRoomDetail_Code) String() string

func (SCRoomDetail_Code) Type

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

Error satisfies the builtin error interface

func (SCRoomListValidationError) ErrorName

func (e SCRoomListValidationError) ErrorName() string

ErrorName returns error name.

func (SCRoomListValidationError) Field

Field function returns field value.

func (SCRoomListValidationError) Key

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) 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 (SCRoomList_Code) String

func (x SCRoomList_Code) String() string

func (SCRoomList_Code) Type

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

Cause function returns cause value.

func (SCServerLogoutValidationError) Error

Error satisfies the builtin error interface

func (SCServerLogoutValidationError) ErrorName

func (e SCServerLogoutValidationError) ErrorName() string

ErrorName returns error name.

func (SCServerLogoutValidationError) Field

Field function returns field value.

func (SCServerLogoutValidationError) Key

Key function returns key value.

func (SCServerLogoutValidationError) Reason

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_Unauthorized     SCServerLogout_Code = 2 // Unauthorized
	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) Enum

func (SCServerLogout_Code) EnumDescriptor deprecated

func (SCServerLogout_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCServerLogout_Code.Descriptor instead.

func (SCServerLogout_Code) Number

func (SCServerLogout_Code) String

func (x SCServerLogout_Code) String() string

func (SCServerLogout_Code) Type

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

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

Cause function returns cause value.

func (SCServerUnexpectedErrValidationError) Error

Error satisfies the builtin error interface

func (SCServerUnexpectedErrValidationError) ErrorName

ErrorName returns error name.

func (SCServerUnexpectedErrValidationError) Field

Field function returns field value.

func (SCServerUnexpectedErrValidationError) Key

Key function returns key value.

func (SCServerUnexpectedErrValidationError) Reason

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

Cause function returns cause value.

func (SCSetGenderValidationError) Error

Error satisfies the builtin error interface

func (SCSetGenderValidationError) ErrorName

func (e SCSetGenderValidationError) ErrorName() string

ErrorName returns error name.

func (SCSetGenderValidationError) Field

Field function returns field value.

func (SCSetGenderValidationError) Key

Key function returns key value.

func (SCSetGenderValidationError) Reason

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) Enum

func (SCSetGender_Code) EnumDescriptor deprecated

func (SCSetGender_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCSetGender_Code.Descriptor instead.

func (SCSetGender_Code) Number

func (SCSetGender_Code) String

func (x SCSetGender_Code) String() string

func (SCSetGender_Code) Type

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

Cause function returns cause value.

func (SCUpdateNameValidationError) Error

Error satisfies the builtin error interface

func (SCUpdateNameValidationError) ErrorName

func (e SCUpdateNameValidationError) ErrorName() string

ErrorName returns error name.

func (SCUpdateNameValidationError) Field

Field function returns field value.

func (SCUpdateNameValidationError) Key

Key function returns key value.

func (SCUpdateNameValidationError) Reason

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) Enum

func (SCUpdateName_Code) EnumDescriptor deprecated

func (SCUpdateName_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SCUpdateName_Code.Descriptor instead.

func (SCUpdateName_Code) Number

func (SCUpdateName_Code) String

func (x SCUpdateName_Code) String() string

func (SCUpdateName_Code) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use SCUsePack.ProtoReflect.Descriptor instead.

func (*SCUsePack) GetCode

func (x *SCUsePack) GetCode() SCUsePack_Code

func (*SCUsePack) GetId

func (x *SCUsePack) GetId() int64

func (*SCUsePack) GetPrizes

func (x *SCUsePack) GetPrizes() map[int64]int64

func (*SCUsePack) ProtoMessage

func (*SCUsePack) ProtoMessage()

func (*SCUsePack) ProtoReflect

func (x *SCUsePack) ProtoReflect() protoreflect.Message

func (*SCUsePack) Reset

func (x *SCUsePack) Reset()

func (*SCUsePack) String

func (x *SCUsePack) String() string

func (*SCUsePack) Validate

func (m *SCUsePack) Validate() error

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

func (m *SCUsePack) ValidateAll() error

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

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) 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 (SCUsePack_Code) String

func (x SCUsePack_Code) String() string

func (SCUsePack_Code) Type

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

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

type StorageServiceHTTPServer

type StorageServiceHTTPServer interface {
	// UsePack Use pack
	UsePack(context.Context, *CSUsePack) (*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

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

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) DevList

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) EquipUpgrade

func (UnimplementedEquipServiceServer) EquipWear

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

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) ApproveRequestToJoinRoom

func (UnimplementedRoomServiceServer) CloseRoom

func (UnimplementedRoomServiceServer) CreateRoom

func (UnimplementedRoomServiceServer) InviteToJoinRoom

func (UnimplementedRoomServiceServer) KickUserFromRoom

func (UnimplementedRoomServiceServer) LeaveRoom

func (UnimplementedRoomServiceServer) RequestToJoinRoom

func (UnimplementedRoomServiceServer) RoomDetail

func (UnimplementedRoomServiceServer) RoomList

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.

func (UnimplementedStorageServiceServer) UsePack

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

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) Login

func (UnimplementedUserServiceServer) SetGender

func (UnimplementedUserServiceServer) UpdateName

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

Cause function returns cause value.

func (UserBasicProtoValidationError) Error

Error satisfies the builtin error interface

func (UserBasicProtoValidationError) ErrorName

func (e UserBasicProtoValidationError) ErrorName() string

ErrorName returns error name.

func (UserBasicProtoValidationError) Field

Field function returns field value.

func (UserBasicProtoValidationError) Key

Key function returns key value.

func (UserBasicProtoValidationError) Reason

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

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

Cause function returns cause value.

func (UserEquipListProtoValidationError) Error

Error satisfies the builtin error interface

func (UserEquipListProtoValidationError) ErrorName

ErrorName returns error name.

func (UserEquipListProtoValidationError) Field

Field function returns field value.

func (UserEquipListProtoValidationError) Key

Key function returns key value.

func (UserEquipListProtoValidationError) Reason

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

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

Cause function returns cause value.

func (UserHeroListProtoValidationError) Error

Error satisfies the builtin error interface

func (UserHeroListProtoValidationError) ErrorName

ErrorName returns error name.

func (UserHeroListProtoValidationError) Field

Field function returns field value.

func (UserHeroListProtoValidationError) Key

Key function returns key value.

func (UserHeroListProtoValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use UserProto.ProtoReflect.Descriptor instead.

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) Reset

func (x *UserProto) Reset()

func (*UserProto) String

func (x *UserProto) String() string

func (*UserProto) Validate

func (m *UserProto) Validate() error

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

func (m *UserProto) ValidateAll() error

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

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

Cause function returns cause value.

func (UserRoomProtoValidationError) Error

Error satisfies the builtin error interface

func (UserRoomProtoValidationError) ErrorName

func (e UserRoomProtoValidationError) ErrorName() string

ErrorName returns error name.

func (UserRoomProtoValidationError) Field

Field function returns field value.

func (UserRoomProtoValidationError) Key

Key function returns key value.

func (UserRoomProtoValidationError) Reason

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

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 (*UserServiceHTTPClientImpl) UpdateName

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

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

Cause function returns cause value.

func (UserStorageProtoValidationError) Error

Error satisfies the builtin error interface

func (UserStorageProtoValidationError) ErrorName

ErrorName returns error name.

func (UserStorageProtoValidationError) Field

Field function returns field value.

func (UserStorageProtoValidationError) Key

Key function returns key value.

func (UserStorageProtoValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL