v1

package
v0.0.0-...-771d5d4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Gaming_CreateGameInstance_FullMethodName     = "/gaming.v1.Gaming/CreateGameInstance"
	Gaming_OpenGameConnection_FullMethodName     = "/gaming.v1.Gaming/OpenGameConnection"
	Gaming_SDPAnswer_FullMethodName              = "/gaming.v1.Gaming/SDPAnswer"
	Gaming_ICECandidate_FullMethodName           = "/gaming.v1.Gaming/ICECandidate"
	Gaming_GetServerICECandidate_FullMethodName  = "/gaming.v1.Gaming/GetServerICECandidate"
	Gaming_PauseEmulator_FullMethodName          = "/gaming.v1.Gaming/PauseEmulator"
	Gaming_RestartEmulator_FullMethodName        = "/gaming.v1.Gaming/RestartEmulator"
	Gaming_DeleteGameInstance_FullMethodName     = "/gaming.v1.Gaming/DeleteGameInstance"
	Gaming_UploadGame_FullMethodName             = "/gaming.v1.Gaming/UploadGame"
	Gaming_ListGames_FullMethodName              = "/gaming.v1.Gaming/ListGames"
	Gaming_DeleteGameFile_FullMethodName         = "/gaming.v1.Gaming/DeleteGameFile"
	Gaming_SetController_FullMethodName          = "/gaming.v1.Gaming/SetController"
	Gaming_GetControllers_FullMethodName         = "/gaming.v1.Gaming/GetControllers"
	Gaming_GetGameInstanceStats_FullMethodName   = "/gaming.v1.Gaming/GetGameInstanceStats"
	Gaming_ListGameInstances_FullMethodName      = "/gaming.v1.Gaming/ListGameInstances"
	Gaming_DeleteMemberConnection_FullMethodName = "/gaming.v1.Gaming/DeleteMemberConnection"
	Gaming_GetEndpointStats_FullMethodName       = "/gaming.v1.Gaming/GetEndpointStats"
	Gaming_SaveGame_FullMethodName               = "/gaming.v1.Gaming/SaveGame"
	Gaming_LoadSave_FullMethodName               = "/gaming.v1.Gaming/LoadSave"
	Gaming_ListSaves_FullMethodName              = "/gaming.v1.Gaming/ListSaves"
	Gaming_DeleteSave_FullMethodName             = "/gaming.v1.Gaming/DeleteSave"
	Gaming_SetGraphicOptions_FullMethodName      = "/gaming.v1.Gaming/SetGraphicOptions"
	Gaming_GetGraphicOptions_FullMethodName      = "/gaming.v1.Gaming/GetGraphicOptions"
	Gaming_SetEmulatorSpeed_FullMethodName       = "/gaming.v1.Gaming/SetEmulatorSpeed"
	Gaming_GetEmulatorSpeed_FullMethodName       = "/gaming.v1.Gaming/GetEmulatorSpeed"
	Gaming_ListSupportedEmulators_FullMethodName = "/gaming.v1.Gaming/ListSupportedEmulators"
)

Variables

View Source
var (
	UserServiceErrorReason_name = map[int32]string{
		0:  "UNKNOWN_ERROR",
		1:  "ROOM_SESSION_NOT_ACCESSIBLE",
		2:  "CREATE_GAME_INSTANCE_FAILED",
		3:  "GAME_FILE_NOT_FOUND",
		4:  "SAVED_GAME_NOT_FOUND",
		5:  "UPLOAD_FILE_FAILED",
		6:  "INVALID_GAME_FILE",
		7:  "LIST_GAME_FAILED",
		8:  "DELETE_GAME_FAILED",
		9:  "OPEN_GAME_CONNECTION_FAILED",
		10: "GAME_CONNECTION_NOT_FOUND",
		11: "SDP_ANSWER_FAILED",
		12: "ICE_CANDIDATE_FAILED",
		13: "GAME_INSTANCE_NOT_ACCESSIBLE",
		14: "OPERATION_FAILED",
		15: "SAVE_GAME_FAILED",
		16: "LOAD_SAVE_FAILED",
		17: "RESTART_FAILED",
		18: "DELETE_SAVE_FAILED",
	}
	UserServiceErrorReason_value = map[string]int32{
		"UNKNOWN_ERROR":                0,
		"ROOM_SESSION_NOT_ACCESSIBLE":  1,
		"CREATE_GAME_INSTANCE_FAILED":  2,
		"GAME_FILE_NOT_FOUND":          3,
		"SAVED_GAME_NOT_FOUND":         4,
		"UPLOAD_FILE_FAILED":           5,
		"INVALID_GAME_FILE":            6,
		"LIST_GAME_FAILED":             7,
		"DELETE_GAME_FAILED":           8,
		"OPEN_GAME_CONNECTION_FAILED":  9,
		"GAME_CONNECTION_NOT_FOUND":    10,
		"SDP_ANSWER_FAILED":            11,
		"ICE_CANDIDATE_FAILED":         12,
		"GAME_INSTANCE_NOT_ACCESSIBLE": 13,
		"OPERATION_FAILED":             14,
		"SAVE_GAME_FAILED":             15,
		"LOAD_SAVE_FAILED":             16,
		"RESTART_FAILED":               17,
		"DELETE_SAVE_FAILED":           18,
	}
)

Enum value maps for UserServiceErrorReason.

View Source
var File_gaming_service_v1_gaming_error_proto protoreflect.FileDescriptor
View Source
var File_gaming_service_v1_gaming_proto protoreflect.FileDescriptor
View Source
var Gaming_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gaming.v1.Gaming",
	HandlerType: (*GamingServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateGameInstance",
			Handler:    _Gaming_CreateGameInstance_Handler,
		},
		{
			MethodName: "OpenGameConnection",
			Handler:    _Gaming_OpenGameConnection_Handler,
		},
		{
			MethodName: "SDPAnswer",
			Handler:    _Gaming_SDPAnswer_Handler,
		},
		{
			MethodName: "ICECandidate",
			Handler:    _Gaming_ICECandidate_Handler,
		},
		{
			MethodName: "GetServerICECandidate",
			Handler:    _Gaming_GetServerICECandidate_Handler,
		},
		{
			MethodName: "PauseEmulator",
			Handler:    _Gaming_PauseEmulator_Handler,
		},
		{
			MethodName: "RestartEmulator",
			Handler:    _Gaming_RestartEmulator_Handler,
		},
		{
			MethodName: "DeleteGameInstance",
			Handler:    _Gaming_DeleteGameInstance_Handler,
		},
		{
			MethodName: "UploadGame",
			Handler:    _Gaming_UploadGame_Handler,
		},
		{
			MethodName: "ListGames",
			Handler:    _Gaming_ListGames_Handler,
		},
		{
			MethodName: "DeleteGameFile",
			Handler:    _Gaming_DeleteGameFile_Handler,
		},
		{
			MethodName: "SetController",
			Handler:    _Gaming_SetController_Handler,
		},
		{
			MethodName: "GetControllers",
			Handler:    _Gaming_GetControllers_Handler,
		},
		{
			MethodName: "GetGameInstanceStats",
			Handler:    _Gaming_GetGameInstanceStats_Handler,
		},
		{
			MethodName: "ListGameInstances",
			Handler:    _Gaming_ListGameInstances_Handler,
		},
		{
			MethodName: "DeleteMemberConnection",
			Handler:    _Gaming_DeleteMemberConnection_Handler,
		},
		{
			MethodName: "GetEndpointStats",
			Handler:    _Gaming_GetEndpointStats_Handler,
		},
		{
			MethodName: "SaveGame",
			Handler:    _Gaming_SaveGame_Handler,
		},
		{
			MethodName: "LoadSave",
			Handler:    _Gaming_LoadSave_Handler,
		},
		{
			MethodName: "ListSaves",
			Handler:    _Gaming_ListSaves_Handler,
		},
		{
			MethodName: "DeleteSave",
			Handler:    _Gaming_DeleteSave_Handler,
		},
		{
			MethodName: "SetGraphicOptions",
			Handler:    _Gaming_SetGraphicOptions_Handler,
		},
		{
			MethodName: "GetGraphicOptions",
			Handler:    _Gaming_GetGraphicOptions_Handler,
		},
		{
			MethodName: "SetEmulatorSpeed",
			Handler:    _Gaming_SetEmulatorSpeed_Handler,
		},
		{
			MethodName: "GetEmulatorSpeed",
			Handler:    _Gaming_GetEmulatorSpeed_Handler,
		},
		{
			MethodName: "ListSupportedEmulators",
			Handler:    _Gaming_ListSupportedEmulators_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gaming/service/v1/gaming.proto",
}

Gaming_ServiceDesc is the grpc.ServiceDesc for Gaming service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func ErrorCreateGameInstanceFailed

func ErrorCreateGameInstanceFailed(format string, args ...interface{}) *errors.Error

func ErrorDeleteGameFailed

func ErrorDeleteGameFailed(format string, args ...interface{}) *errors.Error

func ErrorDeleteSaveFailed

func ErrorDeleteSaveFailed(format string, args ...interface{}) *errors.Error

func ErrorGameConnectionNotFound

func ErrorGameConnectionNotFound(format string, args ...interface{}) *errors.Error

func ErrorGameFileNotFound

func ErrorGameFileNotFound(format string, args ...interface{}) *errors.Error

