gameplayerdata

package
v0.0.0-...-66adcdc Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	GamePlayerDataService_GetGamePlayerData_FullMethodName         = "/emortal.grpc.gameplayerdata.GamePlayerDataService/GetGamePlayerData"
	GamePlayerDataService_GetMultipleGamePlayerData_FullMethodName = "/emortal.grpc.gameplayerdata.GamePlayerDataService/GetMultipleGamePlayerData"
)

Variables

View Source
var File_game_player_data_grpc_proto protoreflect.FileDescriptor
View Source
var GamePlayerDataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "emortal.grpc.gameplayerdata.GamePlayerDataService",
	HandlerType: (*GamePlayerDataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetGamePlayerData",
			Handler:    _GamePlayerDataService_GetGamePlayerData_Handler,
		},
		{
			MethodName: "GetMultipleGamePlayerData",
			Handler:    _GamePlayerDataService_GetMultipleGamePlayerData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "game_player_data/grpc.proto",
}

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

Functions

func RegisterGamePlayerDataServiceServer

func RegisterGamePlayerDataServiceServer(s grpc.ServiceRegistrar, srv GamePlayerDataServiceServer)

Types

type GamePlayerDataServiceClient

type GamePlayerDataServiceClient interface {
	GetGamePlayerData(ctx context.Context, in *GetGamePlayerDataRequest, opts ...grpc.CallOption) (*GetGamePlayerDataResponse, error)
	GetMultipleGamePlayerData(ctx context.Context, in *GetMultipleGamePlayerDataRequest, opts ...grpc.CallOption) (*GetMultipleGamePlayerDataResponse, error)
}

GamePlayerDataServiceClient is the client API for GamePlayerDataService 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 GamePlayerDataServiceServer

type GamePlayerDataServiceServer interface {
	GetGamePlayerData(context.Context, *GetGamePlayerDataRequest) (*GetGamePlayerDataResponse, error)
	GetMultipleGamePlayerData(context.Context, *GetMultipleGamePlayerDataRequest) (*GetMultipleGamePlayerDataResponse, error)
	// contains filtered or unexported methods
}

GamePlayerDataServiceServer is the server API for GamePlayerDataService service. All implementations must embed UnimplementedGamePlayerDataServiceServer for forward compatibility.

type GetGamePlayerDataRequest

type GetGamePlayerDataRequest struct {
	PlayerId string                          `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	GameMode gameplayerdata.GameDataGameMode `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetGamePlayerDataRequest) Descriptor deprecated

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

Deprecated: Use GetGamePlayerDataRequest.ProtoReflect.Descriptor instead.

func (*GetGamePlayerDataRequest) GetGameMode

func (*GetGamePlayerDataRequest) GetPlayerId

func (x *GetGamePlayerDataRequest) GetPlayerId() string

func (*GetGamePlayerDataRequest) ProtoMessage

func (*GetGamePlayerDataRequest) ProtoMessage()

func (*GetGamePlayerDataRequest) ProtoReflect

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

func (*GetGamePlayerDataRequest) Reset

func (x *GetGamePlayerDataRequest) Reset()

func (*GetGamePlayerDataRequest) String

func (x *GetGamePlayerDataRequest) String() string

type GetGamePlayerDataResponse

type GetGamePlayerDataResponse struct {

	// Generic data to be coerced into a specific type
	Data *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGamePlayerDataResponse) Descriptor deprecated

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

Deprecated: Use GetGamePlayerDataResponse.ProtoReflect.Descriptor instead.

func (*GetGamePlayerDataResponse) GetData

func (x *GetGamePlayerDataResponse) GetData() *anypb.Any

func (*GetGamePlayerDataResponse) ProtoMessage

func (*GetGamePlayerDataResponse) ProtoMessage()

func (*GetGamePlayerDataResponse) ProtoReflect

func (*GetGamePlayerDataResponse) Reset

func (x *GetGamePlayerDataResponse) Reset()

func (*GetGamePlayerDataResponse) String

func (x *GetGamePlayerDataResponse) String() string

type GetMultipleGamePlayerDataRequest

type GetMultipleGamePlayerDataRequest struct {
	PlayerIds []string                        `protobuf:"bytes,1,rep,name=player_ids,json=playerIds,proto3" json:"player_ids,omitempty"`
	GameMode  gameplayerdata.GameDataGameMode `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetMultipleGamePlayerDataRequest) Descriptor deprecated

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

Deprecated: Use GetMultipleGamePlayerDataRequest.ProtoReflect.Descriptor instead.

func (*GetMultipleGamePlayerDataRequest) GetGameMode

func (*GetMultipleGamePlayerDataRequest) GetPlayerIds

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

func (*GetMultipleGamePlayerDataRequest) ProtoMessage

func (*GetMultipleGamePlayerDataRequest) ProtoMessage()

func (*GetMultipleGamePlayerDataRequest) ProtoReflect

func (*GetMultipleGamePlayerDataRequest) Reset

func (*GetMultipleGamePlayerDataRequest) String

type GetMultipleGamePlayerDataResponse

type GetMultipleGamePlayerDataResponse struct {
	Data map[string]*anypb.Any `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetMultipleGamePlayerDataResponse) Descriptor deprecated

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

Deprecated: Use GetMultipleGamePlayerDataResponse.ProtoReflect.Descriptor instead.

func (*GetMultipleGamePlayerDataResponse) GetData

func (*GetMultipleGamePlayerDataResponse) ProtoMessage

func (*GetMultipleGamePlayerDataResponse) ProtoMessage()

func (*GetMultipleGamePlayerDataResponse) ProtoReflect

func (*GetMultipleGamePlayerDataResponse) Reset

func (*GetMultipleGamePlayerDataResponse) String

type UnimplementedGamePlayerDataServiceServer

type UnimplementedGamePlayerDataServiceServer struct{}

UnimplementedGamePlayerDataServiceServer 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 (UnimplementedGamePlayerDataServiceServer) GetGamePlayerData

type UnsafeGamePlayerDataServiceServer

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

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

Jump to

Keyboard shortcuts

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