gametracker

package
v0.0.0-...-cd9d53d Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_game_tracker_messages_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CommonGameData

type CommonGameData struct {
	GameModeId string                         `protobuf:"bytes,1,opt,name=game_mode_id,json=gameModeId,proto3" json:"game_mode_id,omitempty"`
	GameId     string                         `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	ServerId   string                         `protobuf:"bytes,3,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Players    []*gametracker.BasicGamePlayer `protobuf:"bytes,6,rep,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonGameData) Descriptor deprecated

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

Deprecated: Use CommonGameData.ProtoReflect.Descriptor instead.

func (*CommonGameData) GetGameId

func (x *CommonGameData) GetGameId() string

func (*CommonGameData) GetGameModeId

func (x *CommonGameData) GetGameModeId() string

func (*CommonGameData) GetPlayers

func (x *CommonGameData) GetPlayers() []*gametracker.BasicGamePlayer

func (*CommonGameData) GetServerId

func (x *CommonGameData) GetServerId() string

func (*CommonGameData) ProtoMessage

func (*CommonGameData) ProtoMessage()

func (*CommonGameData) ProtoReflect

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

func (*CommonGameData) Reset

func (x *CommonGameData) Reset()

func (*CommonGameData) String

func (x *CommonGameData) String() string

type GameFinishMessage

type GameFinishMessage struct {
	CommonData *CommonGameData        `protobuf:"bytes,1,opt,name=common_data,json=commonData,proto3" json:"common_data,omitempty"`
	EndTime    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Content    []*anypb.Any           `protobuf:"bytes,1000,rep,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*GameFinishMessage) Descriptor deprecated

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

Deprecated: Use GameFinishMessage.ProtoReflect.Descriptor instead.

func (*GameFinishMessage) GetCommonData

func (x *GameFinishMessage) GetCommonData() *CommonGameData

func (*GameFinishMessage) GetContent

func (x *GameFinishMessage) GetContent() []*anypb.Any

func (*GameFinishMessage) GetEndTime

func (x *GameFinishMessage) GetEndTime() *timestamppb.Timestamp

func (*GameFinishMessage) ProtoMessage

func (*GameFinishMessage) ProtoMessage()

func (*GameFinishMessage) ProtoReflect

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

func (*GameFinishMessage) Reset

func (x *GameFinishMessage) Reset()

func (*GameFinishMessage) String

func (x *GameFinishMessage) String() string

type GameStartMessage

type GameStartMessage struct {
	CommonData *CommonGameData        `protobuf:"bytes,1,opt,name=common_data,json=commonData,proto3" json:"common_data,omitempty"`
	StartTime  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	MapId      *string                `protobuf:"bytes,3,opt,name=map_id,json=mapId,proto3,oneof" json:"map_id,omitempty"`
	Content    []*anypb.Any           `protobuf:"bytes,1000,rep,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*GameStartMessage) Descriptor deprecated

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

Deprecated: Use GameStartMessage.ProtoReflect.Descriptor instead.

func (*GameStartMessage) GetCommonData

func (x *GameStartMessage) GetCommonData() *CommonGameData

func (*GameStartMessage) GetContent

func (x *GameStartMessage) GetContent() []*anypb.Any

func (*GameStartMessage) GetMapId

func (x *GameStartMessage) GetMapId() string

func (*GameStartMessage) GetStartTime

func (x *GameStartMessage) GetStartTime() *timestamppb.Timestamp

func (*GameStartMessage) ProtoMessage

func (*GameStartMessage) ProtoMessage()

func (*GameStartMessage) ProtoReflect

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

func (*GameStartMessage) Reset

func (x *GameStartMessage) Reset()

func (*GameStartMessage) String

func (x *GameStartMessage) String() string

type GameUpdateMessage

type GameUpdateMessage struct {
	CommonData *CommonGameData `protobuf:"bytes,1,opt,name=common_data,json=commonData,proto3" json:"common_data,omitempty"`
	Content    []*anypb.Any    `protobuf:"bytes,1000,rep,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*GameUpdateMessage) Descriptor deprecated

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

Deprecated: Use GameUpdateMessage.ProtoReflect.Descriptor instead.

func (*GameUpdateMessage) GetCommonData

func (x *GameUpdateMessage) GetCommonData() *CommonGameData

func (*GameUpdateMessage) GetContent

func (x *GameUpdateMessage) GetContent() []*anypb.Any

func (*GameUpdateMessage) ProtoMessage

func (*GameUpdateMessage) ProtoMessage()

func (*GameUpdateMessage) ProtoReflect

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

func (*GameUpdateMessage) Reset

func (x *GameUpdateMessage) Reset()

func (*GameUpdateMessage) String

func (x *GameUpdateMessage) String() string

Jump to

Keyboard shortcuts

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