connectv1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ComparisonMethod_name = map[int32]string{
		0: "COMPARISON_METHOD_UNSPECIFIED",
		1: "COMPARISON_METHOD_PERSONAL_BEST",
		2: "COMPARISON_METHOD_BEST_SEGMENT",
		3: "COMPARISON_METHOD_BEST_SPLIT_TIMES",
		4: "COMPARISON_METHOD_AVERAGE_SEGMENTS",
		5: "COMPARISON_METHOD_BALANCED_PB",
	}
	ComparisonMethod_value = map[string]int32{
		"COMPARISON_METHOD_UNSPECIFIED":      0,
		"COMPARISON_METHOD_PERSONAL_BEST":    1,
		"COMPARISON_METHOD_BEST_SEGMENT":     2,
		"COMPARISON_METHOD_BEST_SPLIT_TIMES": 3,
		"COMPARISON_METHOD_AVERAGE_SEGMENTS": 4,
		"COMPARISON_METHOD_BALANCED_PB":      5,
	}
)

Enum value maps for ComparisonMethod.

View Source
var (
	TimerPhase_name = map[int32]string{
		0: "TIMER_PHASE_UNSPECIFIED",
		1: "TIMER_PHASE_NOT_RUNNING",
		2: "TIMER_PHASE_RUNNING",
		3: "TIMER_PHASE_PAUSED",
		4: "TIMER_PHASE_ENDED",
	}
	TimerPhase_value = map[string]int32{
		"TIMER_PHASE_UNSPECIFIED": 0,
		"TIMER_PHASE_NOT_RUNNING": 1,
		"TIMER_PHASE_RUNNING":     2,
		"TIMER_PHASE_PAUSED":      3,
		"TIMER_PHASE_ENDED":       4,
	}
)

Enum value maps for TimerPhase.

View Source
var (
	TimingMethod_name = map[int32]string{
		0: "TIMING_METHOD_UNSPECIFIED",
		1: "TIMING_METHOD_REAL_TIME",
		2: "TIMING_METHOD_GAME_TIME",
	}
	TimingMethod_value = map[string]int32{
		"TIMING_METHOD_UNSPECIFIED": 0,
		"TIMING_METHOD_REAL_TIME":   1,
		"TIMING_METHOD_GAME_TIME":   2,
	}
)

Enum value maps for TimingMethod.

View Source
var (
	SplitAction_name = map[int32]string{
		0: "SPLIT_ACTION_UNSPECIFIED",
		1: "SPLIT_ACTION_SPLIT",
		2: "SPLIT_ACTION_SKIP",
		3: "SPLIT_ACTION_UNDO",
	}
	SplitAction_value = map[string]int32{
		"SPLIT_ACTION_UNSPECIFIED": 0,
		"SPLIT_ACTION_SPLIT":       1,
		"SPLIT_ACTION_SKIP":        2,
		"SPLIT_ACTION_UNDO":        3,
	}
)

Enum value maps for SplitAction.

View Source
var File_livesplit_connect_v1_livesplit_proto protoreflect.FileDescriptor
View Source
var LiveSplitService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "livesplit.connect.v1.LiveSplitService",
	HandlerType: (*LiveSplitServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StartOrSplit",
			Handler:    _LiveSplitService_StartOrSplit_Handler,
		},
		{
			MethodName: "SkipSplit",
			Handler:    _LiveSplitService_SkipSplit_Handler,
		},
		{
			MethodName: "UnSplit",
			Handler:    _LiveSplitService_UnSplit_Handler,
		},
		{
			MethodName: "Pause",
			Handler:    _LiveSplitService_Pause_Handler,
		},
		{
			MethodName: "Reset",
			Handler:    _LiveSplitService_Reset_Handler,
		},
		{
			MethodName: "GetTime",
			Handler:    _LiveSplitService_GetTime_Handler,
		},
		{
			MethodName: "GetCurrentSegment",
			Handler:    _LiveSplitService_GetCurrentSegment_Handler,
		},
		{
			MethodName: "FindSegment",
			Handler:    _LiveSplitService_FindSegment_Handler,
		},
		{
			MethodName: "ListSegment",
			Handler:    _LiveSplitService_ListSegment_Handler,
		},
		{
			MethodName: "GetRun",
			Handler:    _LiveSplitService_GetRun_Handler,
		},
		{
			MethodName: "GetCurrentComparisonMethod",
			Handler:    _LiveSplitService_GetCurrentComparisonMethod_Handler,
		},
		{
			MethodName: "GetCurrentTimerPhase",
			Handler:    _LiveSplitService_GetCurrentTimerPhase_Handler,
		},
		{
			MethodName: "GetCurrentTimingMethod",
			Handler:    _LiveSplitService_GetCurrentTimingMethod_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WatchTime",
			Handler:       _LiveSplitService_WatchTime_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "WatchTimerPhase",
			Handler:       _LiveSplitService_WatchTimerPhase_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "WatchSplit",
			Handler:       _LiveSplitService_WatchSplit_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "WatchRun",
			Handler:       _LiveSplitService_WatchRun_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "livesplit/connect/v1/livesplit.proto",
}

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

Functions

func RegisterLiveSplitServiceServer

func RegisterLiveSplitServiceServer(s grpc.ServiceRegistrar, srv LiveSplitServiceServer)

Types

type ComparisonMethod

type ComparisonMethod int32

ComparisonMethod represents the current comparaison method setup in LiveSplit.

const (
	// Comparaison no specified, probably an issue with the request or LiveSplit.
	ComparisonMethod_COMPARISON_METHOD_UNSPECIFIED ComparisonMethod = 0
	// Compare again personal best (PB)
	ComparisonMethod_COMPARISON_METHOD_PERSONAL_BEST ComparisonMethod = 1
	// Compare again best segments
	ComparisonMethod_COMPARISON_METHOD_BEST_SEGMENT ComparisonMethod = 2
	// Compare again best split times
	ComparisonMethod_COMPARISON_METHOD_BEST_SPLIT_TIMES ComparisonMethod = 3
	// Compare again average segments
	ComparisonMethod_COMPARISON_METHOD_AVERAGE_SEGMENTS ComparisonMethod = 4
	// Compare again balanced PB
	ComparisonMethod_COMPARISON_METHOD_BALANCED_PB ComparisonMethod = 5
)