func ErrorGameInstanceNotAccessible

func ErrorGameInstanceNotAccessible(format string, args ...interface{}) *errors.Error

func ErrorIceCandidateFailed

func ErrorIceCandidateFailed(format string, args ...interface{}) *errors.Error

func ErrorInvalidGameFile

func ErrorInvalidGameFile(format string, args ...interface{}) *errors.Error

func ErrorListGameFailed

func ErrorListGameFailed(format string, args ...interface{}) *errors.Error

func ErrorLoadSaveFailed

func ErrorLoadSaveFailed(format string, args ...interface{}) *errors.Error

func ErrorOpenGameConnectionFailed

func ErrorOpenGameConnectionFailed(format string, args ...interface{}) *errors.Error

func ErrorOperationFailed

func ErrorOperationFailed(format string, args ...interface{}) *errors.Error

func ErrorRestartFailed

func ErrorRestartFailed(format string, args ...interface{}) *errors.Error

func ErrorRoomSessionNotAccessible

func ErrorRoomSessionNotAccessible(format string, args ...interface{}) *errors.Error

func ErrorSaveGameFailed

func ErrorSaveGameFailed(format string, args ...interface{}) *errors.Error

func ErrorSavedGameNotFound

func ErrorSavedGameNotFound(format string, args ...interface{}) *errors.Error

func ErrorSdpAnswerFailed

func ErrorSdpAnswerFailed(format string, args ...interface{}) *errors.Error

func ErrorUnknownError

func ErrorUnknownError(format string, args ...interface{}) *errors.Error

func ErrorUploadFileFailed

func ErrorUploadFileFailed(format string, args ...interface{}) *errors.Error

func IsCreateGameInstanceFailed

func IsCreateGameInstanceFailed(err error) bool

func IsDeleteGameFailed

func IsDeleteGameFailed(err error) bool

func IsDeleteSaveFailed

func IsDeleteSaveFailed(err error) bool

func IsGameConnectionNotFound

func IsGameConnectionNotFound(err error) bool

func IsGameFileNotFound

func IsGameFileNotFound(err error) bool

func IsGameInstanceNotAccessible

func IsGameInstanceNotAccessible(err error) bool

func IsIceCandidateFailed

func IsIceCandidateFailed(err error) bool

func IsInvalidGameFile

func IsInvalidGameFile(err error) bool

func IsListGameFailed

func IsListGameFailed(err error) bool

func IsLoadSaveFailed

func IsLoadSaveFailed(err error) bool

func IsOpenGameConnectionFailed

func IsOpenGameConnectionFailed(err error) bool

func IsOperationFailed

func IsOperationFailed(err error) bool

func IsRestartFailed

func IsRestartFailed(err error) bool

func IsRoomSessionNotAccessible

func IsRoomSessionNotAccessible(err error) bool

func IsSaveGameFailed

func IsSaveGameFailed(err error) bool

func IsSavedGameNotFound

func IsSavedGameNotFound(err error) bool

func IsSdpAnswerFailed

func IsSdpAnswerFailed(err error) bool

func IsUnknownError

func IsUnknownError(err error) bool

func IsUploadFileFailed

func IsUploadFileFailed(err error) bool

func RegisterGamingServer

func RegisterGamingServer(s grpc.ServiceRegistrar, srv GamingServer)

Types

type CreateGameInstanceRequest

