Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterGamePlayerDataServiceServer(s grpc.ServiceRegistrar, srv GamePlayerDataServiceServer)
- type GamePlayerDataServiceClient
- type GamePlayerDataServiceServer
- type GetGamePlayerDataRequest
- func (*GetGamePlayerDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGamePlayerDataRequest) GetGameMode() gameplayerdata.GameDataGameMode
- func (x *GetGamePlayerDataRequest) GetPlayerId() string
- func (*GetGamePlayerDataRequest) ProtoMessage()
- func (x *GetGamePlayerDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetGamePlayerDataRequest) Reset()
- func (x *GetGamePlayerDataRequest) String() string
- type GetGamePlayerDataResponse
- func (*GetGamePlayerDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGamePlayerDataResponse) GetData() *anypb.Any
- func (*GetGamePlayerDataResponse) ProtoMessage()
- func (x *GetGamePlayerDataResponse) ProtoReflect() protoreflect.Message
- func (x *GetGamePlayerDataResponse) Reset()
- func (x *GetGamePlayerDataResponse) String() string
- type GetMultipleGamePlayerDataRequest
- func (*GetMultipleGamePlayerDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMultipleGamePlayerDataRequest) GetGameMode() gameplayerdata.GameDataGameMode
- func (x *GetMultipleGamePlayerDataRequest) GetPlayerIds() []string
- func (*GetMultipleGamePlayerDataRequest) ProtoMessage()
- func (x *GetMultipleGamePlayerDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetMultipleGamePlayerDataRequest) Reset()
- func (x *GetMultipleGamePlayerDataRequest) String() string
- type GetMultipleGamePlayerDataResponse
- func (*GetMultipleGamePlayerDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMultipleGamePlayerDataResponse) GetData() map[string]*anypb.Any
- func (*GetMultipleGamePlayerDataResponse) ProtoMessage()
- func (x *GetMultipleGamePlayerDataResponse) ProtoReflect() protoreflect.Message
- func (x *GetMultipleGamePlayerDataResponse) Reset()
- func (x *GetMultipleGamePlayerDataResponse) String() string
- type UnimplementedGamePlayerDataServiceServer
- func (UnimplementedGamePlayerDataServiceServer) GetGamePlayerData(context.Context, *GetGamePlayerDataRequest) (*GetGamePlayerDataResponse, error)
- func (UnimplementedGamePlayerDataServiceServer) GetMultipleGamePlayerData(context.Context, *GetMultipleGamePlayerDataRequest) (*GetMultipleGamePlayerDataResponse, error)
- type UnsafeGamePlayerDataServiceServer
Constants ¶
const ( GamePlayerDataService_GetGamePlayerData_FullMethodName = "/emortal.grpc.gameplayerdata.GamePlayerDataService/GetGamePlayerData" GamePlayerDataService_GetMultipleGamePlayerData_FullMethodName = "/emortal.grpc.gameplayerdata.GamePlayerDataService/GetMultipleGamePlayerData" )
Variables ¶
var File_game_player_data_grpc_proto protoreflect.FileDescriptor
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.
func NewGamePlayerDataServiceClient ¶
func NewGamePlayerDataServiceClient(cc grpc.ClientConnInterface) GamePlayerDataServiceClient
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 (x *GetGamePlayerDataRequest) GetGameMode() gameplayerdata.GameDataGameMode
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 (x *GetGamePlayerDataResponse) ProtoReflect() protoreflect.Message
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 (x *GetMultipleGamePlayerDataRequest) GetGameMode() gameplayerdata.GameDataGameMode
func (*GetMultipleGamePlayerDataRequest) GetPlayerIds ¶
func (x *GetMultipleGamePlayerDataRequest) GetPlayerIds() []string
func (*GetMultipleGamePlayerDataRequest) ProtoMessage ¶
func (*GetMultipleGamePlayerDataRequest) ProtoMessage()
func (*GetMultipleGamePlayerDataRequest) ProtoReflect ¶
func (x *GetMultipleGamePlayerDataRequest) ProtoReflect() protoreflect.Message
func (*GetMultipleGamePlayerDataRequest) Reset ¶
func (x *GetMultipleGamePlayerDataRequest) Reset()
func (*GetMultipleGamePlayerDataRequest) String ¶
func (x *GetMultipleGamePlayerDataRequest) String() 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 (x *GetMultipleGamePlayerDataResponse) GetData() map[string]*anypb.Any
func (*GetMultipleGamePlayerDataResponse) ProtoMessage ¶
func (*GetMultipleGamePlayerDataResponse) ProtoMessage()
func (*GetMultipleGamePlayerDataResponse) ProtoReflect ¶
func (x *GetMultipleGamePlayerDataResponse) ProtoReflect() protoreflect.Message
func (*GetMultipleGamePlayerDataResponse) Reset ¶
func (x *GetMultipleGamePlayerDataResponse) Reset()
func (*GetMultipleGamePlayerDataResponse) String ¶
func (x *GetMultipleGamePlayerDataResponse) String() 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 ¶
func (UnimplementedGamePlayerDataServiceServer) GetGamePlayerData(context.Context, *GetGamePlayerDataRequest) (*GetGamePlayerDataResponse, error)
func (UnimplementedGamePlayerDataServiceServer) GetMultipleGamePlayerData ¶
func (UnimplementedGamePlayerDataServiceServer) GetMultipleGamePlayerData(context.Context, *GetMultipleGamePlayerDataRequest) (*GetMultipleGamePlayerDataResponse, error)
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.