func (ComparisonMethod) Descriptor

func (ComparisonMethod) Enum

func (ComparisonMethod) EnumDescriptor deprecated

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

Deprecated: Use ComparisonMethod.Descriptor instead.

func (ComparisonMethod) Number

func (ComparisonMethod) String

func (x ComparisonMethod) String() string

func (ComparisonMethod) Type

type FindSegmentRequest

type FindSegmentRequest struct {

	// The exact name of the segment to find.
	SegmentName string `protobuf:"bytes,1,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"`
	// contains filtered or unexported fields
}

FindSegmentRequest is the request message for FindSegment method.

func (*FindSegmentRequest) Descriptor deprecated

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

Deprecated: Use FindSegmentRequest.ProtoReflect.Descriptor instead.

func (*FindSegmentRequest) GetSegmentName

func (x *FindSegmentRequest) GetSegmentName() string

func (*FindSegmentRequest) ProtoMessage

func (*FindSegmentRequest) ProtoMessage()

func (*FindSegmentRequest) ProtoReflect

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

func (*FindSegmentRequest) Reset

func (x *FindSegmentRequest) Reset()

func (*FindSegmentRequest) String

func (x *FindSegmentRequest) String() string

type FindSegmentResponse

type FindSegmentResponse struct {

	// The searched segment. `null` if not segment is associated with previous name.
	Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
	// contains filtered or unexported fields
}

FindSegmentResponse is the response message for FindSegment method.

func (*FindSegmentResponse) Descriptor deprecated

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

Deprecated: Use FindSegmentResponse.ProtoReflect.Descriptor instead.

func (*FindSegmentResponse) GetSegment

func (x *FindSegmentResponse) GetSegment() *Segment

func (*FindSegmentResponse) ProtoMessage

func (*FindSegmentResponse) ProtoMessage()

func (*FindSegmentResponse) ProtoReflect

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

func (*FindSegmentResponse) Reset

func (x *FindSegmentResponse) Reset()

func (*FindSegmentResponse) String

func (x *FindSegmentResponse) String() string

type GetCurrentComparisonMethodRequest

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

GetCurrentComparisonMethodRequest is the request message for GetCurrentComparisonMethod method.

func (*GetCurrentComparisonMethodRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentComparisonMethodRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentComparisonMethodRequest) ProtoMessage

func (*GetCurrentComparisonMethodRequest) ProtoMessage()

func (*GetCurrentComparisonMethodRequest) ProtoReflect

func (*GetCurrentComparisonMethodRequest) Reset

func (*GetCurrentComparisonMethodRequest) String

type GetCurrentComparisonMethodResponse

type GetCurrentComparisonMethodResponse struct {

	// The current selected comparaison method.
	Method ComparisonMethod `protobuf:"varint,1,opt,name=method,proto3,enum=livesplit.connect.v1.ComparisonMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

GetCurrentComparisonMethodResponse is the response message for GetCurrentComparisonMethod method.

func (*GetCurrentComparisonMethodResponse) Descriptor deprecated

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

Deprecated: Use GetCurrentComparisonMethodResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentComparisonMethodResponse) GetMethod

func (*GetCurrentComparisonMethodResponse) ProtoMessage

func (*GetCurrentComparisonMethodResponse) ProtoMessage()

func (*GetCurrentComparisonMethodResponse) ProtoReflect

func (*GetCurrentComparisonMethodResponse) Reset

func (*GetCurrentComparisonMethodResponse) String

type GetCurrentSegmentRequest

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

GetCurrentSegmentRequest is the request message for GetCurrentSegment method.

func (*GetCurrentSegmentRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentSegmentRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentSegmentRequest) ProtoMessage

func (*GetCurrentSegmentRequest) ProtoMessage()

func (*GetCurrentSegmentRequest) ProtoReflect

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

func (*GetCurrentSegmentRequest) Reset

func (x *GetCurrentSegmentRequest) Reset()

func (*GetCurrentSegmentRequest) String

func (x *GetCurrentSegmentRequest) String() string

type GetCurrentSegmentResponse

type GetCurrentSegmentResponse struct {

	// The current segment of the run in LiveSplit.
	Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
	// contains filtered or unexported fields
}

GetCurrentSegmentResponse is the response message for GetCurrentSegment method.

func (*GetCurrentSegmentResponse) Descriptor deprecated

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

Deprecated: Use GetCurrentSegmentResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentSegmentResponse) GetSegment

func (x *GetCurrentSegmentResponse) GetSegment() *Segment

func (*GetCurrentSegmentResponse) ProtoMessage

func (*GetCurrentSegmentResponse) ProtoMessage()

func (*GetCurrentSegmentResponse) ProtoReflect

func (*GetCurrentSegmentResponse) Reset

func (x *GetCurrentSegmentResponse) Reset()

func (*GetCurrentSegmentResponse) String

func (x *GetCurrentSegmentResponse) String() string

type GetCurrentTimerPhaseRequest

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

GetCurrentTimerPhaseRequest is the request message for GetCurrentTimerPhase method.

func (*GetCurrentTimerPhaseRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentTimerPhaseRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentTimerPhaseRequest) ProtoMessage

func (*GetCurrentTimerPhaseRequest) ProtoMessage()

func (*GetCurrentTimerPhaseRequest) ProtoReflect

func (*GetCurrentTimerPhaseRequest) Reset

func (x *GetCurrentTimerPhaseRequest) Reset()

func (*GetCurrentTimerPhaseRequest) String

func (x *GetCurrentTimerPhaseRequest) String() string

type GetCurrentTimerPhaseResponse

type GetCurrentTimerPhaseResponse struct {

	// The current timer phase in LiveSplit
	Phase TimerPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=livesplit.connect.v1.TimerPhase" json:"phase,omitempty"`
	// contains filtered or unexported fields
}

