player_tracker

package
v0.0.0-...-97e2573 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_player_tracker_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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 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 int32 `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() int32

func (*GetServerPlayerCountResponse) ProtoMessage

func (*GetServerPlayerCountResponse) ProtoMessage()

func (*GetServerPlayerCountResponse) ProtoReflect

func (*GetServerPlayerCountResponse) Reset

func (x *GetServerPlayerCountResponse) Reset()

func (*GetServerPlayerCountResponse) 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 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 PlayerDisconnectRequest

type PlayerDisconnectRequest struct {
	PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerDisconnectRequest) Descriptor deprecated

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

Deprecated: Use PlayerDisconnectRequest.ProtoReflect.Descriptor instead.

func (*PlayerDisconnectRequest) GetPlayerId

func (x *PlayerDisconnectRequest) GetPlayerId() string

func (*PlayerDisconnectRequest) GetServerId

func (x *PlayerDisconnectRequest) GetServerId() string

func (*PlayerDisconnectRequest) ProtoMessage

func (*PlayerDisconnectRequest) ProtoMessage()

func (*PlayerDisconnectRequest) ProtoReflect

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

func (*PlayerDisconnectRequest) Reset

func (x *PlayerDisconnectRequest) Reset()

func (*PlayerDisconnectRequest) String

func (x *PlayerDisconnectRequest) String() string

type PlayerLoginRequest

type PlayerLoginRequest struct {
	PlayerId   string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	PlayerName string `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"`
	ServerId   string `protobuf:"bytes,3,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerLoginRequest) Descriptor deprecated

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

Deprecated: Use PlayerLoginRequest.ProtoReflect.Descriptor instead.

func (*PlayerLoginRequest) GetPlayerId

func (x *PlayerLoginRequest) GetPlayerId() string

func (*PlayerLoginRequest) GetPlayerName

func (x *PlayerLoginRequest) GetPlayerName() string

func (*PlayerLoginRequest) GetServerId

func (x *PlayerLoginRequest) GetServerId() string

func (*PlayerLoginRequest) ProtoMessage

func (*PlayerLoginRequest) ProtoMessage()

func (*PlayerLoginRequest) ProtoReflect

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

func (*PlayerLoginRequest) Reset

func (x *PlayerLoginRequest) Reset()

func (*PlayerLoginRequest) String

func (x *PlayerLoginRequest) String() string

type PlayerRequest

type PlayerRequest struct {
	PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerRequest) Descriptor deprecated

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

Deprecated: Use PlayerRequest.ProtoReflect.Descriptor instead.

func (*PlayerRequest) GetPlayerId

func (x *PlayerRequest) GetPlayerId() string

func (*PlayerRequest) ProtoMessage

func (*PlayerRequest) ProtoMessage()

func (*PlayerRequest) ProtoReflect

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

func (*PlayerRequest) Reset

func (x *PlayerRequest) Reset()

func (*PlayerRequest) String

func (x *PlayerRequest) String() string

type PlayersRequest

type PlayersRequest struct {
	PlayerIds []string `protobuf:"bytes,1,rep,name=player_ids,json=playerIds,proto3" json:"player_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayersRequest) Descriptor deprecated

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

Deprecated: Use PlayersRequest.ProtoReflect.Descriptor instead.

func (*PlayersRequest) GetPlayerIds

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

func (*PlayersRequest) ProtoMessage

func (*PlayersRequest) ProtoMessage()

func (*PlayersRequest) ProtoReflect

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

func (*PlayersRequest) Reset

func (x *PlayersRequest) Reset()

func (*PlayersRequest) String

func (x *PlayersRequest) String() string

type ServerIdRequest

type ServerIdRequest struct {
	ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerIdRequest) Descriptor deprecated

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

Deprecated: Use ServerIdRequest.ProtoReflect.Descriptor instead.

func (*ServerIdRequest) GetServerId

func (x *ServerIdRequest) GetServerId() string

func (*ServerIdRequest) ProtoMessage

func (*ServerIdRequest) ProtoMessage()

func (*ServerIdRequest) ProtoReflect

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

func (*ServerIdRequest) Reset

func (x *ServerIdRequest) Reset()

func (*ServerIdRequest) String

func (x *ServerIdRequest) String() string

Jump to

Keyboard shortcuts

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