type CreateGameInstanceRequest struct {
	RoomId       int64  `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Game         string `protobuf:"bytes,2,opt,name=game,proto3" json:"game,omitempty"`
	EmulatorType string `protobuf:"bytes,3,opt,name=emulatorType,proto3" json:"emulatorType,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGameInstanceRequest) Descriptor deprecated

func (*CreateGameInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateGameInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateGameInstanceRequest) GetEmulatorType

func (x *CreateGameInstanceRequest) GetEmulatorType() string

func (*CreateGameInstanceRequest) GetGame

func (x *CreateGameInstanceRequest) GetGame() string

func (*CreateGameInstanceRequest) GetRoomId

func (x *CreateGameInstanceRequest) GetRoomId() int64

func (*CreateGameInstanceRequest) ProtoMessage

func (*CreateGameInstanceRequest) ProtoMessage()

func (*CreateGameInstanceRequest) ProtoReflect

func (*CreateGameInstanceRequest) Reset

func (x *CreateGameInstanceRequest) Reset()

func (*CreateGameInstanceRequest) String

func (x *CreateGameInstanceRequest) String() string

type CreateGameInstanceResponse

type CreateGameInstanceResponse struct {
	RoomId     int64  `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	LeaseId    int64  `protobuf:"varint,2,opt,name=leaseId,proto3" json:"leaseId,omitempty"`
	InstanceId string `protobuf:"bytes,3,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGameInstanceResponse) Descriptor deprecated

func (*CreateGameInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateGameInstanceResponse.ProtoReflect.Descriptor instead.

func (*CreateGameInstanceResponse) GetInstanceId

func (x *CreateGameInstanceResponse) GetInstanceId() string

func (*CreateGameInstanceResponse) GetLeaseId

func (x *CreateGameInstanceResponse) GetLeaseId() int64

func (*CreateGameInstanceResponse) GetRoomId

func (x *CreateGameInstanceResponse) GetRoomId() int64

func (*CreateGameInstanceResponse) ProtoMessage

func (*CreateGameInstanceResponse) ProtoMessage()

func (*CreateGameInstanceResponse) ProtoReflect

func (*CreateGameInstanceResponse) Reset

func (x *CreateGameInstanceResponse) Reset()

func (*CreateGameInstanceResponse) String

func (x *CreateGameInstanceResponse) String() string

type DeleteGameFileRequest

type DeleteGameFileRequest struct {
	Games []string `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGameFileRequest) Descriptor deprecated

func (*DeleteGameFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGameFileRequest.ProtoReflect.Descriptor instead.

func (*DeleteGameFileRequest) GetGames

func (x *DeleteGameFileRequest) GetGames() []string

func (*DeleteGameFileRequest) ProtoMessage

func (*DeleteGameFileRequest) ProtoMessage()

func (*DeleteGameFileRequest) ProtoReflect

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

func (*DeleteGameFileRequest) Reset

func (x *DeleteGameFileRequest) Reset()

func (*DeleteGameFileRequest) String

func (x *DeleteGameFileRequest) String() string

type DeleteGameFileResponse

type DeleteGameFileResponse struct {
	Deleted int32 `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGameFileResponse) Descriptor deprecated

func (*DeleteGameFileResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGameFileResponse.ProtoReflect.Descriptor instead.

func (*DeleteGameFileResponse) GetDeleted

func (x *DeleteGameFileResponse) GetDeleted() int32

func (*DeleteGameFileResponse) ProtoMessage

func (*DeleteGameFileResponse) ProtoMessage()

func (*DeleteGameFileResponse) ProtoReflect

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

func (*DeleteGameFileResponse) Reset

func (x *DeleteGameFileResponse) Reset()

func (*DeleteGameFileResponse) String

func (x *DeleteGameFileResponse) String() string

type DeleteGameInstanceRequest

type DeleteGameInstanceRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Force  bool  `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGameInstanceRequest) Descriptor deprecated

func (*DeleteGameInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGameInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteGameInstanceRequest) GetForce

func (x *DeleteGameInstanceRequest) GetForce() bool

func (*DeleteGameInstanceRequest) GetRoomId

func (x *DeleteGameInstanceRequest) GetRoomId() int64

func (*DeleteGameInstanceRequest) ProtoMessage

func (*DeleteGameInstanceRequest) ProtoMessage()

func (*DeleteGameInstanceRequest) ProtoReflect

func (*DeleteGameInstanceRequest) Reset

func (x *DeleteGameInstanceRequest) Reset()

func (*DeleteGameInstanceRequest) String

func (x *DeleteGameInstanceRequest) String() string

type DeleteGameInstanceResponse

type DeleteGameInstanceResponse struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGameInstanceResponse) Descriptor deprecated

func (*DeleteGameInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGameInstanceResponse.ProtoReflect.Descriptor instead.

func (*DeleteGameInstanceResponse) GetRoomId

func (x *DeleteGameInstanceResponse) GetRoomId() int64

func (*DeleteGameInstanceResponse) ProtoMessage

func (*DeleteGameInstanceResponse) ProtoMessage()

func (*DeleteGameInstanceResponse) ProtoReflect

func (*DeleteGameInstanceResponse) Reset

func (x *DeleteGameInstanceResponse) Reset()

func (*DeleteGameInstanceResponse) String

func (x *DeleteGameInstanceResponse) String() string

type DeleteMemberConnectionRequest

type DeleteMemberConnectionRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteMemberConnectionRequest) Descriptor deprecated

func (*DeleteMemberConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMemberConnectionRequest.ProtoReflect.Descriptor instead.

func (*DeleteMemberConnectionRequest) GetRoomId

func (x *DeleteMemberConnectionRequest) GetRoomId() int64

func (*DeleteMemberConnectionRequest) GetUserId

func (x *DeleteMemberConnectionRequest) GetUserId() int64

func (*DeleteMemberConnectionRequest) ProtoMessage

func (*DeleteMemberConnectionRequest) ProtoMessage()

func (*DeleteMemberConnectionRequest) ProtoReflect

func (*DeleteMemberConnectionRequest) Reset

func (x *DeleteMemberConnectionRequest) Reset()

func (*DeleteMemberConnectionRequest) String

type DeleteMemberConnectionResponse

type DeleteMemberConnectionResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteMemberConnectionResponse) Descriptor deprecated

func (*DeleteMemberConnectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMemberConnectionResponse.ProtoReflect.Descriptor instead.

func (*DeleteMemberConnectionResponse) ProtoMessage

func (*DeleteMemberConnectionResponse) ProtoMessage()

func (*DeleteMemberConnectionResponse) ProtoReflect

func (*DeleteMemberConnectionResponse) Reset

func (x *DeleteMemberConnectionResponse) Reset()

func (*DeleteMemberConnectionResponse) String

type DeleteSaveRequest

type DeleteSaveRequest struct {
	SaveId int64 `protobuf:"varint,1,opt,name=saveId,proto3" json:"saveId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSaveRequest) Descriptor deprecated

func (*DeleteSaveRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSaveRequest.ProtoReflect.Descriptor instead.

func (*DeleteSaveRequest) GetSaveId

func (x *DeleteSaveRequest) GetSaveId() int64

func (*DeleteSaveRequest) ProtoMessage

func (*DeleteSaveRequest) ProtoMessage()

func (*DeleteSaveRequest) ProtoReflect

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

func (*DeleteSaveRequest) Reset

func (x *DeleteSaveRequest) Reset()

func (*DeleteSaveRequest) String

func (x *DeleteSaveRequest) String() string

type DeleteSaveResponse

type DeleteSaveResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteSaveResponse) Descriptor deprecated

func (*DeleteSaveResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSaveResponse.ProtoReflect.Descriptor instead.

func (*DeleteSaveResponse) ProtoMessage

func (*DeleteSaveResponse) ProtoMessage()

func (*DeleteSaveResponse) ProtoReflect

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

func (*DeleteSaveResponse) Reset

func (x *DeleteSaveResponse) Reset()

func (*DeleteSaveResponse) String

func (x *DeleteSaveResponse) String() string

type Emulator

type Emulator struct {
	Name                  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SupportSaving         bool   `protobuf:"varint,2,opt,name=supportSaving,proto3" json:"supportSaving,omitempty"`
	SupportGraphicSetting bool   `protobuf:"varint,3,opt,name=supportGraphicSetting,proto3" json:"supportGraphicSetting,omitempty"`
	Games                 int32  `protobuf:"varint,4,opt,name=Games,proto3" json:"Games,omitempty"`
	Provider              string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*Emulator) Descriptor deprecated

func (*Emulator) Descriptor() ([]byte, []int)

Deprecated: Use Emulator.ProtoReflect.Descriptor instead.

func (*Emulator) GetGames

func (x *Emulator) GetGames() int32

func (*Emulator) GetName

func (x *Emulator) GetName() string

func (*Emulator) GetProvider

func (x *Emulator) GetProvider() string

func (*Emulator) GetSupportGraphicSetting

func (x *Emulator) GetSupportGraphicSetting() bool

func (*Emulator) GetSupportSaving

func (x *Emulator) GetSupportSaving() bool

func (*Emulator) ProtoMessage

func (*Emulator) ProtoMessage()

func (*Emulator) ProtoReflect

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

func (*Emulator) Reset

func (x *Emulator) Reset()

func (*Emulator) String

func (x *Emulator) String() string

type GameFileMetadata

type GameFileMetadata struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Mapper     string `protobuf:"bytes,2,opt,name=mapper,proto3" json:"mapper,omitempty"`
	Mirroring  string `protobuf:"bytes,3,opt,name=mirroring,proto3" json:"mirroring,omitempty"`
	Size       int32  `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	UploadTime int64  `protobuf:"varint,5,opt,name=uploadTime,proto3" json:"uploadTime,omitempty"`
	// contains filtered or unexported fields
}

func (*GameFileMetadata) Descriptor deprecated

func (*GameFileMetadata) Descriptor() ([]byte, []int)

Deprecated: Use GameFileMetadata.ProtoReflect.Descriptor instead.

func (*GameFileMetadata) GetMapper

func (x *GameFileMetadata) GetMapper() string

func (*GameFileMetadata) GetMirroring

func (x *GameFileMetadata) GetMirroring() string

func (*GameFileMetadata) GetName

func (x *GameFileMetadata) GetName() string

func (*GameFileMetadata) GetSize

func (x *GameFileMetadata) GetSize() int32

func (*GameFileMetadata) GetUploadTime

func (x *GameFileMetadata) GetUploadTime() int64

func (*GameFileMetadata) ProtoMessage

func (*GameFileMetadata) ProtoMessage()

func (*GameFileMetadata) ProtoReflect

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

func (*GameFileMetadata) Reset

func (x *GameFileMetadata) Reset()

func (*GameFileMetadata) String

func (x *GameFileMetadata) String() string

type GameInstanceStats

type GameInstanceStats struct {
	RoomId            int64  `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Connections       int32  `protobuf:"varint,2,opt,name=connections,proto3" json:"connections,omitempty"`
	ActiveConnections int32  `protobuf:"varint,3,opt,name=activeConnections,proto3" json:"activeConnections,omitempty"`
	Game              string `protobuf:"bytes,4,opt,name=game,proto3" json:"game,omitempty"`
	Uptime            int64  `protobuf:"varint,5,opt,name=uptime,proto3" json:"uptime,omitempty"` // TODO more stats
	// contains filtered or unexported fields
}

func (*GameInstanceStats) Descriptor deprecated

func (*GameInstanceStats) Descriptor() ([]byte, []int)

Deprecated: Use GameInstanceStats.ProtoReflect.Descriptor instead.

func (*GameInstanceStats) GetActiveConnections

func (x *GameInstanceStats) GetActiveConnections() int32

func (*GameInstanceStats) GetConnections

func (x *GameInstanceStats) GetConnections() int32

func (*GameInstanceStats) GetGame

func (x *GameInstanceStats) GetGame() string

func (*GameInstanceStats) GetRoomId

func (x *GameInstanceStats) GetRoomId() int64

func (*GameInstanceStats) GetUptime

func (x *GameInstanceStats) GetUptime() int64

func (*GameInstanceStats) ProtoMessage

func (*GameInstanceStats) ProtoMessage()

func (*GameInstanceStats) ProtoReflect

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

func (*GameInstanceStats) Reset

func (x *GameInstanceStats) Reset()

func (*GameInstanceStats) String

func (x *GameInstanceStats) String() string

type GamingClient

type GamingClient interface {
	CreateGameInstance(ctx context.Context, in *CreateGameInstanceRequest, opts ...grpc.CallOption) (*CreateGameInstanceResponse, error)
	OpenGameConnection(ctx context.Context, in *OpenGameConnectionRequest, opts ...grpc.CallOption) (*OpenGameConnectionResponse, error)
	SDPAnswer(ctx context.Context, in *SDPAnswerRequest, opts ...grpc.CallOption) (*SDPAnswerResponse, error)
	ICECandidate(ctx context.Context, in *ICECandidateRequest, opts ...grpc.CallOption) (*ICECandidateResponse, error)
	GetServerICECandidate(ctx context.Context, in *GetServerICECandidateRequest, opts ...grpc.CallOption) (*GetServerICECandidateResponse, error)
	PauseEmulator(ctx context.Context, in *PauseEmulatorRequest, opts ...grpc.CallOption) (*PauseEmulatorResponse, error)
	RestartEmulator(ctx context.Context, in *RestartEmulatorRequest, opts ...grpc.CallOption) (*RestartEmulatorResponse, error)
	DeleteGameInstance(ctx context.Context, in *DeleteGameInstanceRequest, opts ...grpc.CallOption) (*DeleteGameInstanceResponse, error)
	UploadGame(ctx context.Context, in *UploadGameRequest, opts ...grpc.CallOption) (*UploadGameResponse, error)
	ListGames(ctx context.Context, in *ListGamesRequest, opts ...grpc.CallOption) (*ListGamesResponse, error)
	DeleteGameFile(ctx context.Context, in *DeleteGameFileRequest, opts ...grpc.CallOption) (*DeleteGameFileResponse, error)
	SetController(ctx context.Context, in *SetControllerRequest, opts ...grpc.CallOption) (*SetControllerResponse, error)
	GetControllers(ctx context.Context, in *GetControllersRequest, opts ...grpc.CallOption) (*GetControllersResponse, error)
	GetGameInstanceStats(ctx context.Context, in *GetGameInstanceStatsRequest, opts ...grpc.CallOption) (*GetGameInstanceStatsResponse, error)
	ListGameInstances(ctx context.Context, in *ListGameInstancesRequest, opts ...grpc.CallOption) (*ListGameInstancesResponse, error)
	DeleteMemberConnection(ctx context.Context, in *DeleteMemberConnectionRequest, opts ...grpc.CallOption) (*DeleteMemberConnectionResponse, error)
	GetEndpointStats(ctx context.Context, in *GetEndpointStatsRequest, opts ...grpc.CallOption) (*GetEndpointStatsResponse, error)
	SaveGame(ctx context.Context, in *SaveGameRequest, opts ...grpc.CallOption) (*SaveGameResponse, error)
	LoadSave(ctx context.Context, in *LoadSaveRequest, opts ...grpc.CallOption) (*LoadSaveResponse, error)
	ListSaves(ctx context.Context, in *ListSavesRequest, opts ...grpc.CallOption) (*ListSavesResponse, error)
	DeleteSave(ctx context.Context, in *DeleteSaveRequest, opts ...grpc.CallOption) (*DeleteSaveResponse, error)
	SetGraphicOptions(ctx context.Context, in *SetGraphicOptionsRequest, opts ...grpc.CallOption) (*SetGraphicOptionsResponse, error)
	GetGraphicOptions(ctx context.Context, in *GetGraphicOptionsRequest, opts ...grpc.CallOption) (*GetGraphicOptionsResponse, error)
	SetEmulatorSpeed(ctx context.Context, in *SetEmulatorSpeedRequest, opts ...grpc.CallOption) (*SetEmulatorSpeedResponse, error)
	GetEmulatorSpeed(ctx context.Context, in *GetEmulatorSpeedRequest, opts ...grpc.CallOption) (*GetEmulatorSpeedResponse, error)
	ListSupportedEmulators(ctx context.Context, in *ListSupportedEmulatorsRequest, opts ...grpc.CallOption) (*ListSupportedEmulatorsResponse, error)
}

GamingClient is the client API for Gaming service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGamingClient

func NewGamingClient(cc grpc.ClientConnInterface) GamingClient

type GamingServer

type GamingServer interface {
	CreateGameInstance(context.Context, *CreateGameInstanceRequest) (*CreateGameInstanceResponse, error)
	OpenGameConnection(context.Context, *OpenGameConnectionRequest) (*OpenGameConnectionResponse, error)
	SDPAnswer(context.Context, *SDPAnswerRequest) (*SDPAnswerResponse, error)
	ICECandidate(context.Context, *ICECandidateRequest) (*ICECandidateResponse, error)
	GetServerICECandidate(context.Context, *GetServerICECandidateRequest) (*GetServerICECandidateResponse, error)
	PauseEmulator(context.Context, *PauseEmulatorRequest) (*PauseEmulatorResponse, error)
	RestartEmulator(context.Context, *RestartEmulatorRequest) (*RestartEmulatorResponse, error)
	DeleteGameInstance(context.Context, *DeleteGameInstanceRequest) (*DeleteGameInstanceResponse, error)
	UploadGame(context.Context, *UploadGameRequest) (*UploadGameResponse, error)
	ListGames(context.Context, *ListGamesRequest) (*ListGamesResponse, error)
	DeleteGameFile(context.Context, *DeleteGameFileRequest) (*DeleteGameFileResponse, error)
	SetController(context.Context, *SetControllerRequest) (*SetControllerResponse, error)
	GetControllers(context.Context, *GetControllersRequest) (*GetControllersResponse, error)
	GetGameInstanceStats(context.Context, *GetGameInstanceStatsRequest) (*GetGameInstanceStatsResponse, error)
	ListGameInstances(context.Context, *ListGameInstancesRequest) (*ListGameInstancesResponse, error)
	DeleteMemberConnection(context.Context, *DeleteMemberConnectionRequest) (*DeleteMemberConnectionResponse, error)
	GetEndpointStats(context.Context, *GetEndpointStatsRequest) (*GetEndpointStatsResponse, error)
	SaveGame(context.Context, *SaveGameRequest) (*SaveGameResponse, error)
	LoadSave(context.Context, *LoadSaveRequest) (*LoadSaveResponse, error)
	ListSaves(context.Context, *ListSavesRequest) (*ListSavesResponse, error)
	DeleteSave(context.Context, *DeleteSaveRequest) (*DeleteSaveResponse, error)
	SetGraphicOptions(context.Context, *SetGraphicOptionsRequest) (*SetGraphicOptionsResponse, error)
	GetGraphicOptions(context.Context, *GetGraphicOptionsRequest) (*GetGraphicOptionsResponse, error)
	SetEmulatorSpeed(context.Context, *SetEmulatorSpeedRequest) (*SetEmulatorSpeedResponse, error)
	GetEmulatorSpeed(context.Context, *GetEmulatorSpeedRequest) (*GetEmulatorSpeedResponse, error)
	ListSupportedEmulators(context.Context, *ListSupportedEmulatorsRequest) (*ListSupportedEmulatorsResponse, error)
	// contains filtered or unexported methods
}

GamingServer is the server API for Gaming service. All implementations must embed UnimplementedGamingServer for forward compatibility.

type GetControllersRequest

type GetControllersRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetControllersRequest) Descriptor deprecated

func (*GetControllersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetControllersRequest.ProtoReflect.Descriptor instead.

func (*GetControllersRequest) GetRoomId

func (x *GetControllersRequest) GetRoomId() int64

func (*GetControllersRequest) ProtoMessage

func (*GetControllersRequest) ProtoMessage()

func (*GetControllersRequest) ProtoReflect

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

func (*GetControllersRequest) Reset

func (x *GetControllersRequest) Reset()

func (*GetControllersRequest) String

func (x *GetControllersRequest) String() string

type GetControllersResponse

type GetControllersResponse struct {
	RoomId      int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Controller1 int64 `protobuf:"varint,2,opt,name=controller1,proto3" json:"controller1,omitempty"`
	Controller2 int64 `protobuf:"varint,3,opt,name=controller2,proto3" json:"controller2,omitempty"`
	// contains filtered or unexported fields
}

func (*GetControllersResponse) Descriptor deprecated

func (*GetControllersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetControllersResponse.ProtoReflect.Descriptor instead.

func (*GetControllersResponse) GetController1

func (x *GetControllersResponse) GetController1() int64

func (*GetControllersResponse) GetController2

func (x *GetControllersResponse) GetController2() int64

func (*GetControllersResponse) GetRoomId

func (x *GetControllersResponse) GetRoomId() int64

func (*GetControllersResponse) ProtoMessage

func (*GetControllersResponse) ProtoMessage()

func (*GetControllersResponse) ProtoReflect

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

func (*GetControllersResponse) Reset

func (x *GetControllersResponse) Reset()

func (*GetControllersResponse) String

func (x *GetControllersResponse) String() string

type GetEmulatorSpeedRequest

type GetEmulatorSpeedRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEmulatorSpeedRequest) Descriptor deprecated

func (*GetEmulatorSpeedRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEmulatorSpeedRequest.ProtoReflect.Descriptor instead.

func (*GetEmulatorSpeedRequest) GetRoomId

func (x *GetEmulatorSpeedRequest) GetRoomId() int64

func (*GetEmulatorSpeedRequest) ProtoMessage

func (*GetEmulatorSpeedRequest) ProtoMessage()

func (*GetEmulatorSpeedRequest) ProtoReflect

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

func (*GetEmulatorSpeedRequest) Reset

func (x *GetEmulatorSpeedRequest) Reset()

func (*GetEmulatorSpeedRequest) String

func (x *GetEmulatorSpeedRequest) String() string

type GetEmulatorSpeedResponse

type GetEmulatorSpeedResponse struct {
	Rate float64 `protobuf:"fixed64,1,opt,name=rate,proto3" json:"rate,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEmulatorSpeedResponse) Descriptor deprecated

func (*GetEmulatorSpeedResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetEmulatorSpeedResponse.ProtoReflect.Descriptor instead.

func (*GetEmulatorSpeedResponse) GetRate

func (x *GetEmulatorSpeedResponse) GetRate() float64

func (*GetEmulatorSpeedResponse) ProtoMessage

func (*GetEmulatorSpeedResponse) ProtoMessage()

func (*GetEmulatorSpeedResponse) ProtoReflect

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

func (*GetEmulatorSpeedResponse) Reset

func (x *GetEmulatorSpeedResponse) Reset()

func (*GetEmulatorSpeedResponse) String

func (x *GetEmulatorSpeedResponse) String() string

type GetEndpointStatsRequest

type GetEndpointStatsRequest struct {
	// contains filtered or unexported fields
}

func (*GetEndpointStatsRequest) Descriptor deprecated

func (*GetEndpointStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEndpointStatsRequest.ProtoReflect.Descriptor instead.

func (*GetEndpointStatsRequest) ProtoMessage

func (*GetEndpointStatsRequest) ProtoMessage()

func (*GetEndpointStatsRequest) ProtoReflect

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

func (*GetEndpointStatsRequest) Reset

func (x *GetEndpointStatsRequest) Reset()

func (*GetEndpointStatsRequest) String

func (x *GetEndpointStatsRequest) String() string

type GetEndpointStatsResponse

type GetEndpointStatsResponse struct {
	EmulatorCount int32 `protobuf:"varint,1,opt,name=emulatorCount,proto3" json:"emulatorCount,omitempty"`
	CpuUsage      int32 `protobuf:"varint,2,opt,name=cpuUsage,proto3" json:"cpuUsage,omitempty"`
	MemoryUsed    int64 `protobuf:"varint,3,opt,name=memoryUsed,proto3" json:"memoryUsed,omitempty"`
	MemoryTotal   int64 `protobuf:"varint,4,opt,name=memoryTotal,proto3" json:"memoryTotal,omitempty"`
	Uptime        int64 `protobuf:"varint,5,opt,name=uptime,proto3" json:"uptime,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEndpointStatsResponse) Descriptor deprecated

func (*GetEndpointStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetEndpointStatsResponse.ProtoReflect.Descriptor instead.

func (*GetEndpointStatsResponse) GetCpuUsage

func (x *GetEndpointStatsResponse) GetCpuUsage() int32

func (*GetEndpointStatsResponse) GetEmulatorCount

func (x *GetEndpointStatsResponse) GetEmulatorCount() int32

func (*GetEndpointStatsResponse) GetMemoryTotal

func (x *GetEndpointStatsResponse) GetMemoryTotal() int64

func (*GetEndpointStatsResponse) GetMemoryUsed

func (x *GetEndpointStatsResponse) GetMemoryUsed() int64

func (*GetEndpointStatsResponse) GetUptime

func (x *GetEndpointStatsResponse) GetUptime() int64

func (*GetEndpointStatsResponse) ProtoMessage

func (*GetEndpointStatsResponse) ProtoMessage()

func (*GetEndpointStatsResponse) ProtoReflect

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

func (*GetEndpointStatsResponse) Reset

func (x *GetEndpointStatsResponse) Reset()

func (*GetEndpointStatsResponse) String

func (x *GetEndpointStatsResponse) String() string

type GetGameInstanceStatsRequest

type GetGameInstanceStatsRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGameInstanceStatsRequest) Descriptor deprecated

func (*GetGameInstanceStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGameInstanceStatsRequest.ProtoReflect.Descriptor instead.

func (*GetGameInstanceStatsRequest) GetRoomId

func (x *GetGameInstanceStatsRequest) GetRoomId() int64

func (*GetGameInstanceStatsRequest) ProtoMessage

func (*GetGameInstanceStatsRequest) ProtoMessage()

func (*GetGameInstanceStatsRequest) ProtoReflect

func (*GetGameInstanceStatsRequest) Reset

func (x *GetGameInstanceStatsRequest) Reset()

func (*GetGameInstanceStatsRequest) String

func (x *GetGameInstanceStatsRequest) String() string

type GetGameInstanceStatsResponse

type GetGameInstanceStatsResponse struct {
	Stats *GameInstanceStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGameInstanceStatsResponse) Descriptor deprecated

func (*GetGameInstanceStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetGameInstanceStatsResponse.ProtoReflect.Descriptor instead.

func (*GetGameInstanceStatsResponse) GetStats

func (*GetGameInstanceStatsResponse) ProtoMessage

func (*GetGameInstanceStatsResponse) ProtoMessage()

func (*GetGameInstanceStatsResponse) ProtoReflect

func (*GetGameInstanceStatsResponse) Reset

func (x *GetGameInstanceStatsResponse) Reset()

func (*GetGameInstanceStatsResponse) String

type GetGraphicOptionsRequest

type GetGraphicOptionsRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGraphicOptionsRequest) Descriptor deprecated

func (*GetGraphicOptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGraphicOptionsRequest.ProtoReflect.Descriptor instead.

func (*GetGraphicOptionsRequest) GetRoomId

func (x *GetGraphicOptionsRequest) GetRoomId() int64

func (*GetGraphicOptionsRequest) ProtoMessage

func (*GetGraphicOptionsRequest) ProtoMessage()

func (*GetGraphicOptionsRequest) ProtoReflect

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

func (*GetGraphicOptionsRequest) Reset

func (x *GetGraphicOptionsRequest) Reset()

func (*GetGraphicOptionsRequest) String

func (x *GetGraphicOptionsRequest) String() string

type GetGraphicOptionsResponse

type GetGraphicOptionsResponse struct {
	HighResOpen  bool `protobuf:"varint,1,opt,name=highResOpen,proto3" json:"highResOpen,omitempty"`
	ReverseColor bool `protobuf:"varint,2,opt,name=reverseColor,proto3" json:"reverseColor,omitempty"`
	Grayscale    bool `protobuf:"varint,3,opt,name=grayscale,proto3" json:"grayscale,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGraphicOptionsResponse) Descriptor deprecated

func (*GetGraphicOptionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetGraphicOptionsResponse.ProtoReflect.Descriptor instead.

func (*GetGraphicOptionsResponse) GetGrayscale

func (x *GetGraphicOptionsResponse) GetGrayscale() bool

func (*GetGraphicOptionsResponse) GetHighResOpen

func (x *GetGraphicOptionsResponse) GetHighResOpen() bool

func (*GetGraphicOptionsResponse) GetReverseColor

func (x *GetGraphicOptionsResponse) GetReverseColor() bool

func (*GetGraphicOptionsResponse) ProtoMessage

func (*GetGraphicOptionsResponse) ProtoMessage()

func (*GetGraphicOptionsResponse) ProtoReflect

func (*GetGraphicOptionsResponse) Reset

func (x *GetGraphicOptionsResponse) Reset()

func (*GetGraphicOptionsResponse) String

func (x *GetGraphicOptionsResponse) String() string

type GetServerICECandidateRequest

type GetServerICECandidateRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerICECandidateRequest) Descriptor deprecated

func (*GetServerICECandidateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServerICECandidateRequest.ProtoReflect.Descriptor instead.

func (*GetServerICECandidateRequest) GetRoomId

func (x *GetServerICECandidateRequest) GetRoomId() int64

func (*GetServerICECandidateRequest) GetUserId

func (x *GetServerICECandidateRequest) GetUserId() int64

func (*GetServerICECandidateRequest) ProtoMessage

func (*GetServerICECandidateRequest) ProtoMessage()

func (*GetServerICECandidateRequest) ProtoReflect

func (*GetServerICECandidateRequest) Reset

func (x *GetServerICECandidateRequest) Reset()

func (*GetServerICECandidateRequest) String

type GetServerICECandidateResponse

type GetServerICECandidateResponse struct {
	Candidates []string `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerICECandidateResponse) Descriptor deprecated

func (*GetServerICECandidateResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetServerICECandidateResponse.ProtoReflect.Descriptor instead.

func (*GetServerICECandidateResponse) GetCandidates

func (x *GetServerICECandidateResponse) GetCandidates() []string

func (*GetServerICECandidateResponse) ProtoMessage

func (*GetServerICECandidateResponse) ProtoMessage()

func (*GetServerICECandidateResponse) ProtoReflect

func (*GetServerICECandidateResponse) Reset

func (x *GetServerICECandidateResponse) Reset()

func (*GetServerICECandidateResponse) String

type ICECandidateRequest

type ICECandidateRequest struct {
	RoomId    int64  `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId    int64  `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Candidate string `protobuf:"bytes,3,opt,name=candidate,proto3" json:"candidate,omitempty"`
	// contains filtered or unexported fields
}

func (*ICECandidateRequest) Descriptor deprecated

func (*ICECandidateRequest) Descriptor() ([]byte, []int)

Deprecated: Use ICECandidateRequest.ProtoReflect.Descriptor instead.

func (*ICECandidateRequest) GetCandidate

func (x *ICECandidateRequest) GetCandidate() string

func (*ICECandidateRequest) GetRoomId

func (x *ICECandidateRequest) GetRoomId() int64

func (*ICECandidateRequest) GetUserId

func (x *ICECandidateRequest) GetUserId() int64

func (*ICECandidateRequest) ProtoMessage

func (*ICECandidateRequest) ProtoMessage()

func (*ICECandidateRequest) ProtoReflect

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

func (*ICECandidateRequest) Reset

func (x *ICECandidateRequest) Reset()

func (*ICECandidateRequest) String

func (x *ICECandidateRequest) String() string

type ICECandidateResponse

type ICECandidateResponse struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*ICECandidateResponse) Descriptor deprecated

func (*ICECandidateResponse) Descriptor() ([]byte, []int)

Deprecated: Use ICECandidateResponse.ProtoReflect.Descriptor instead.

func (*ICECandidateResponse) GetRoomId

func (x *ICECandidateResponse) GetRoomId() int64

func (*ICECandidateResponse) GetUserId

func (x *ICECandidateResponse) GetUserId() int64

func (*ICECandidateResponse) ProtoMessage

func (*ICECandidateResponse) ProtoMessage()

func (*ICECandidateResponse) ProtoReflect

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

func (*ICECandidateResponse) Reset

func (x *ICECandidateResponse) Reset()

func (*ICECandidateResponse) String

func (x *ICECandidateResponse) String() string

type ListGameInstancesRequest

type ListGameInstancesRequest struct {
	// contains filtered or unexported fields
}

func (*ListGameInstancesRequest) Descriptor deprecated

func (*ListGameInstancesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListGameInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListGameInstancesRequest) ProtoMessage

func (*ListGameInstancesRequest) ProtoMessage()

func (*ListGameInstancesRequest) ProtoReflect

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

func (*ListGameInstancesRequest) Reset

func (x *ListGameInstancesRequest) Reset()

func (*ListGameInstancesRequest) String

func (x *ListGameInstancesRequest) String() string

type ListGameInstancesResponse

type ListGameInstancesResponse struct {
	Instances []*GameInstanceStats `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGameInstancesResponse) Descriptor deprecated

func (*ListGameInstancesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListGameInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListGameInstancesResponse) GetInstances

func (x *ListGameInstancesResponse) GetInstances() []*GameInstanceStats

func (*ListGameInstancesResponse) ProtoMessage

func (*ListGameInstancesResponse) ProtoMessage()

func (*ListGameInstancesResponse) ProtoReflect

func (*ListGameInstancesResponse) Reset

func (x *ListGameInstancesResponse) Reset()

func (*ListGameInstancesResponse) String

func (x *ListGameInstancesResponse) String() string

type ListGamesRequest

type ListGamesRequest struct {
	Page     int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGamesRequest) Descriptor deprecated

func (*ListGamesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListGamesRequest.ProtoReflect.Descriptor instead.

func (*ListGamesRequest) GetPage

func (x *ListGamesRequest) GetPage() int32

func (*ListGamesRequest) GetPageSize

func (x *ListGamesRequest) GetPageSize() int32

func (*ListGamesRequest) ProtoMessage

func (*ListGamesRequest) ProtoMessage()

func (*ListGamesRequest) ProtoReflect

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

func (*ListGamesRequest) Reset

func (x *ListGamesRequest) Reset()

func (*ListGamesRequest) String

func (x *ListGamesRequest) String() string

type ListGamesResponse

type ListGamesResponse struct {
	Games []*GameFileMetadata `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
	Total int32               `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGamesResponse) Descriptor deprecated

func (*ListGamesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListGamesResponse.ProtoReflect.Descriptor instead.

func (*ListGamesResponse) GetGames

func (x *ListGamesResponse) GetGames() []*GameFileMetadata

func (*ListGamesResponse) GetTotal

func (x *ListGamesResponse) GetTotal() int32

func (*ListGamesResponse) ProtoMessage

func (*ListGamesResponse) ProtoMessage()

func (*ListGamesResponse) ProtoReflect

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

func (*ListGamesResponse) Reset

func (x *ListGamesResponse) Reset()

func (*ListGamesResponse) String

func (x *ListGamesResponse) String() string

type ListSavesRequest

type ListSavesRequest struct {
	RoomId   int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Page     int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSavesRequest) Descriptor deprecated

func (*ListSavesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSavesRequest.ProtoReflect.Descriptor instead.

func (*ListSavesRequest) GetPage

func (x *ListSavesRequest) GetPage() int32

func (*ListSavesRequest) GetPageSize

func (x *ListSavesRequest) GetPageSize() int32

func (*ListSavesRequest) GetRoomId

func (x *ListSavesRequest) GetRoomId() int64

func (*ListSavesRequest) ProtoMessage

func (*ListSavesRequest) ProtoMessage()

func (*ListSavesRequest) ProtoReflect

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

func (*ListSavesRequest) Reset

func (x *ListSavesRequest) Reset()

func (*ListSavesRequest) String

func (x *ListSavesRequest) String() string

type ListSavesResponse

type ListSavesResponse struct {
	Saves []*Save `protobuf:"bytes,1,rep,name=saves,proto3" json:"saves,omitempty"`
	Total int32   `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSavesResponse) Descriptor deprecated

func (*ListSavesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSavesResponse.ProtoReflect.Descriptor instead.

func (*ListSavesResponse) GetSaves

func (x *ListSavesResponse) GetSaves() []*Save

func (*ListSavesResponse) GetTotal

func (x *ListSavesResponse) GetTotal() int32

func (*ListSavesResponse) ProtoMessage

func (*ListSavesResponse) ProtoMessage()

func (*ListSavesResponse) ProtoReflect

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

func (*ListSavesResponse) Reset

func (x *ListSavesResponse) Reset()

func (*ListSavesResponse) String

func (x *ListSavesResponse) String() string

type ListSupportedEmulatorsRequest

type ListSupportedEmulatorsRequest struct {
	// contains filtered or unexported fields
}

func (*ListSupportedEmulatorsRequest) Descriptor deprecated

func (*ListSupportedEmulatorsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSupportedEmulatorsRequest.ProtoReflect.Descriptor instead.

func (*ListSupportedEmulatorsRequest) ProtoMessage

func (*ListSupportedEmulatorsRequest) ProtoMessage()

func (*ListSupportedEmulatorsRequest) ProtoReflect

func (*ListSupportedEmulatorsRequest) Reset

func (x *ListSupportedEmulatorsRequest) Reset()

func (*ListSupportedEmulatorsRequest) String

type ListSupportedEmulatorsResponse

type ListSupportedEmulatorsResponse struct {
	Emulators []*Emulator `protobuf:"bytes,1,rep,name=emulators,proto3" json:"emulators,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSupportedEmulatorsResponse) Descriptor deprecated

func (*ListSupportedEmulatorsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSupportedEmulatorsResponse.ProtoReflect.Descriptor instead.

func (*ListSupportedEmulatorsResponse) GetEmulators

func (x *ListSupportedEmulatorsResponse) GetEmulators() []*Emulator

func (*ListSupportedEmulatorsResponse) ProtoMessage

func (*ListSupportedEmulatorsResponse) ProtoMessage()

func (*ListSupportedEmulatorsResponse) ProtoReflect

func (*ListSupportedEmulatorsResponse) Reset

func (x *ListSupportedEmulatorsResponse) Reset()

func (*ListSupportedEmulatorsResponse) String

type LoadSaveRequest

type LoadSaveRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	SaveId int64 `protobuf:"varint,2,opt,name=saveId,proto3" json:"saveId,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadSaveRequest) Descriptor deprecated

func (*LoadSaveRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoadSaveRequest.ProtoReflect.Descriptor instead.

func (*LoadSaveRequest) GetRoomId

func (x *LoadSaveRequest) GetRoomId() int64

func (*LoadSaveRequest) GetSaveId

func (x *LoadSaveRequest) GetSaveId() int64

func (*LoadSaveRequest) ProtoMessage

func (*LoadSaveRequest) ProtoMessage()

func (*LoadSaveRequest) ProtoReflect

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

func (*LoadSaveRequest) Reset

func (x *LoadSaveRequest) Reset()

func (*LoadSaveRequest) String

func (x *LoadSaveRequest) String() string

type LoadSaveResponse

type LoadSaveResponse struct {
	// contains filtered or unexported fields
}

func (*LoadSaveResponse) Descriptor deprecated

func (*LoadSaveResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoadSaveResponse.ProtoReflect.Descriptor instead.

func (*LoadSaveResponse) ProtoMessage

func (*LoadSaveResponse) ProtoMessage()

func (*LoadSaveResponse) ProtoReflect

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

func (*LoadSaveResponse) Reset

func (x *LoadSaveResponse) Reset()

func (*LoadSaveResponse) String

func (x *LoadSaveResponse) String() string

type OpenGameConnectionRequest

type OpenGameConnectionRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenGameConnectionRequest) Descriptor deprecated

func (*OpenGameConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenGameConnectionRequest.ProtoReflect.Descriptor instead.

func (*OpenGameConnectionRequest) GetRoomId

func (x *OpenGameConnectionRequest) GetRoomId() int64

func (*OpenGameConnectionRequest) GetUserId

func (x *OpenGameConnectionRequest) GetUserId() int64

func (*OpenGameConnectionRequest) ProtoMessage

func (*OpenGameConnectionRequest) ProtoMessage()

func (*OpenGameConnectionRequest) ProtoReflect

func (*OpenGameConnectionRequest) Reset

func (x *OpenGameConnectionRequest) Reset()

func (*OpenGameConnectionRequest) String

func (x *OpenGameConnectionRequest) String() string

type OpenGameConnectionResponse

type OpenGameConnectionResponse struct {
	RoomId   int64  `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId   int64  `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	SdpOffer string `protobuf:"bytes,3,opt,name=sdpOffer,proto3" json:"sdpOffer,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenGameConnectionResponse) Descriptor deprecated

func (*OpenGameConnectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use OpenGameConnectionResponse.ProtoReflect.Descriptor instead.

func (*OpenGameConnectionResponse) GetRoomId

func (x *OpenGameConnectionResponse) GetRoomId() int64

func (*OpenGameConnectionResponse) GetSdpOffer

func (x *OpenGameConnectionResponse) GetSdpOffer() string

func (*OpenGameConnectionResponse) GetUserId

func (x *OpenGameConnectionResponse) GetUserId() int64

func (*OpenGameConnectionResponse) ProtoMessage

func (*OpenGameConnectionResponse) ProtoMessage()

func (*OpenGameConnectionResponse) ProtoReflect

func (*OpenGameConnectionResponse) Reset

func (x *OpenGameConnectionResponse) Reset()

func (*OpenGameConnectionResponse) String

func (x *OpenGameConnectionResponse) String() string

type PauseEmulatorRequest

type PauseEmulatorRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseEmulatorRequest) Descriptor deprecated

func (*PauseEmulatorRequest) Descriptor() ([]byte, []int)

Deprecated: Use PauseEmulatorRequest.ProtoReflect.Descriptor instead.

func (*PauseEmulatorRequest) GetRoomId

func (x *PauseEmulatorRequest) GetRoomId() int64

func (*PauseEmulatorRequest) GetUserId

func (x *PauseEmulatorRequest) GetUserId() int64

func (*PauseEmulatorRequest) ProtoMessage

func (*PauseEmulatorRequest) ProtoMessage()

func (*PauseEmulatorRequest) ProtoReflect

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

func (*PauseEmulatorRequest) Reset

func (x *PauseEmulatorRequest) Reset()

func (*PauseEmulatorRequest) String

func (x *PauseEmulatorRequest) String() string

type PauseEmulatorResponse

type PauseEmulatorResponse struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseEmulatorResponse) Descriptor deprecated

func (*PauseEmulatorResponse) Descriptor() ([]byte, []int)

Deprecated: Use PauseEmulatorResponse.ProtoReflect.Descriptor instead.

func (*PauseEmulatorResponse) GetRoomId

func (x *PauseEmulatorResponse) GetRoomId() int64

func (*PauseEmulatorResponse) GetUserId

func (x *PauseEmulatorResponse) GetUserId() int64

func (*PauseEmulatorResponse) ProtoMessage

func (*PauseEmulatorResponse) ProtoMessage()

func (*PauseEmulatorResponse) ProtoReflect

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

func (*PauseEmulatorResponse) Reset

func (x *PauseEmulatorResponse) Reset()

func (*PauseEmulatorResponse) String

func (x *PauseEmulatorResponse) String() string

type RestartEmulatorRequest

type RestartEmulatorRequest struct {
	RoomId int64  `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64  `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Game   string `protobuf:"bytes,3,opt,name=game,proto3" json:"game,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartEmulatorRequest) Descriptor deprecated

func (*RestartEmulatorRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestartEmulatorRequest.ProtoReflect.Descriptor instead.

func (*RestartEmulatorRequest) GetGame

func (x *RestartEmulatorRequest) GetGame() string

func (*RestartEmulatorRequest) GetRoomId

func (x *RestartEmulatorRequest) GetRoomId() int64

func (*RestartEmulatorRequest) GetUserId

func (x *RestartEmulatorRequest) GetUserId() int64

func (*RestartEmulatorRequest) ProtoMessage

func (*RestartEmulatorRequest) ProtoMessage()

func (*RestartEmulatorRequest) ProtoReflect

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

func (*RestartEmulatorRequest) Reset

func (x *RestartEmulatorRequest) Reset()

func (*RestartEmulatorRequest) String

func (x *RestartEmulatorRequest) String() string

type RestartEmulatorResponse

type RestartEmulatorResponse struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartEmulatorResponse) Descriptor deprecated

func (*RestartEmulatorResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestartEmulatorResponse.ProtoReflect.Descriptor instead.

func (*RestartEmulatorResponse) GetRoomId

func (x *RestartEmulatorResponse) GetRoomId() int64

func (*RestartEmulatorResponse) GetUserId

func (x *RestartEmulatorResponse) GetUserId() int64

func (*RestartEmulatorResponse) ProtoMessage

func (*RestartEmulatorResponse) ProtoMessage()

func (*RestartEmulatorResponse) ProtoReflect

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

func (*RestartEmulatorResponse) Reset

func (x *RestartEmulatorResponse) Reset()

func (*RestartEmulatorResponse) String

func (x *RestartEmulatorResponse) String() string

type SDPAnswerRequest

type SDPAnswerRequest struct {
	RoomId    int64  `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId    int64  `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	SdpAnswer string `protobuf:"bytes,3,opt,name=sdpAnswer,proto3" json:"sdpAnswer,omitempty"`
	// contains filtered or unexported fields
}

func (*SDPAnswerRequest) Descriptor deprecated

func (*SDPAnswerRequest) Descriptor() ([]byte, []int)

Deprecated: Use SDPAnswerRequest.ProtoReflect.Descriptor instead.

func (*SDPAnswerRequest) GetRoomId

func (x *SDPAnswerRequest) GetRoomId() int64

func (*SDPAnswerRequest) GetSdpAnswer

func (x *SDPAnswerRequest) GetSdpAnswer() string

func (*SDPAnswerRequest) GetUserId

func (x *SDPAnswerRequest) GetUserId() int64

func (*SDPAnswerRequest) ProtoMessage

func (*SDPAnswerRequest) ProtoMessage()

func (*SDPAnswerRequest) ProtoReflect

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

func (*SDPAnswerRequest) Reset

func (x *SDPAnswerRequest) Reset()

func (*SDPAnswerRequest) String

func (x *SDPAnswerRequest) String() string

type SDPAnswerResponse

type SDPAnswerResponse struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*SDPAnswerResponse) Descriptor deprecated

func (*SDPAnswerResponse) Descriptor() ([]byte, []int)

Deprecated: Use SDPAnswerResponse.ProtoReflect.Descriptor instead.

func (*SDPAnswerResponse) GetRoomId

func (x *SDPAnswerResponse) GetRoomId() int64

func (*SDPAnswerResponse) GetUserId

func (x *SDPAnswerResponse) GetUserId() int64

func (*SDPAnswerResponse) ProtoMessage

func (*SDPAnswerResponse) ProtoMessage()

func (*SDPAnswerResponse) ProtoReflect

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

func (*SDPAnswerResponse) Reset

func (x *SDPAnswerResponse) Reset()

func (*SDPAnswerResponse) String

func (x *SDPAnswerResponse) String() string

type Save

type Save struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RoomId     int64  `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Game       string `protobuf:"bytes,3,opt,name=game,proto3" json:"game,omitempty"`
	CreateTime int64  `protobuf:"varint,4,opt,name=createTime,proto3" json:"createTime,omitempty"`
	ExitSave   bool   `protobuf:"varint,5,opt,name=exitSave,proto3" json:"exitSave,omitempty"`
	// contains filtered or unexported fields
}

func (*Save) Descriptor deprecated

func (*Save) Descriptor() ([]byte, []int)

Deprecated: Use Save.ProtoReflect.Descriptor instead.

func (*Save) GetCreateTime

func (x *Save) GetCreateTime() int64

func (*Save) GetExitSave

func (x *Save) GetExitSave() bool

func (*Save) GetGame

func (x *Save) GetGame() string

func (*Save) GetId

func (x *Save) GetId() int64

func (*Save) GetRoomId

func (x *Save) GetRoomId() int64

func (*Save) ProtoMessage

func (*Save) ProtoMessage()

func (*Save) ProtoReflect

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

func (*Save) Reset

func (x *Save) Reset()

func (*Save) String

func (x *Save) String() string

type SaveGameRequest

type SaveGameRequest struct {
	RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveGameRequest) Descriptor deprecated

func (*SaveGameRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveGameRequest.ProtoReflect.Descriptor instead.

func (*SaveGameRequest) GetRoomId

func (x *SaveGameRequest) GetRoomId() int64

func (*SaveGameRequest) ProtoMessage

func (*SaveGameRequest) ProtoMessage()

func (*SaveGameRequest) ProtoReflect

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

func (*SaveGameRequest) Reset

func (x *SaveGameRequest) Reset()

func (*SaveGameRequest) String

func (x *SaveGameRequest) String() string

type SaveGameResponse

type SaveGameResponse struct {
	// contains filtered or unexported fields
}

func (*SaveGameResponse) Descriptor deprecated

func (*SaveGameResponse) Descriptor() ([]byte, []int)

Deprecated: Use SaveGameResponse.ProtoReflect.Descriptor instead.

func (*SaveGameResponse) ProtoMessage

func (*SaveGameResponse) ProtoMessage()

func (*SaveGameResponse) ProtoReflect

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

func (*SaveGameResponse) Reset

func (x *SaveGameResponse) Reset()

func (*SaveGameResponse) String

func (x *SaveGameResponse) String() string

type SetControllerRequest

type SetControllerRequest struct {
	RoomId     int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	UserId     int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Controller int32 `protobuf:"varint,3,opt,name=controller,proto3" json:"controller,omitempty"`
	// contains filtered or unexported fields
}

func (*SetControllerRequest) Descriptor deprecated

func (*SetControllerRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetControllerRequest.ProtoReflect.Descriptor instead.

func (*SetControllerRequest) GetController

func (x *SetControllerRequest) GetController() int32

func (*SetControllerRequest) GetRoomId

func (x *SetControllerRequest) GetRoomId() int64

func (*SetControllerRequest) GetUserId

func (x *SetControllerRequest) GetUserId() int64

func (*SetControllerRequest) ProtoMessage

func (*SetControllerRequest) ProtoMessage()

func (*SetControllerRequest) ProtoReflect

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

func (*SetControllerRequest) Reset

func (x *SetControllerRequest) Reset()

func (*SetControllerRequest) String

func (x *SetControllerRequest) String() string

type SetControllerResponse

type SetControllerResponse struct {
	// contains filtered or unexported fields
}

func (*SetControllerResponse) Descriptor deprecated

func (*SetControllerResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetControllerResponse.ProtoReflect.Descriptor instead.

func (*SetControllerResponse) ProtoMessage

func (*SetControllerResponse) ProtoMessage()

func (*SetControllerResponse) ProtoReflect

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

func (*SetControllerResponse) Reset

func (x *SetControllerResponse) Reset()

func (*SetControllerResponse) String

func (x *SetControllerResponse) String() string

type SetEmulatorSpeedRequest

type SetEmulatorSpeedRequest struct {
	RoomId int64   `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Rate   float64 `protobuf:"fixed64,2,opt,name=rate,proto3" json:"rate,omitempty"`
	// contains filtered or unexported fields
}

func (*SetEmulatorSpeedRequest) Descriptor deprecated

func (*SetEmulatorSpeedRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetEmulatorSpeedRequest.ProtoReflect.Descriptor instead.

func (*SetEmulatorSpeedRequest) GetRate

func (x *SetEmulatorSpeedRequest) GetRate() float64

func (*SetEmulatorSpeedRequest) GetRoomId

func (x *SetEmulatorSpeedRequest) GetRoomId() int64

func (*SetEmulatorSpeedRequest) ProtoMessage

func (*SetEmulatorSpeedRequest) ProtoMessage()

func (*SetEmulatorSpeedRequest) ProtoReflect

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

func (*SetEmulatorSpeedRequest) Reset

func (x *SetEmulatorSpeedRequest) Reset()

func (*SetEmulatorSpeedRequest) String

func (x *SetEmulatorSpeedRequest) String() string

type SetEmulatorSpeedResponse

type SetEmulatorSpeedResponse struct {
	RoomId int64   `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Rate   float64 `protobuf:"fixed64,2,opt,name=rate,proto3" json:"rate,omitempty"`
	// contains filtered or unexported fields
}

func (*SetEmulatorSpeedResponse) Descriptor deprecated

func (*SetEmulatorSpeedResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetEmulatorSpeedResponse.ProtoReflect.Descriptor instead.

func (*SetEmulatorSpeedResponse) GetRate

func (x *SetEmulatorSpeedResponse) GetRate() float64

func (*SetEmulatorSpeedResponse) GetRoomId

func (x *SetEmulatorSpeedResponse) GetRoomId() int64

func (*SetEmulatorSpeedResponse) ProtoMessage

func (*SetEmulatorSpeedResponse) ProtoMessage()

func (*SetEmulatorSpeedResponse) ProtoReflect

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

func (*SetEmulatorSpeedResponse) Reset

func (x *SetEmulatorSpeedResponse) Reset()

func (*SetEmulatorSpeedResponse) String

func (x *SetEmulatorSpeedResponse) String() string

type SetGraphicOptionsRequest

type SetGraphicOptionsRequest struct {
	RoomId       int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	HighResOpen  bool  `protobuf:"varint,2,opt,name=highResOpen,proto3" json:"highResOpen,omitempty"`
	ReverseColor bool  `protobuf:"varint,3,opt,name=reverseColor,proto3" json:"reverseColor,omitempty"`
	Grayscale    bool  `protobuf:"varint,4,opt,name=grayscale,proto3" json:"grayscale,omitempty"`
	// contains filtered or unexported fields
}

func (*SetGraphicOptionsRequest) Descriptor deprecated

func (*SetGraphicOptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetGraphicOptionsRequest.ProtoReflect.Descriptor instead.

func (*SetGraphicOptionsRequest) GetGrayscale

func (x *SetGraphicOptionsRequest) GetGrayscale() bool

func (*SetGraphicOptionsRequest) GetHighResOpen

func (x *SetGraphicOptionsRequest) GetHighResOpen() bool

func (*SetGraphicOptionsRequest) GetReverseColor

func (x *SetGraphicOptionsRequest) GetReverseColor() bool

func (*SetGraphicOptionsRequest) GetRoomId

func (x *SetGraphicOptionsRequest) GetRoomId() int64

func (*SetGraphicOptionsRequest) ProtoMessage

func (*SetGraphicOptionsRequest) ProtoMessage()

func (*SetGraphicOptionsRequest) ProtoReflect

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

func (*SetGraphicOptionsRequest) Reset

func (x *SetGraphicOptionsRequest) Reset()

func (*SetGraphicOptionsRequest) String

func (x *SetGraphicOptionsRequest) String() string

type SetGraphicOptionsResponse

type SetGraphicOptionsResponse struct {
	HighResOpen  bool `protobuf:"varint,1,opt,name=highResOpen,proto3" json:"highResOpen,omitempty"`
	ReverseColor bool `protobuf:"varint,2,opt,name=reverseColor,proto3" json:"reverseColor,omitempty"`
	Grayscale    bool `protobuf:"varint,3,opt,name=grayscale,proto3" json:"grayscale,omitempty"`
	// contains filtered or unexported fields
}

func (*SetGraphicOptionsResponse) Descriptor deprecated

func (*SetGraphicOptionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetGraphicOptionsResponse.ProtoReflect.Descriptor instead.

func (*SetGraphicOptionsResponse) GetGrayscale

func (x *SetGraphicOptionsResponse) GetGrayscale() bool

func (*SetGraphicOptionsResponse) GetHighResOpen

func (x *SetGraphicOptionsResponse) GetHighResOpen() bool

func (*SetGraphicOptionsResponse) GetReverseColor

func (x *SetGraphicOptionsResponse) GetReverseColor() bool

func (*SetGraphicOptionsResponse) ProtoMessage

func (*SetGraphicOptionsResponse) ProtoMessage()

func (*SetGraphicOptionsResponse) ProtoReflect

func (*SetGraphicOptionsResponse) Reset

func (x *SetGraphicOptionsResponse) Reset()

func (*SetGraphicOptionsResponse) String

func (x *SetGraphicOptionsResponse) String() string

type UnimplementedGamingServer

type UnimplementedGamingServer struct{}

UnimplementedGamingServer 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 (UnimplementedGamingServer) DeleteGameFile

func (UnimplementedGamingServer) DeleteSave

func (UnimplementedGamingServer) GetControllers

func (UnimplementedGamingServer) GetEmulatorSpeed

func (UnimplementedGamingServer) GetEndpointStats

func (UnimplementedGamingServer) ICECandidate

func (UnimplementedGamingServer) ListGames

func (UnimplementedGamingServer) ListSaves

func (UnimplementedGamingServer) LoadSave

func (UnimplementedGamingServer) PauseEmulator

func (UnimplementedGamingServer) RestartEmulator

func (UnimplementedGamingServer) SDPAnswer

func (UnimplementedGamingServer) SaveGame

func (UnimplementedGamingServer) SetController

func (UnimplementedGamingServer) SetEmulatorSpeed

func (UnimplementedGamingServer) UploadGame

type UnsafeGamingServer

type UnsafeGamingServer interface {
	// contains filtered or unexported methods
}

UnsafeGamingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GamingServer will result in compilation errors.

type UploadGameRequest

type UploadGameRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadGameRequest) Descriptor deprecated

func (*UploadGameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadGameRequest.ProtoReflect.Descriptor instead.

func (*UploadGameRequest) GetData

func (x *UploadGameRequest) GetData() []byte

func (*UploadGameRequest) GetName

func (x *UploadGameRequest) GetName() string

func (*UploadGameRequest) ProtoMessage

func (*UploadGameRequest) ProtoMessage()

func (*UploadGameRequest) ProtoReflect

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

func (*UploadGameRequest) Reset

func (x *UploadGameRequest) Reset()

func (*UploadGameRequest) String

func (x *UploadGameRequest) String() string

type UploadGameResponse

type UploadGameResponse struct {
	// contains filtered or unexported fields
}

func (*UploadGameResponse) Descriptor deprecated

func (*UploadGameResponse) Descriptor() ([]byte, []int)

Deprecated: Use UploadGameResponse.ProtoReflect.Descriptor instead.

func (*UploadGameResponse) ProtoMessage

func (*UploadGameResponse) ProtoMessage()

func (*UploadGameResponse) ProtoReflect

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

func (*UploadGameResponse) Reset

func (x *UploadGameResponse) Reset()

func (*UploadGameResponse) String

func (x *UploadGameResponse) String() string

type UserServiceErrorReason

type UserServiceErrorReason int32
const (
	UserServiceErrorReason_UNKNOWN_ERROR                UserServiceErrorReason = 0
	UserServiceErrorReason_ROOM_SESSION_NOT_ACCESSIBLE  UserServiceErrorReason = 1
	UserServiceErrorReason_CREATE_GAME_INSTANCE_FAILED  UserServiceErrorReason = 2
	UserServiceErrorReason_GAME_FILE_NOT_FOUND          UserServiceErrorReason = 3
	UserServiceErrorReason_SAVED_GAME_NOT_FOUND         UserServiceErrorReason = 4
	UserServiceErrorReason_UPLOAD_FILE_FAILED           UserServiceErrorReason = 5
	UserServiceErrorReason_INVALID_GAME_FILE            UserServiceErrorReason = 6
	UserServiceErrorReason_LIST_GAME_FAILED             UserServiceErrorReason = 7
	UserServiceErrorReason_DELETE_GAME_FAILED           UserServiceErrorReason = 8
	UserServiceErrorReason_OPEN_GAME_CONNECTION_FAILED  UserServiceErrorReason = 9
	UserServiceErrorReason_GAME_CONNECTION_NOT_FOUND    UserServiceErrorReason = 10
	UserServiceErrorReason_SDP_ANSWER_FAILED            UserServiceErrorReason = 11
	UserServiceErrorReason_ICE_CANDIDATE_FAILED         UserServiceErrorReason = 12
	UserServiceErrorReason_GAME_INSTANCE_NOT_ACCESSIBLE UserServiceErrorReason = 13
	UserServiceErrorReason_OPERATION_FAILED             UserServiceErrorReason = 14
	UserServiceErrorReason_SAVE_GAME_FAILED             UserServiceErrorReason = 15
	UserServiceErrorReason_LOAD_SAVE_FAILED             UserServiceErrorReason = 16
	UserServiceErrorReason_RESTART_FAILED               UserServiceErrorReason = 17
	UserServiceErrorReason_DELETE_SAVE_FAILED           UserServiceErrorReason = 18
)

func (UserServiceErrorReason) Descriptor

func (UserServiceErrorReason) Enum

func (UserServiceErrorReason) EnumDescriptor deprecated

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

Deprecated: Use UserServiceErrorReason.Descriptor instead.

func (UserServiceErrorReason) Number

func (UserServiceErrorReason) String

func (x UserServiceErrorReason) String() string

func (UserServiceErrorReason) Type

Jump to

Keyboard shortcuts

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