GetCurrentTimerPhaseResponse is the response message for GetCurrentTimerPhase method.

func (*GetCurrentTimerPhaseResponse) Descriptor deprecated

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

Deprecated: Use GetCurrentTimerPhaseResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentTimerPhaseResponse) GetPhase

func (*GetCurrentTimerPhaseResponse) ProtoMessage

func (*GetCurrentTimerPhaseResponse) ProtoMessage()

func (*GetCurrentTimerPhaseResponse) ProtoReflect

func (*GetCurrentTimerPhaseResponse) Reset

func (x *GetCurrentTimerPhaseResponse) Reset()

func (*GetCurrentTimerPhaseResponse) String

type GetCurrentTimingMethodRequest

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

GetCurrentTimingMethodRequest is the request message for GetCurrentTimingMethod method.

func (*GetCurrentTimingMethodRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentTimingMethodRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentTimingMethodRequest) ProtoMessage

func (*GetCurrentTimingMethodRequest) ProtoMessage()

func (*GetCurrentTimingMethodRequest) ProtoReflect

func (*GetCurrentTimingMethodRequest) Reset

func (x *GetCurrentTimingMethodRequest) Reset()

func (*GetCurrentTimingMethodRequest) String

type GetCurrentTimingMethodResponse

type GetCurrentTimingMethodResponse struct {

	// The current selected timing method.
	Method TimingMethod `protobuf:"varint,1,opt,name=method,proto3,enum=livesplit.connect.v1.TimingMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

GetCurrentTimingMethodResponse is the response message for GetCurrentTimingMethod method.

func (*GetCurrentTimingMethodResponse) Descriptor deprecated

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

Deprecated: Use GetCurrentTimingMethodResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentTimingMethodResponse) GetMethod

func (*GetCurrentTimingMethodResponse) ProtoMessage

func (*GetCurrentTimingMethodResponse) ProtoMessage()

func (*GetCurrentTimingMethodResponse) ProtoReflect

func (*GetCurrentTimingMethodResponse) Reset

func (x *GetCurrentTimingMethodResponse) Reset()

func (*GetCurrentTimingMethodResponse) String

type GetRunRequest

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

GetRunRequest is the request message for GetRun method.

func (*GetRunRequest) Descriptor deprecated

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

Deprecated: Use GetRunRequest.ProtoReflect.Descriptor instead.

func (*GetRunRequest) ProtoMessage

func (*GetRunRequest) ProtoMessage()

func (*GetRunRequest) ProtoReflect

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

func (*GetRunRequest) Reset

func (x *GetRunRequest) Reset()

func (*GetRunRequest) String

func (x *GetRunRequest) String() string

type GetRunResponse

type GetRunResponse struct {

	// The info of the current speedrun in LiveSplit.
	Run *Run `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	// contains filtered or unexported fields
}

GetRunResponse is the response message for GetRun method.

func (*GetRunResponse) Descriptor deprecated

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

Deprecated: Use GetRunResponse.ProtoReflect.Descriptor instead.

func (*GetRunResponse) GetRun

func (x *GetRunResponse) GetRun() *Run

func (*GetRunResponse) ProtoMessage

func (*GetRunResponse) ProtoMessage()

func (*GetRunResponse) ProtoReflect

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

func (*GetRunResponse) Reset

func (x *GetRunResponse) Reset()

func (*GetRunResponse) String

func (x *GetRunResponse) String() string

type GetTimeRequest

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

GetTimeRequest is the request message for GetTime method.

func (*GetTimeRequest) Descriptor deprecated

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

Deprecated: Use GetTimeRequest.ProtoReflect.Descriptor instead.

func (*GetTimeRequest) ProtoMessage

func (*GetTimeRequest) ProtoMessage()

func (*GetTimeRequest) ProtoReflect

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

func (*GetTimeRequest) Reset

func (x *GetTimeRequest) Reset()

func (*GetTimeRequest) String

func (x *GetTimeRequest) String() string

type GetTimeResponse

