Documentation ¶
Index ¶
- Variables
- func RegisterPlayerTrackerServer(s grpc.ServiceRegistrar, srv PlayerTrackerServer)
- type GetPlayerServerRequest
- func (*GetPlayerServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlayerServerRequest) GetPlayerId() string
- func (*GetPlayerServerRequest) ProtoMessage()
- func (x *GetPlayerServerRequest) ProtoReflect() protoreflect.Message
- func (x *GetPlayerServerRequest) Reset()
- func (x *GetPlayerServerRequest) String() string
- type GetPlayerServerResponse
- func (*GetPlayerServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlayerServerResponse) GetServer() *OnlineServer
- func (*GetPlayerServerResponse) ProtoMessage()
- func (x *GetPlayerServerResponse) ProtoReflect() protoreflect.Message
- func (x *GetPlayerServerResponse) Reset()
- func (x *GetPlayerServerResponse) String() string
- type GetPlayerServersRequest
- func (*GetPlayerServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlayerServersRequest) GetPlayerIds() []string
- func (*GetPlayerServersRequest) ProtoMessage()
- func (x *GetPlayerServersRequest) ProtoReflect() protoreflect.Message
- func (x *GetPlayerServersRequest) Reset()
- func (x *GetPlayerServersRequest) String() string
- type GetPlayerServersResponse
- func (*GetPlayerServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlayerServersResponse) GetPlayerServers() map[string]*OnlineServer
- func (*GetPlayerServersResponse) ProtoMessage()
- func (x *GetPlayerServersResponse) ProtoReflect() protoreflect.Message
- func (x *GetPlayerServersResponse) Reset()
- func (x *GetPlayerServersResponse) String() string
- type GetServerPlayerCountResponse
- func (*GetServerPlayerCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerPlayerCountResponse) GetPlayerCount() uint32
- func (*GetServerPlayerCountResponse) ProtoMessage()
- func (x *GetServerPlayerCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerPlayerCountResponse) Reset()
- func (x *GetServerPlayerCountResponse) String() string
- type GetServerPlayersRequest
- func (*GetServerPlayersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerPlayersRequest) GetServerId() string
- func (*GetServerPlayersRequest) ProtoMessage()
- func (x *GetServerPlayersRequest) ProtoReflect() protoreflect.Message
- func (x *GetServerPlayersRequest) Reset()
- func (x *GetServerPlayersRequest) String() string
- type GetServerPlayersResponse
- func (*GetServerPlayersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerPlayersResponse) GetOnlinePlayers() []*OnlinePlayer
- func (*GetServerPlayersResponse) ProtoMessage()
- func (x *GetServerPlayersResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerPlayersResponse) Reset()
- func (x *GetServerPlayersResponse) String() string
- type GetServerTypePlayerCountRequest
- func (*GetServerTypePlayerCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerTypePlayerCountRequest) GetServerType() common.ServerType
- func (*GetServerTypePlayerCountRequest) ProtoMessage()
- func (x *GetServerTypePlayerCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetServerTypePlayerCountRequest) Reset()
- func (x *GetServerTypePlayerCountRequest) String() string
- type GetServerTypesPlayerCountRequest
- func (*GetServerTypesPlayerCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerTypesPlayerCountRequest) GetServerTypes() []common.ServerType
- func (*GetServerTypesPlayerCountRequest) ProtoMessage()
- func (x *GetServerTypesPlayerCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetServerTypesPlayerCountRequest) Reset()
- func (x *GetServerTypesPlayerCountRequest) String() string
- type OnlinePlayer
- func (*OnlinePlayer) Descriptor() ([]byte, []int)deprecated
- func (x *OnlinePlayer) GetPlayerId() string
- func (x *OnlinePlayer) GetUsername() string
- func (*OnlinePlayer) ProtoMessage()
- func (x *OnlinePlayer) ProtoReflect() protoreflect.Message
- func (x *OnlinePlayer) Reset()
- func (x *OnlinePlayer) String() string
- type OnlineServer
- func (*OnlineServer) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineServer) GetProxyId() string
- func (x *OnlineServer) GetServerId() string
- func (*OnlineServer) ProtoMessage()
- func (x *OnlineServer) ProtoReflect() protoreflect.Message
- func (x *OnlineServer) Reset()
- func (x *OnlineServer) String() string
- type PlayerTrackerClient
- type PlayerTrackerServer
- type ServerTypePlayerCountResponse
- func (*ServerTypePlayerCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerTypePlayerCountResponse) GetLastUpdated() *timestamppb.Timestamp
- func (x *ServerTypePlayerCountResponse) GetPlayerCount() uint32
- func (*ServerTypePlayerCountResponse) ProtoMessage()
- func (x *ServerTypePlayerCountResponse) ProtoReflect() protoreflect.Message
- func (x *ServerTypePlayerCountResponse) Reset()
- func (x *ServerTypePlayerCountResponse) String() string
- type ServerTypesPlayerCountResponse
- func (*ServerTypesPlayerCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerTypesPlayerCountResponse) GetLastUpdated() *timestamppb.Timestamp
- func (x *ServerTypesPlayerCountResponse) GetPlayerCounts() map[string]uint32
- func (*ServerTypesPlayerCountResponse) ProtoMessage()
- func (x *ServerTypesPlayerCountResponse) ProtoReflect() protoreflect.Message
- func (x *ServerTypesPlayerCountResponse) Reset()
- func (x *ServerTypesPlayerCountResponse) String() string
- type UnimplementedPlayerTrackerServer
- func (UnimplementedPlayerTrackerServer) GetPlayerServer(context.Context, *GetPlayerServerRequest) (*GetPlayerServerResponse, error)
- func (UnimplementedPlayerTrackerServer) GetPlayerServers(context.Context, *GetPlayerServersRequest) (*GetPlayerServersResponse, error)
- func (UnimplementedPlayerTrackerServer) GetServerPlayerCount(context.Context, *GetServerPlayersRequest) (*GetServerPlayerCountResponse, error)
- func (UnimplementedPlayerTrackerServer) GetServerPlayers(context.Context, *GetServerPlayersRequest) (*GetServerPlayersResponse, error)
- func (UnimplementedPlayerTrackerServer) GetServerTypePlayerCount(context.Context, *GetServerTypePlayerCountRequest) (*ServerTypePlayerCountResponse, error)
- func (UnimplementedPlayerTrackerServer) GetServerTypesPlayerCount(context.Context, *GetServerTypesPlayerCountRequest) (*ServerTypesPlayerCountResponse, error)
- type UnsafePlayerTrackerServer
Constants ¶
This section is empty.
Variables ¶
var File_player_tracker_grpc_proto protoreflect.FileDescriptor
var PlayerTracker_ServiceDesc = grpc.ServiceDesc{ ServiceName: "emortal.grpc.PlayerTracker", HandlerType: (*PlayerTrackerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPlayerServer", Handler: _PlayerTracker_GetPlayerServer_Handler, }, { MethodName: "GetPlayerServers", Handler: _PlayerTracker_GetPlayerServers_Handler, }, { MethodName: "GetServerPlayers", Handler: _PlayerTracker_GetServerPlayers_Handler, }, { MethodName: "GetServerPlayerCount", Handler: _PlayerTracker_GetServerPlayerCount_Handler, }, { MethodName: "GetServerTypePlayerCount", Handler: _PlayerTracker_GetServerTypePlayerCount_Handler, }, { MethodName: "GetServerTypesPlayerCount", Handler: _PlayerTracker_GetServerTypesPlayerCount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "player_tracker/grpc.proto", }
PlayerTracker_ServiceDesc is the grpc.ServiceDesc for PlayerTracker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPlayerTrackerServer ¶
func RegisterPlayerTrackerServer(s grpc.ServiceRegistrar, srv PlayerTrackerServer)
Types ¶
type GetPlayerServerRequest ¶
type GetPlayerServerRequest struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` // contains filtered or unexported fields }
func (*GetPlayerServerRequest) Descriptor
deprecated
func (*GetPlayerServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPlayerServerRequest.ProtoReflect.Descriptor instead.
func (*GetPlayerServerRequest) GetPlayerId ¶
func (x *GetPlayerServerRequest) GetPlayerId() string
func (*GetPlayerServerRequest) ProtoMessage ¶
func (*GetPlayerServerRequest) ProtoMessage()
func (*GetPlayerServerRequest) ProtoReflect ¶
func (x *GetPlayerServerRequest) ProtoReflect() protoreflect.Message
func (*GetPlayerServerRequest) Reset ¶
func (x *GetPlayerServerRequest) Reset()
func (*GetPlayerServerRequest) String ¶
func (x *GetPlayerServerRequest) String() string
type GetPlayerServerResponse ¶
type GetPlayerServerResponse struct { Server *OnlineServer `protobuf:"bytes,1,opt,name=server,proto3,oneof" json:"server,omitempty"` // contains filtered or unexported fields }
func (*GetPlayerServerResponse) Descriptor
deprecated
func (*GetPlayerServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPlayerServerResponse.ProtoReflect.Descriptor instead.
func (*GetPlayerServerResponse) GetServer ¶
func (x *GetPlayerServerResponse) GetServer() *OnlineServer
func (*GetPlayerServerResponse) ProtoMessage ¶
func (*GetPlayerServerResponse) ProtoMessage()
func (*GetPlayerServerResponse) ProtoReflect ¶
func (x *GetPlayerServerResponse) ProtoReflect() protoreflect.Message
func (*GetPlayerServerResponse) Reset ¶
func (x *GetPlayerServerResponse) Reset()
func (*GetPlayerServerResponse) String ¶
func (x *GetPlayerServerResponse) String() string
type GetPlayerServersRequest ¶
type GetPlayerServersRequest struct { PlayerIds []string `protobuf:"bytes,1,rep,name=player_ids,json=playerIds,proto3" json:"player_ids,omitempty"` // contains filtered or unexported fields }
func (*GetPlayerServersRequest) Descriptor
deprecated
func (*GetPlayerServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPlayerServersRequest.ProtoReflect.Descriptor instead.
func (*GetPlayerServersRequest) GetPlayerIds ¶
func (x *GetPlayerServersRequest) GetPlayerIds() []string
func (*GetPlayerServersRequest) ProtoMessage ¶
func (*GetPlayerServersRequest) ProtoMessage()
func (*GetPlayerServersRequest) ProtoReflect ¶
func (x *GetPlayerServersRequest) ProtoReflect() protoreflect.Message
func (*GetPlayerServersRequest) Reset ¶
func (x *GetPlayerServersRequest) Reset()
func (*GetPlayerServersRequest) String ¶
func (x *GetPlayerServersRequest) String() string
type GetPlayerServersResponse ¶
type GetPlayerServersResponse struct { PlayerServers map[string]*OnlineServer `` // Is they are not online, they will not be included in the map. /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetPlayerServersResponse) Descriptor
deprecated
func (*GetPlayerServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPlayerServersResponse.ProtoReflect.Descriptor instead.
func (*GetPlayerServersResponse) GetPlayerServers ¶
func (x *GetPlayerServersResponse) GetPlayerServers() map[string]*OnlineServer
func (*GetPlayerServersResponse) ProtoMessage ¶
func (*GetPlayerServersResponse) ProtoMessage()
func (*GetPlayerServersResponse) ProtoReflect ¶
func (x *GetPlayerServersResponse) ProtoReflect() protoreflect.Message
func (*GetPlayerServersResponse) Reset ¶
func (x *GetPlayerServersResponse) Reset()
func (*GetPlayerServersResponse) String ¶
func (x *GetPlayerServersResponse) String() string
type GetServerPlayerCountResponse ¶
type GetServerPlayerCountResponse struct { PlayerCount uint32 `protobuf:"varint,1,opt,name=player_count,json=playerCount,proto3" json:"player_count,omitempty"` // contains filtered or unexported fields }
func (*GetServerPlayerCountResponse) Descriptor
deprecated
func (*GetServerPlayerCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServerPlayerCountResponse.ProtoReflect.Descriptor instead.
func (*GetServerPlayerCountResponse) GetPlayerCount ¶
func (x *GetServerPlayerCountResponse) GetPlayerCount() uint32
func (*GetServerPlayerCountResponse) ProtoMessage ¶
func (*GetServerPlayerCountResponse) ProtoMessage()
func (*GetServerPlayerCountResponse) ProtoReflect ¶
func (x *GetServerPlayerCountResponse) ProtoReflect() protoreflect.Message
func (*GetServerPlayerCountResponse) Reset ¶
func (x *GetServerPlayerCountResponse) Reset()
func (*GetServerPlayerCountResponse) String ¶
func (x *GetServerPlayerCountResponse) String() string
type GetServerPlayersRequest ¶
type GetServerPlayersRequest struct { ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // contains filtered or unexported fields }
func (*GetServerPlayersRequest) Descriptor
deprecated
func (*GetServerPlayersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerPlayersRequest.ProtoReflect.Descriptor instead.
func (*GetServerPlayersRequest) GetServerId ¶
func (x *GetServerPlayersRequest) GetServerId() string
func (*GetServerPlayersRequest) ProtoMessage ¶
func (*GetServerPlayersRequest) ProtoMessage()
func (*GetServerPlayersRequest) ProtoReflect ¶
func (x *GetServerPlayersRequest) ProtoReflect() protoreflect.Message
func (*GetServerPlayersRequest) Reset ¶
func (x *GetServerPlayersRequest) Reset()
func (*GetServerPlayersRequest) String ¶
func (x *GetServerPlayersRequest) String() string
type GetServerPlayersResponse ¶
type GetServerPlayersResponse struct { OnlinePlayers []*OnlinePlayer `protobuf:"bytes,1,rep,name=online_players,json=onlinePlayers,proto3" json:"online_players,omitempty"` // contains filtered or unexported fields }
func (*GetServerPlayersResponse) Descriptor
deprecated
func (*GetServerPlayersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServerPlayersResponse.ProtoReflect.Descriptor instead.
func (*GetServerPlayersResponse) GetOnlinePlayers ¶
func (x *GetServerPlayersResponse) GetOnlinePlayers() []*OnlinePlayer
func (*GetServerPlayersResponse) ProtoMessage ¶
func (*GetServerPlayersResponse) ProtoMessage()
func (*GetServerPlayersResponse) ProtoReflect ¶
func (x *GetServerPlayersResponse) ProtoReflect() protoreflect.Message
func (*GetServerPlayersResponse) Reset ¶
func (x *GetServerPlayersResponse) Reset()
func (*GetServerPlayersResponse) String ¶
func (x *GetServerPlayersResponse) String() string
type GetServerTypePlayerCountRequest ¶
type GetServerTypePlayerCountRequest struct { ServerType common.ServerType `protobuf:"varint,1,opt,name=server_type,json=serverType,proto3,enum=emortal.model.ServerType" json:"server_type,omitempty"` // contains filtered or unexported fields }
func (*GetServerTypePlayerCountRequest) Descriptor
deprecated
func (*GetServerTypePlayerCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerTypePlayerCountRequest.ProtoReflect.Descriptor instead.
func (*GetServerTypePlayerCountRequest) GetServerType ¶
func (x *GetServerTypePlayerCountRequest) GetServerType() common.ServerType
func (*GetServerTypePlayerCountRequest) ProtoMessage ¶
func (*GetServerTypePlayerCountRequest) ProtoMessage()
func (*GetServerTypePlayerCountRequest) ProtoReflect ¶
func (x *GetServerTypePlayerCountRequest) ProtoReflect() protoreflect.Message
func (*GetServerTypePlayerCountRequest) Reset ¶
func (x *GetServerTypePlayerCountRequest) Reset()
func (*GetServerTypePlayerCountRequest) String ¶
func (x *GetServerTypePlayerCountRequest) String() string
type GetServerTypesPlayerCountRequest ¶
type GetServerTypesPlayerCountRequest struct { ServerTypes []common.ServerType `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetServerTypesPlayerCountRequest) Descriptor
deprecated
func (*GetServerTypesPlayerCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerTypesPlayerCountRequest.ProtoReflect.Descriptor instead.
func (*GetServerTypesPlayerCountRequest) GetServerTypes ¶
func (x *GetServerTypesPlayerCountRequest) GetServerTypes() []common.ServerType
func (*GetServerTypesPlayerCountRequest) ProtoMessage ¶
func (*GetServerTypesPlayerCountRequest) ProtoMessage()
func (*GetServerTypesPlayerCountRequest) ProtoReflect ¶
func (x *GetServerTypesPlayerCountRequest) ProtoReflect() protoreflect.Message
func (*GetServerTypesPlayerCountRequest) Reset ¶
func (x *GetServerTypesPlayerCountRequest) Reset()
func (*GetServerTypesPlayerCountRequest) String ¶
func (x *GetServerTypesPlayerCountRequest) String() string
type OnlinePlayer ¶
type OnlinePlayer struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*OnlinePlayer) Descriptor
deprecated
func (*OnlinePlayer) Descriptor() ([]byte, []int)
Deprecated: Use OnlinePlayer.ProtoReflect.Descriptor instead.
func (*OnlinePlayer) GetPlayerId ¶
func (x *OnlinePlayer) GetPlayerId() string
func (*OnlinePlayer) GetUsername ¶
func (x *OnlinePlayer) GetUsername() string
func (*OnlinePlayer) ProtoMessage ¶
func (*OnlinePlayer) ProtoMessage()
func (*OnlinePlayer) ProtoReflect ¶
func (x *OnlinePlayer) ProtoReflect() protoreflect.Message
func (*OnlinePlayer) Reset ¶
func (x *OnlinePlayer) Reset()
func (*OnlinePlayer) String ¶
func (x *OnlinePlayer) String() string
type OnlineServer ¶
type OnlineServer struct { ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` ProxyId string `protobuf:"bytes,2,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"` // contains filtered or unexported fields }
Represents a server a player is online on, proxy and regular.
func (*OnlineServer) Descriptor
deprecated
func (*OnlineServer) Descriptor() ([]byte, []int)
Deprecated: Use OnlineServer.ProtoReflect.Descriptor instead.
func (*OnlineServer) GetProxyId ¶
func (x *OnlineServer) GetProxyId() string
func (*OnlineServer) GetServerId ¶
func (x *OnlineServer) GetServerId() string
func (*OnlineServer) ProtoMessage ¶
func (*OnlineServer) ProtoMessage()
func (*OnlineServer) ProtoReflect ¶
func (x *OnlineServer) ProtoReflect() protoreflect.Message
func (*OnlineServer) Reset ¶
func (x *OnlineServer) Reset()
func (*OnlineServer) String ¶
func (x *OnlineServer) String() string
type PlayerTrackerClient ¶
type PlayerTrackerClient interface { GetPlayerServer(ctx context.Context, in *GetPlayerServerRequest, opts ...grpc.CallOption) (*GetPlayerServerResponse, error) GetPlayerServers(ctx context.Context, in *GetPlayerServersRequest, opts ...grpc.CallOption) (*GetPlayerServersResponse, error) GetServerPlayers(ctx context.Context, in *GetServerPlayersRequest, opts ...grpc.CallOption) (*GetServerPlayersResponse, error) GetServerPlayerCount(ctx context.Context, in *GetServerPlayersRequest, opts ...grpc.CallOption) (*GetServerPlayerCountResponse, error) GetServerTypePlayerCount(ctx context.Context, in *GetServerTypePlayerCountRequest, opts ...grpc.CallOption) (*ServerTypePlayerCountResponse, error) GetServerTypesPlayerCount(ctx context.Context, in *GetServerTypesPlayerCountRequest, opts ...grpc.CallOption) (*ServerTypesPlayerCountResponse, error) }
PlayerTrackerClient is the client API for PlayerTracker 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 NewPlayerTrackerClient ¶
func NewPlayerTrackerClient(cc grpc.ClientConnInterface) PlayerTrackerClient
type PlayerTrackerServer ¶
type PlayerTrackerServer interface { GetPlayerServer(context.Context, *GetPlayerServerRequest) (*GetPlayerServerResponse, error) GetPlayerServers(context.Context, *GetPlayerServersRequest) (*GetPlayerServersResponse, error) GetServerPlayers(context.Context, *GetServerPlayersRequest) (*GetServerPlayersResponse, error) GetServerPlayerCount(context.Context, *GetServerPlayersRequest) (*GetServerPlayerCountResponse, error) GetServerTypePlayerCount(context.Context, *GetServerTypePlayerCountRequest) (*ServerTypePlayerCountResponse, error) GetServerTypesPlayerCount(context.Context, *GetServerTypesPlayerCountRequest) (*ServerTypesPlayerCountResponse, error) // contains filtered or unexported methods }
PlayerTrackerServer is the server API for PlayerTracker service. All implementations must embed UnimplementedPlayerTrackerServer for forward compatibility
type ServerTypePlayerCountResponse ¶
type ServerTypePlayerCountResponse struct { PlayerCount uint32 `protobuf:"varint,1,opt,name=player_count,json=playerCount,proto3" json:"player_count,omitempty"` LastUpdated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // contains filtered or unexported fields }
func (*ServerTypePlayerCountResponse) Descriptor
deprecated
func (*ServerTypePlayerCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerTypePlayerCountResponse.ProtoReflect.Descriptor instead.
func (*ServerTypePlayerCountResponse) GetLastUpdated ¶
func (x *ServerTypePlayerCountResponse) GetLastUpdated() *timestamppb.Timestamp
func (*ServerTypePlayerCountResponse) GetPlayerCount ¶
func (x *ServerTypePlayerCountResponse) GetPlayerCount() uint32
func (*ServerTypePlayerCountResponse) ProtoMessage ¶
func (*ServerTypePlayerCountResponse) ProtoMessage()
func (*ServerTypePlayerCountResponse) ProtoReflect ¶
func (x *ServerTypePlayerCountResponse) ProtoReflect() protoreflect.Message
func (*ServerTypePlayerCountResponse) Reset ¶
func (x *ServerTypePlayerCountResponse) Reset()
func (*ServerTypePlayerCountResponse) String ¶
func (x *ServerTypePlayerCountResponse) String() string
type ServerTypesPlayerCountResponse ¶
type ServerTypesPlayerCountResponse struct { PlayerCounts map[string]uint32 `` /* 186-byte string literal not displayed */ LastUpdated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // contains filtered or unexported fields }
func (*ServerTypesPlayerCountResponse) Descriptor
deprecated
func (*ServerTypesPlayerCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerTypesPlayerCountResponse.ProtoReflect.Descriptor instead.
func (*ServerTypesPlayerCountResponse) GetLastUpdated ¶
func (x *ServerTypesPlayerCountResponse) GetLastUpdated() *timestamppb.Timestamp
func (*ServerTypesPlayerCountResponse) GetPlayerCounts ¶
func (x *ServerTypesPlayerCountResponse) GetPlayerCounts() map[string]uint32
func (*ServerTypesPlayerCountResponse) ProtoMessage ¶
func (*ServerTypesPlayerCountResponse) ProtoMessage()
func (*ServerTypesPlayerCountResponse) ProtoReflect ¶
func (x *ServerTypesPlayerCountResponse) ProtoReflect() protoreflect.Message
func (*ServerTypesPlayerCountResponse) Reset ¶
func (x *ServerTypesPlayerCountResponse) Reset()
func (*ServerTypesPlayerCountResponse) String ¶
func (x *ServerTypesPlayerCountResponse) String() string
type UnimplementedPlayerTrackerServer ¶
type UnimplementedPlayerTrackerServer struct { }
UnimplementedPlayerTrackerServer must be embedded to have forward compatible implementations.
func (UnimplementedPlayerTrackerServer) GetPlayerServer ¶
func (UnimplementedPlayerTrackerServer) GetPlayerServer(context.Context, *GetPlayerServerRequest) (*GetPlayerServerResponse, error)
func (UnimplementedPlayerTrackerServer) GetPlayerServers ¶
func (UnimplementedPlayerTrackerServer) GetPlayerServers(context.Context, *GetPlayerServersRequest) (*GetPlayerServersResponse, error)
func (UnimplementedPlayerTrackerServer) GetServerPlayerCount ¶
func (UnimplementedPlayerTrackerServer) GetServerPlayerCount(context.Context, *GetServerPlayersRequest) (*GetServerPlayerCountResponse, error)
func (UnimplementedPlayerTrackerServer) GetServerPlayers ¶
func (UnimplementedPlayerTrackerServer) GetServerPlayers(context.Context, *GetServerPlayersRequest) (*GetServerPlayersResponse, error)
func (UnimplementedPlayerTrackerServer) GetServerTypePlayerCount ¶
func (UnimplementedPlayerTrackerServer) GetServerTypePlayerCount(context.Context, *GetServerTypePlayerCountRequest) (*ServerTypePlayerCountResponse, error)
func (UnimplementedPlayerTrackerServer) GetServerTypesPlayerCount ¶
func (UnimplementedPlayerTrackerServer) GetServerTypesPlayerCount(context.Context, *GetServerTypesPlayerCountRequest) (*ServerTypesPlayerCountResponse, error)
type UnsafePlayerTrackerServer ¶
type UnsafePlayerTrackerServer interface {
// contains filtered or unexported methods
}
UnsafePlayerTrackerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlayerTrackerServer will result in compilation errors.