player_transporter

package
v0.0.0-...-5b44b94 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_velocity_velocity_player_transporter_proto protoreflect.FileDescriptor
View Source
var VelocityPlayerTransporter_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "towerdefence.cc.service.velocity.player_transporter.VelocityPlayerTransporter",
	HandlerType: (*VelocityPlayerTransporterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SendToServer",
			Handler:    _VelocityPlayerTransporter_SendToServer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "velocity/velocity_player_transporter.proto",
}

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

Functions

func RegisterVelocityPlayerTransporterServer

func RegisterVelocityPlayerTransporterServer(s grpc.ServiceRegistrar, srv VelocityPlayerTransporterServer)

Types

type TransportRequest

type TransportRequest struct {
	Server    *server_discovery.ConnectableServer `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	PlayerIds []string                            `protobuf:"bytes,2,rep,name=player_ids,json=playerIds,proto3" json:"player_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*TransportRequest) Descriptor deprecated

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

Deprecated: Use TransportRequest.ProtoReflect.Descriptor instead.

func (*TransportRequest) GetPlayerIds

func (x *TransportRequest) GetPlayerIds() []string

func (*TransportRequest) GetServer

func (*TransportRequest) ProtoMessage

func (*TransportRequest) ProtoMessage()

func (*TransportRequest) ProtoReflect

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

func (*TransportRequest) Reset

func (x *TransportRequest) Reset()

func (*TransportRequest) String

func (x *TransportRequest) String() string

type UnimplementedVelocityPlayerTransporterServer

type UnimplementedVelocityPlayerTransporterServer struct {
}

UnimplementedVelocityPlayerTransporterServer must be embedded to have forward compatible implementations.

func (UnimplementedVelocityPlayerTransporterServer) SendToServer

type UnsafeVelocityPlayerTransporterServer

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

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

type VelocityPlayerTransporterClient

type VelocityPlayerTransporterClient interface {
	SendToServer(ctx context.Context, in *TransportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

VelocityPlayerTransporterClient is the client API for VelocityPlayerTransporter 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 VelocityPlayerTransporterServer

type VelocityPlayerTransporterServer interface {
	SendToServer(context.Context, *TransportRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

VelocityPlayerTransporterServer is the server API for VelocityPlayerTransporter service. All implementations must embed UnimplementedVelocityPlayerTransporterServer for forward compatibility

Jump to

Keyboard shortcuts

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