type GetTimeResponse struct {

	// The current time of the run in LiveSplit.
	Time *Time `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

GetTimeResponse is the response message for GetTime method.

func (*GetTimeResponse) Descriptor deprecated

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

Deprecated: Use GetTimeResponse.ProtoReflect.Descriptor instead.

func (*GetTimeResponse) GetTime

func (x *GetTimeResponse) GetTime() *Time

func (*GetTimeResponse) ProtoMessage

func (*GetTimeResponse) ProtoMessage()

func (*GetTimeResponse) ProtoReflect

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

func (*GetTimeResponse) Reset

func (x *GetTimeResponse) Reset()

func (*GetTimeResponse) String

func (x *GetTimeResponse) String() string

type ListSegmentRequest

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

ListSegmentRequest is the request message for ListSegment method.

func (*ListSegmentRequest) Descriptor deprecated

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

Deprecated: Use ListSegmentRequest.ProtoReflect.Descriptor instead.

func (*ListSegmentRequest) ProtoMessage

func (*ListSegmentRequest) ProtoMessage()

func (*ListSegmentRequest) ProtoReflect

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

func (*ListSegmentRequest) Reset

func (x *ListSegmentRequest) Reset()

func (*ListSegmentRequest) String

func (x *ListSegmentRequest) String() string

type ListSegmentResponse

type ListSegmentResponse struct {

	// The complete list of segment in the run.
	Segments []*Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
	// contains filtered or unexported fields
}

ListSegmentResponse is the response message for ListSegment method.

func (*ListSegmentResponse) Descriptor deprecated

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

Deprecated: Use ListSegmentResponse.ProtoReflect.Descriptor instead.

func (*ListSegmentResponse) GetSegments

func (x *ListSegmentResponse) GetSegments() []*Segment

func (*ListSegmentResponse) ProtoMessage

func (*ListSegmentResponse) ProtoMessage()

func (*ListSegmentResponse) ProtoReflect

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

func (*ListSegmentResponse) Reset

func (x *ListSegmentResponse) Reset()

func (*ListSegmentResponse) String

func (x *ListSegmentResponse) String() string

type LiveSplitServiceClient

type LiveSplitServiceClient interface {
	// StartOrSplit starts the timer if not start, or split current segment is the timer is started.
	// If the timer is paused, nothing happens.
	StartOrSplit(ctx context.Context, in *StartOrSplitRequest, opts ...grpc.CallOption) (*StartOrSplitResponse, error)
	// SkipSplit skip current split and move timer to the next segment.
	// If the timer is not started, this command does nothing.
	SkipSplit(ctx context.Context, in *SkipSplitRequest, opts ...grpc.CallOption) (*SkipSplitResponse, error)
	// UnSplit undoes current split and move timer to the previous segment.
	// If the timer is not started, this command does nothing.
	UnSplit(ctx context.Context, in *UnSplitRequest, opts ...grpc.CallOption) (*UnSplitResponse, error)
	// Pause toogles pause on the timer (pause if started, unpause if paused).
	// If the timer is not started, this command does nothing.
	Pause(ctx context.Context, in *PauseRequest, opts ...grpc.CallOption) (*PauseResponse, error)
	// Reset the timer and all current segment splits.
	Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error)
	// GetTime returns the current time information of the timer.
	GetTime(ctx context.Context, in *GetTimeRequest, opts ...grpc.CallOption) (*GetTimeResponse, error)
	// GetCurrentSegment returns the current segment info.
	GetCurrentSegment(ctx context.Context, in *GetCurrentSegmentRequest, opts ...grpc.CallOption) (*GetCurrentSegmentResponse, error)
	// FindSegment searchs for a specific segment in the segment list of the run.
	FindSegment(ctx context.Context, in *FindSegmentRequest, opts ...grpc.CallOption) (*FindSegmentResponse, error)
	// ListSegment returns all segment info of the run.
	ListSegment(ctx context.Context, in *ListSegmentRequest, opts ...grpc.CallOption) (*ListSegmentResponse, error)
	// GetRun returns all information of the run.
	GetRun(ctx context.Context, in *GetRunRequest, opts ...grpc.CallOption) (*GetRunResponse, error)
	// GetCurrentComparisonMethod returns the current select comparaison method in LiveSplit.
	GetCurrentComparisonMethod(ctx context.Context, in *GetCurrentComparisonMethodRequest, opts ...grpc.CallOption) (*GetCurrentComparisonMethodResponse, error)
	// GetCurrentTimerPhase returns the current timer phase in LiveSplit
	GetCurrentTimerPhase(ctx context.Context, in *GetCurrentTimerPhaseRequest, opts ...grpc.CallOption) (*GetCurrentTimerPhaseResponse, error)
	// GetCurrentTimingMethod returns the current selected timing method in LiveSplit.
	GetCurrentTimingMethod(ctx context.Context, in *GetCurrentTimingMethodRequest, opts ...grpc.CallOption) (*GetCurrentTimingMethodResponse, error)
	// WatchTime streams regularly current run time to the client.
	// The frequency of updates is specified in the request.
	WatchTime(ctx context.Context, in *WatchTimeRequest, opts ...grpc.CallOption) (LiveSplitService_WatchTimeClient, error)
	// WatchTimerPhase streams change events regarding timer phase to the client.
	WatchTimerPhase(ctx context.Context, in *WatchTimerPhaseRequest, opts ...grpc.CallOption) (LiveSplitService_WatchTimerPhaseClient, error)
	// WatchSplit streams change events regarding timer phase to the client.
	WatchSplit(ctx context.Context, in *WatchSplitRequest, opts ...grpc.CallOption) (LiveSplitService_WatchSplitClient, error)
	// WatchRun streams change events regarding selected run (ie when another run file is loaded) to the client.
	WatchRun(ctx context.Context, in *WatchRunRequest, opts ...grpc.CallOption) (LiveSplitService_WatchRunClient, error)
}

LiveSplitServiceClient is the client API for LiveSplitService 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.

type LiveSplitServiceServer

type LiveSplitServiceServer interface {
	// StartOrSplit starts the timer if not start, or split current segment is the timer is started.
	// If the timer is paused, nothing happens.
	StartOrSplit(context.Context, *StartOrSplitRequest) (*StartOrSplitResponse, error)
	// SkipSplit skip current split and move timer to the next segment.
	// If the timer is not started, this command does nothing.
	SkipSplit(context.Context, *SkipSplitRequest) (*SkipSplitResponse, error)
	// UnSplit undoes current split and move timer to the previous segment.
	// If the timer is not started, this command does nothing.
	UnSplit(context.Context, *UnSplitRequest) (*UnSplitResponse, error)
	// Pause toogles pause on the timer (pause if started, unpause if paused).
	// If the timer is not started, this command does nothing.
	Pause(context.Context, *PauseRequest) (*PauseResponse, error)
	// Reset the timer and all current segment splits.
	Reset(context.Context, *ResetRequest) (*ResetResponse, error)
	// GetTime returns the current time information of the timer.
	GetTime(context.Context, *GetTimeRequest) (*GetTimeResponse, error)
	// GetCurrentSegment returns the current segment info.
	GetCurrentSegment(context.Context, *GetCurrentSegmentRequest) (*GetCurrentSegmentResponse, error)
	// FindSegment searchs for a specific segment in the segment list of the run.
	FindSegment(context.Context, *FindSegmentRequest) (*FindSegmentResponse, error)
	// ListSegment returns all segment info of the run.
	ListSegment(context.Context, *ListSegmentRequest) (*ListSegmentResponse, error)
	// GetRun returns all information of the run.
	GetRun(context.Context, *GetRunRequest) (*GetRunResponse, error)
	// GetCurrentComparisonMethod returns the current select comparaison method in LiveSplit.
	GetCurrentComparisonMethod(context.Context, *GetCurrentComparisonMethodRequest) (*GetCurrentComparisonMethodResponse, error)
	// GetCurrentTimerPhase returns the current timer phase in LiveSplit
	GetCurrentTimerPhase(context.Context, *GetCurrentTimerPhaseRequest) (*GetCurrentTimerPhaseResponse, error)
	// GetCurrentTimingMethod returns the current selected timing method in LiveSplit.
	GetCurrentTimingMethod(context.Context, *GetCurrentTimingMethodRequest) (*GetCurrentTimingMethodResponse, error)
	// WatchTime streams regularly current run time to the client.
	// The frequency of updates is specified in the request.
	WatchTime(*WatchTimeRequest, LiveSplitService_WatchTimeServer) error
	// WatchTimerPhase streams change events regarding timer phase to the client.
	WatchTimerPhase(*WatchTimerPhaseRequest, LiveSplitService_WatchTimerPhaseServer) error
	// WatchSplit streams change events regarding timer phase to the client.
	WatchSplit(*WatchSplitRequest, LiveSplitService_WatchSplitServer) error
	// WatchRun streams change events regarding selected run (ie when another run file is loaded) to the client.
	WatchRun(*WatchRunRequest, LiveSplitService_WatchRunServer) error
	// contains filtered or unexported methods
}

LiveSplitServiceServer is the server API for LiveSplitService service. All implementations must embed UnimplementedLiveSplitServiceServer for forward compatibility

type LiveSplitService_WatchRunClient

type LiveSplitService_WatchRunClient interface {
	Recv() (*WatchRunResponse, error)
	grpc.ClientStream
}

type LiveSplitService_WatchRunServer

type LiveSplitService_WatchRunServer interface {
	Send(*WatchRunResponse) error
	grpc.ServerStream
}

type LiveSplitService_WatchSplitClient

type LiveSplitService_WatchSplitClient interface {
	Recv() (*WatchSplitResponse, error)
	grpc.ClientStream
}

type LiveSplitService_WatchSplitServer

type LiveSplitService_WatchSplitServer interface {
	Send(*WatchSplitResponse) error
	grpc.ServerStream
}

type LiveSplitService_WatchTimeClient

type LiveSplitService_WatchTimeClient interface {
	Recv() (*WatchTimeResponse, error)
	grpc.ClientStream
}

type LiveSplitService_WatchTimeServer

type LiveSplitService_WatchTimeServer interface {
	Send(*WatchTimeResponse) error
	grpc.ServerStream
}

type LiveSplitService_WatchTimerPhaseClient

type LiveSplitService_WatchTimerPhaseClient interface {
	Recv() (*WatchTimerPhaseResponse, error)
	grpc.ClientStream
}

type LiveSplitService_WatchTimerPhaseServer

type LiveSplitService_WatchTimerPhaseServer interface {
	Send(*WatchTimerPhaseResponse) error
	grpc.ServerStream
}

type PauseRequest

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

PauseRequest is the request message for Pause method.

func (*PauseRequest) Descriptor deprecated

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

Deprecated: Use PauseRequest.ProtoReflect.Descriptor instead.

func (*PauseRequest) ProtoMessage

func (*PauseRequest) ProtoMessage()

func (*PauseRequest) ProtoReflect

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

func (*PauseRequest) Reset

func (x *PauseRequest) Reset()

func (*PauseRequest) String

func (x *PauseRequest) String() string

type PauseResponse

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

PauseResponse is the response message for Pause method.

func (*PauseResponse) Descriptor deprecated

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

Deprecated: Use PauseResponse.ProtoReflect.Descriptor instead.

func (*PauseResponse) ProtoMessage

func (*PauseResponse) ProtoMessage()

func (*PauseResponse) ProtoReflect

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

func (*PauseResponse) Reset

func (x *PauseResponse) Reset()

func (*PauseResponse) String

func (x *PauseResponse) String() string

type ResetRequest

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

ResetRequest is the request message for Reset method.

func (*ResetRequest) Descriptor deprecated

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

Deprecated: Use ResetRequest.ProtoReflect.Descriptor instead.

func (*ResetRequest) ProtoMessage

func (*ResetRequest) ProtoMessage()

func (*ResetRequest) ProtoReflect

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

func (*ResetRequest) Reset

func (x *ResetRequest) Reset()

func (*ResetRequest) String

func (x *ResetRequest) String() string

type ResetResponse

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

ResetResponse is the response message for Reset method.

func (*ResetResponse) Descriptor deprecated

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

Deprecated: Use ResetResponse.ProtoReflect.Descriptor instead.

func (*ResetResponse) ProtoMessage

func (*ResetResponse) ProtoMessage()

func (*ResetResponse) ProtoReflect

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

func (*ResetResponse) Reset

func (x *ResetResponse) Reset()

func (*ResetResponse) String

func (x *ResetResponse) String() string

type Run

type Run struct {

	// The name of the game.
	GameName string `protobuf:"bytes,1,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"`
	// The category of the speedrun.
	RunCategory string `protobuf:"bytes,2,opt,name=run_category,json=runCategory,proto3" json:"run_category,omitempty"`
	// The number of attempts (ie start of a run) done on this run.
	AttemptCount uint32 `protobuf:"varint,3,opt,name=attempt_count,json=attemptCount,proto3" json:"attempt_count,omitempty"`
	// If revelant, the region of the game (mainly used for old game on retro hardware).
	Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	// The platform where the game runs (PC, console...).
	Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
	// If true, the game is emulated on a virtual hardware (emulator).
	UsesEmulator bool `protobuf:"varint,6,opt,name=uses_emulator,json=usesEmulator,proto3" json:"uses_emulator,omitempty"`
	// contains filtered or unexported fields
}

Run represents a speedrun in LiveSplit: the game and the associated timer/segments.

func (*Run) Descriptor deprecated

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

Deprecated: Use Run.ProtoReflect.Descriptor instead.

func (*Run) GetAttemptCount

func (x *Run) GetAttemptCount() uint32

func (*Run) GetGameName

func (x *Run) GetGameName() string

func (*Run) GetPlatform

func (x *Run) GetPlatform() string

func (*Run) GetRegion

func (x *Run) GetRegion() string

func (*Run) GetRunCategory

func (x *Run) GetRunCategory() string

func (*Run) GetUsesEmulator

func (x *Run) GetUsesEmulator() bool

func (*Run) ProtoMessage

func (*Run) ProtoMessage()

func (*Run) ProtoReflect

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

func (*Run) Reset

func (x *Run) Reset()

func (*Run) String

func (x *Run) String() string

type Segment

type Segment struct {

	// The name of the segment.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The current split time of the segment.
	SplitTime *Time `protobuf:"bytes,2,opt,name=split_time,json=splitTime,proto3" json:"split_time,omitempty"`
	// The best split time of all runs from the beginning on the run to this segment.
	PersonalBestSplitTime *Time `` /* 128-byte string literal not displayed */
	// The best segment time (starting from previous segment split) of all runs.
	BestSegmentTime *Time `protobuf:"bytes,4,opt,name=best_segment_time,json=bestSegmentTime,proto3" json:"best_segment_time,omitempty"`
	// The position of the segment in the segment list of the run.
	Index uint32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

Segment represents a portion of the run. A run contains multiple segments.

func (*Segment) Descriptor deprecated

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

Deprecated: Use Segment.ProtoReflect.Descriptor instead.

func (*Segment) GetBestSegmentTime

func (x *Segment) GetBestSegmentTime() *Time

func (*Segment) GetIndex

func (x *Segment) GetIndex() uint32

func (*Segment) GetName

func (x *Segment) GetName() string

func (*Segment) GetPersonalBestSplitTime

func (x *Segment) GetPersonalBestSplitTime() *Time

func (*Segment) GetSplitTime

func (x *Segment) GetSplitTime() *Time

func (*Segment) ProtoMessage

func (*Segment) ProtoMessage()

func (*Segment) ProtoReflect

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

func (*Segment) Reset

func (x *Segment) Reset()

func (*Segment) String

func (x *Segment) String() string

type SkipSplitRequest

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

SkipSplitRequest is the request message for SkipSplit method.

func (*SkipSplitRequest) Descriptor deprecated

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

Deprecated: Use SkipSplitRequest.ProtoReflect.Descriptor instead.

func (*SkipSplitRequest) ProtoMessage

func (*SkipSplitRequest) ProtoMessage()

func (*SkipSplitRequest) ProtoReflect

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

func (*SkipSplitRequest) Reset

func (x *SkipSplitRequest) Reset()

func (*SkipSplitRequest) String

func (x *SkipSplitRequest) String() string

type SkipSplitResponse

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

SkipSplitResponse is the response message for SkipSplit method.

func (*SkipSplitResponse) Descriptor deprecated

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

Deprecated: Use SkipSplitResponse.ProtoReflect.Descriptor instead.

func (*SkipSplitResponse) ProtoMessage

func (*SkipSplitResponse) ProtoMessage()

func (*SkipSplitResponse) ProtoReflect

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

func (*SkipSplitResponse) Reset

func (x *SkipSplitResponse) Reset()

func (*SkipSplitResponse) String

func (x *SkipSplitResponse) String() string

type SplitAction

type SplitAction int32

SplitAction represents a split action that can be done on the LiveSplit timer.

const (
	// Unspecified action, probably an issue with the request or LiveSplit.
	SplitAction_SPLIT_ACTION_UNSPECIFIED SplitAction = 0
	// Perform a split on current segment.
	SplitAction_SPLIT_ACTION_SPLIT SplitAction = 1
	// Skip the current split and move to the next segment.
	SplitAction_SPLIT_ACTION_SKIP SplitAction = 2
	// Undo the previous split and move to the previous segment.
	SplitAction_SPLIT_ACTION_UNDO SplitAction = 3
)

func (SplitAction) Descriptor

func (SplitAction) Enum

func (x SplitAction) Enum() *SplitAction

func (SplitAction) EnumDescriptor deprecated

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

Deprecated: Use SplitAction.Descriptor instead.

func (SplitAction) Number

func (x SplitAction) Number() protoreflect.EnumNumber

func (SplitAction) String

func (x SplitAction) String() string

func (SplitAction) Type

type StartOrSplitRequest

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

StartOrSplitRequest is the request message for StartOrSplit method.

func (*StartOrSplitRequest) Descriptor deprecated

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

Deprecated: Use StartOrSplitRequest.ProtoReflect.Descriptor instead.

func (*StartOrSplitRequest) ProtoMessage

func (*StartOrSplitRequest) ProtoMessage()

func (*StartOrSplitRequest) ProtoReflect

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

func (*StartOrSplitRequest) Reset

func (x *StartOrSplitRequest) Reset()

func (*StartOrSplitRequest) String

func (x *StartOrSplitRequest) String() string

type StartOrSplitResponse

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

StartOrSplitResponse is the response message for StartOrSplit method.

func (*StartOrSplitResponse) Descriptor deprecated

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

Deprecated: Use StartOrSplitResponse.ProtoReflect.Descriptor instead.

func (*StartOrSplitResponse) ProtoMessage

func (*StartOrSplitResponse) ProtoMessage()

func (*StartOrSplitResponse) ProtoReflect

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

func (*StartOrSplitResponse) Reset

func (x *StartOrSplitResponse) Reset()

func (*StartOrSplitResponse) String

func (x *StartOrSplitResponse) String() string

type Time

type Time struct {

	// The real time.
	RealTime *durationpb.Duration `protobuf:"bytes,1,opt,name=real_time,json=realTime,proto3" json:"real_time,omitempty"`
	// The game time.
	GameTime *durationpb.Duration `protobuf:"bytes,2,opt,name=game_time,json=gameTime,proto3" json:"game_time,omitempty"`
	// contains filtered or unexported fields
}

Time represents the time inside LiveSplit.

func (*Time) Descriptor deprecated

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

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetGameTime

func (x *Time) GetGameTime() *durationpb.Duration

func (*Time) GetRealTime

func (x *Time) GetRealTime() *durationpb.Duration

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) ProtoReflect

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

func (*Time) Reset

func (x *Time) Reset()

func (*Time) String

func (x *Time) String() string

type TimerPhase

type TimerPhase int32

TimerPhase represent the state of the timer in Livesplit.

const (
	// Phase not specified, probably an issue with the request or LiveSplit.
	TimerPhase_TIMER_PHASE_UNSPECIFIED TimerPhase = 0
	// Timer is not running.
	TimerPhase_TIMER_PHASE_NOT_RUNNING TimerPhase = 1
	// Timer is running.
	TimerPhase_TIMER_PHASE_RUNNING TimerPhase = 2
	// Timer is paused
	TimerPhase_TIMER_PHASE_PAUSED TimerPhase = 3
	// Timer has ended (end of the run).
	TimerPhase_TIMER_PHASE_ENDED TimerPhase = 4
)

func (TimerPhase) Descriptor

func (TimerPhase) Descriptor() protoreflect.EnumDescriptor

func (TimerPhase) Enum

func (x TimerPhase) Enum() *TimerPhase

func (TimerPhase) EnumDescriptor deprecated

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

Deprecated: Use TimerPhase.Descriptor instead.

func (TimerPhase) Number

func (x TimerPhase) Number() protoreflect.EnumNumber

func (TimerPhase) String

func (x TimerPhase) String() string

func (TimerPhase) Type

type TimingMethod

type TimingMethod int32

TimingMethod is the current selected timing method in LiveSplit.

const (
	// Method not specified, probably an issue with the request or LiveSplit.
	TimingMethod_TIMING_METHOD_UNSPECIFIED TimingMethod = 0
	// Real time method is currently used.
	TimingMethod_TIMING_METHOD_REAL_TIME TimingMethod = 1
	// Game time method is currently used.
	TimingMethod_TIMING_METHOD_GAME_TIME TimingMethod = 2
)

func (TimingMethod) Descriptor

func (TimingMethod) Enum

func (x TimingMethod) Enum() *TimingMethod

func (TimingMethod) EnumDescriptor deprecated

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

Deprecated: Use TimingMethod.Descriptor instead.

func (TimingMethod) Number

func (TimingMethod) String

func (x TimingMethod) String() string

func (TimingMethod) Type

type UnSplitRequest

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

UnSplitRequest is the request message for UnSplit method.

func (*UnSplitRequest) Descriptor deprecated

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

Deprecated: Use UnSplitRequest.ProtoReflect.Descriptor instead.

func (*UnSplitRequest) ProtoMessage

func (*UnSplitRequest) ProtoMessage()

func (*UnSplitRequest) ProtoReflect

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

func (*UnSplitRequest) Reset

func (x *UnSplitRequest) Reset()

func (*UnSplitRequest) String

func (x *UnSplitRequest) String() string

type UnSplitResponse

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

UnSplitResponse is the response message for UnSplit method.

func (*UnSplitResponse) Descriptor deprecated

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

Deprecated: Use UnSplitResponse.ProtoReflect.Descriptor instead.

func (*UnSplitResponse) ProtoMessage

func (*UnSplitResponse) ProtoMessage()

func (*UnSplitResponse) ProtoReflect

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

func (*UnSplitResponse) Reset

func (x *UnSplitResponse) Reset()

func (*UnSplitResponse) String

func (x *UnSplitResponse) String() string

type UnimplementedLiveSplitServiceServer

type UnimplementedLiveSplitServiceServer struct {
}

UnimplementedLiveSplitServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLiveSplitServiceServer) FindSegment

func (UnimplementedLiveSplitServiceServer) GetCurrentSegment

func (UnimplementedLiveSplitServiceServer) GetRun

func (UnimplementedLiveSplitServiceServer) GetTime

func (UnimplementedLiveSplitServiceServer) ListSegment

func (UnimplementedLiveSplitServiceServer) Pause

func (UnimplementedLiveSplitServiceServer) Reset

func (UnimplementedLiveSplitServiceServer) SkipSplit

func (UnimplementedLiveSplitServiceServer) StartOrSplit

func (UnimplementedLiveSplitServiceServer) UnSplit

func (UnimplementedLiveSplitServiceServer) WatchRun

func (UnimplementedLiveSplitServiceServer) WatchSplit

func (UnimplementedLiveSplitServiceServer) WatchTime

type UnsafeLiveSplitServiceServer

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

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

type WatchRunRequest

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

WatchRunRequest is the request message for WatchRun method.

func (*WatchRunRequest) Descriptor deprecated

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

Deprecated: Use WatchRunRequest.ProtoReflect.Descriptor instead.

func (*WatchRunRequest) ProtoMessage

func (*WatchRunRequest) ProtoMessage()

func (*WatchRunRequest) ProtoReflect

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

func (*WatchRunRequest) Reset

func (x *WatchRunRequest) Reset()

func (*WatchRunRequest) String

func (x *WatchRunRequest) String() string

type WatchRunResponse

type WatchRunResponse struct {

	// The new information of the run, triggered after for instance a new run file load.
	Run *Run `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	// contains filtered or unexported fields
}

WatchRunResponse is the response message for WatchRun method.

func (*WatchRunResponse) Descriptor deprecated

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

Deprecated: Use WatchRunResponse.ProtoReflect.Descriptor instead.

func (*WatchRunResponse) GetRun

func (x *WatchRunResponse) GetRun() *Run

func (*WatchRunResponse) ProtoMessage

func (*WatchRunResponse) ProtoMessage()

func (*WatchRunResponse) ProtoReflect

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

func (*WatchRunResponse) Reset

func (x *WatchRunResponse) Reset()

func (*WatchRunResponse) String

func (x *WatchRunResponse) String() string

type WatchSplitRequest

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

WatchSplitRequest is the request message for WatchSplit method.

func (*WatchSplitRequest) Descriptor deprecated

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

Deprecated: Use WatchSplitRequest.ProtoReflect.Descriptor instead.

func (*WatchSplitRequest) ProtoMessage

func (*WatchSplitRequest) ProtoMessage()

func (*WatchSplitRequest) ProtoReflect

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

func (*WatchSplitRequest) Reset

func (x *WatchSplitRequest) Reset()

func (*WatchSplitRequest) String

func (x *WatchSplitRequest) String() string

type WatchSplitResponse

type WatchSplitResponse struct {

	// The segment that has just been actionated in the run.
	Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
	// The action associated with the split.
	Action SplitAction `protobuf:"varint,2,opt,name=action,proto3,enum=livesplit.connect.v1.SplitAction" json:"action,omitempty"`
	// contains filtered or unexported fields
}

WatchSplitResponse is the response message for WatchSplit method.

func (*WatchSplitResponse) Descriptor deprecated

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

Deprecated: Use WatchSplitResponse.ProtoReflect.Descriptor instead.

func (*WatchSplitResponse) GetAction

func (x *WatchSplitResponse) GetAction() SplitAction

func (*WatchSplitResponse) GetSegment

func (x *WatchSplitResponse) GetSegment() *Segment

func (*WatchSplitResponse) ProtoMessage

func (*WatchSplitResponse) ProtoMessage()

func (*WatchSplitResponse) ProtoReflect

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

func (*WatchSplitResponse) Reset

func (x *WatchSplitResponse) Reset()

func (*WatchSplitResponse) String

func (x *WatchSplitResponse) String() string

type WatchTimeRequest

type WatchTimeRequest struct {

	// Specify how often server streams the current time in LiveSplit to the client.
	RefreshRate *durationpb.Duration `protobuf:"bytes,1,opt,name=refresh_rate,json=refreshRate,proto3" json:"refresh_rate,omitempty"`
	// contains filtered or unexported fields
}

WatchTimeRequest is the request message for WatchTime method.

func (*WatchTimeRequest) Descriptor deprecated

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

Deprecated: Use WatchTimeRequest.ProtoReflect.Descriptor instead.

func (*WatchTimeRequest) GetRefreshRate

func (x *WatchTimeRequest) GetRefreshRate() *durationpb.Duration

func (*WatchTimeRequest) ProtoMessage

func (*WatchTimeRequest) ProtoMessage()

func (*WatchTimeRequest) ProtoReflect

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

func (*WatchTimeRequest) Reset

func (x *WatchTimeRequest) Reset()

func (*WatchTimeRequest) String

func (x *WatchTimeRequest) String() string

type WatchTimeResponse

type WatchTimeResponse struct {

	// The current time of the run in LiveSplit.
	CurrentTime *Time `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"`
	// contains filtered or unexported fields
}

WatchTimeResponse is the response message for WatchTime method.

func (*WatchTimeResponse) Descriptor deprecated

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

Deprecated: Use WatchTimeResponse.ProtoReflect.Descriptor instead.

func (*WatchTimeResponse) GetCurrentTime

func (x *WatchTimeResponse) GetCurrentTime() *Time

func (*WatchTimeResponse) ProtoMessage

func (*WatchTimeResponse) ProtoMessage()

func (*WatchTimeResponse) ProtoReflect

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

func (*WatchTimeResponse) Reset

func (x *WatchTimeResponse) Reset()

func (*WatchTimeResponse) String

func (x *WatchTimeResponse) String() string

type WatchTimerPhaseRequest

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

WatchTimerPhaseRequest is the request message for WatchTimerPhase method.

func (*WatchTimerPhaseRequest) Descriptor deprecated

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

Deprecated: Use WatchTimerPhaseRequest.ProtoReflect.Descriptor instead.

func (*WatchTimerPhaseRequest) ProtoMessage

func (*WatchTimerPhaseRequest) ProtoMessage()

func (*WatchTimerPhaseRequest) ProtoReflect

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

func (*WatchTimerPhaseRequest) Reset

func (x *WatchTimerPhaseRequest) Reset()

func (*WatchTimerPhaseRequest) String

func (x *WatchTimerPhaseRequest) String() string

type WatchTimerPhaseResponse

type WatchTimerPhaseResponse struct {

	// The updated timer phase after a change event inside LiveSplit.
	Phase TimerPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=livesplit.connect.v1.TimerPhase" json:"phase,omitempty"`
	// contains filtered or unexported fields
}

WatchTimerPhaseResponse is the response message for WatchTimerPhase method.

func (*WatchTimerPhaseResponse) Descriptor deprecated

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

Deprecated: Use WatchTimerPhaseResponse.ProtoReflect.Descriptor instead.

func (*WatchTimerPhaseResponse) GetPhase

func (x *WatchTimerPhaseResponse) GetPhase() TimerPhase

func (*WatchTimerPhaseResponse) ProtoMessage

func (*WatchTimerPhaseResponse) ProtoMessage()

func (*WatchTimerPhaseResponse) ProtoReflect

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

func (*WatchTimerPhaseResponse) Reset

func (x *WatchTimerPhaseResponse) Reset()

func (*WatchTimerPhaseResponse) String

func (x *WatchTimerPhaseResponse) String() string

Jump to

Keyboard shortcuts

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