proto

package
v1.0.304 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_challenge_proto protoreflect.FileDescriptor
View Source
var File_multiview_demo_proto protoreflect.FileDescriptor
View Source
var File_mvdtext_proto protoreflect.FileDescriptor
View Source
var File_packet_proto protoreflect.FileDescriptor
View Source
var File_server_message_proto protoreflect.FileDescriptor
View Source
var File_servers_file_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BaseStrings

type BaseStrings struct {
	Configstring []*ConfigString2 `protobuf:"bytes,1,rep,name=configstring,proto3" json:"configstring,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseStrings) Descriptor deprecated

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

Deprecated: Use BaseStrings.ProtoReflect.Descriptor instead.

func (*BaseStrings) GetConfigstring

func (x *BaseStrings) GetConfigstring() []*ConfigString2

func (*BaseStrings) ProtoMessage

func (*BaseStrings) ProtoMessage()

func (*BaseStrings) ProtoReflect

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

func (*BaseStrings) Reset

func (x *BaseStrings) Reset()

func (*BaseStrings) String

func (x *BaseStrings) String() string

type Block

type Block struct {
	Serverdata *ServerData `protobuf:"bytes,1,opt,name=serverdata,proto3" json:"serverdata,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetServerdata

func (x *Block) GetServerdata() *ServerData

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type CenterPrint added in v1.0.87

type CenterPrint struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CenterPrint) Descriptor deprecated added in v1.0.87

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

Deprecated: Use CenterPrint.ProtoReflect.Descriptor instead.

func (*CenterPrint) GetData added in v1.0.233

func (x *CenterPrint) GetData() string

func (*CenterPrint) ProtoMessage added in v1.0.87

func (*CenterPrint) ProtoMessage()

func (*CenterPrint) ProtoReflect added in v1.0.87

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

func (*CenterPrint) Reset added in v1.0.87

func (x *CenterPrint) Reset()

func (*CenterPrint) String added in v1.0.87

func (x *CenterPrint) String() string

type Challenge added in v1.0.233

type Challenge struct {

	// A session number included in the subsequent "connect" message
	Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// All the protocol version supported by the server
	Protocols []int32 `protobuf:"varint,2,rep,packed,name=protocols,proto3" json:"protocols,omitempty"`
	// contains filtered or unexported fields
}

A challenge represents a clients intention to connect as a player. When initiating a connection, a client will issue a "getchallege" message to the server. The server will respond with one of these messages which includes a challenge number, which is a sort of session id, and the protocol versions supported by the server. Original q2 servers only supported protocol 34, but r1q2 supports up to 35 and q2pro supports up to 36

func (*Challenge) Descriptor deprecated added in v1.0.233

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

Deprecated: Use Challenge.ProtoReflect.Descriptor instead.

func (*Challenge) GetNumber added in v1.0.233

func (x *Challenge) GetNumber() int32

func (*Challenge) GetProtocols added in v1.0.233

func (x *Challenge) GetProtocols() []int32

func (*Challenge) ProtoMessage added in v1.0.233

func (*Challenge) ProtoMessage()

func (*Challenge) ProtoReflect added in v1.0.233

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

func (*Challenge) Reset added in v1.0.233

func (x *Challenge) Reset()

func (*Challenge) String added in v1.0.233

func (x *Challenge) String() string

type ConfigString

type ConfigString struct {
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // 16 bits
	Data  string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigString) Descriptor deprecated

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

Deprecated: Use ConfigString.ProtoReflect.Descriptor instead.

func (*ConfigString) GetData added in v1.0.233

func (x *ConfigString) GetData() string

func (*ConfigString) GetIndex

func (x *ConfigString) GetIndex() uint32

func (*ConfigString) ProtoMessage

func (*ConfigString) ProtoMessage()

func (*ConfigString) ProtoReflect

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

func (*ConfigString) Reset

func (x *ConfigString) Reset()

func (*ConfigString) String

func (x *ConfigString) String() string

type ConfigString2 added in v1.0.233

type ConfigString2 struct {
	Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Str   string `protobuf:"bytes,2,opt,name=str,proto3" json:"str,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigString2) Descriptor deprecated added in v1.0.233

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

Deprecated: Use ConfigString2.ProtoReflect.Descriptor instead.

func (*ConfigString2) GetIndex added in v1.0.233

func (x *ConfigString2) GetIndex() uint64

func (*ConfigString2) GetStr added in v1.0.233

func (x *ConfigString2) GetStr() string

func (*ConfigString2) ProtoMessage added in v1.0.233

func (*ConfigString2) ProtoMessage()

func (*ConfigString2) ProtoReflect added in v1.0.233

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

func (*ConfigString2) Reset added in v1.0.233

func (x *ConfigString2) Reset()

func (*ConfigString2) String added in v1.0.233

func (x *ConfigString2) String() string

type DM2Demo added in v1.0.233

type DM2Demo struct {
	Serverinfo    *ServerInfo             `protobuf:"bytes,1,opt,name=serverinfo,proto3" json:"serverinfo,omitempty"`
	Baselines     map[int32]*PackedEntity ``                                                                                                   /* 160-byte string literal not displayed */
	Configstrings map[int32]*ConfigString ``                                                                                                   /* 168-byte string literal not displayed */
	Frames        map[int32]*Frame        ``                                                                                                   /* 154-byte string literal not displayed */
	CurrentFrame  int32                   `protobuf:"varint,6,opt,name=current_frame,json=currentFrame,proto3" json:"current_frame,omitempty"` // index to the frames map
	// contains filtered or unexported fields
}

func (*DM2Demo) Descriptor deprecated added in v1.0.233

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

Deprecated: Use DM2Demo.ProtoReflect.Descriptor instead.

func (*DM2Demo) GetBaselines added in v1.0.233

func (x *DM2Demo) GetBaselines() map[int32]*PackedEntity

func (*DM2Demo) GetConfigstrings added in v1.0.233

func (x *DM2Demo) GetConfigstrings() map[int32]*ConfigString

func (*DM2Demo) GetCurrentFrame added in v1.0.233

func (x *DM2Demo) GetCurrentFrame() int32

func (*DM2Demo) GetFrames added in v1.0.233

func (x *DM2Demo) GetFrames() map[int32]*Frame

func (*DM2Demo) GetServerinfo added in v1.0.233

func (x *DM2Demo) GetServerinfo() *ServerInfo

func (*DM2Demo) ProtoMessage added in v1.0.233

func (*DM2Demo) ProtoMessage()

func (*DM2Demo) ProtoReflect added in v1.0.233

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

func (*DM2Demo) Reset added in v1.0.233

func (x *DM2Demo) Reset()

func (*DM2Demo) String added in v1.0.233

func (x *DM2Demo) String() string

type Frame added in v1.0.87

type Frame struct {
	Number            int32                   `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`                            // signed
	Delta             int32                   `protobuf:"varint,2,opt,name=delta,proto3" json:"delta,omitempty"`                              // signed
	Suppressed        uint32                  `protobuf:"varint,3,opt,name=suppressed,proto3" json:"suppressed,omitempty"`                    // 8 bits
	AreaBytes         uint32                  `protobuf:"varint,4,opt,name=area_bytes,json=areaBytes,proto3" json:"area_bytes,omitempty"`     // 8 bits
	AreaBits          []uint32                `protobuf:"varint,5,rep,packed,name=area_bits,json=areaBits,proto3" json:"area_bits,omitempty"` // byte
	PlayerState       *PackedPlayer           `protobuf:"bytes,6,opt,name=player_state,json=playerState,proto3" json:"player_state,omitempty"`
	Entities          map[int32]*PackedEntity `` /* 158-byte string literal not displayed */
	Configstrings     map[int32]*ConfigString `` /* 168-byte string literal not displayed */
	Centerprints      []*CenterPrint          `protobuf:"bytes,9,rep,name=centerprints,proto3" json:"centerprints,omitempty"`
	Stufftexts        []*StuffText            `protobuf:"bytes,10,rep,name=stufftexts,proto3" json:"stufftexts,omitempty"`
	Prints            []*Print                `protobuf:"bytes,11,rep,name=prints,proto3" json:"prints,omitempty"`
	Sounds            []*PackedSound          `protobuf:"bytes,12,rep,name=sounds,proto3" json:"sounds,omitempty"`
	TemporaryEntities []*TemporaryEntity      `protobuf:"bytes,13,rep,name=temporary_entities,json=temporaryEntities,proto3" json:"temporary_entities,omitempty"`
	Flashes1          []*MuzzleFlash          `protobuf:"bytes,14,rep,name=flashes1,proto3" json:"flashes1,omitempty"`
	Flashes2          []*MuzzleFlash          `protobuf:"bytes,15,rep,name=flashes2,proto3" json:"flashes2,omitempty"`
	Layouts           []*Layout               `protobuf:"bytes,16,rep,name=layouts,proto3" json:"layouts,omitempty"`
	// contains filtered or unexported fields
}

func (*Frame) Descriptor deprecated added in v1.0.87

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

Deprecated: Use Frame.ProtoReflect.Descriptor instead.

func (*Frame) GetAreaBits added in v1.0.87

func (x *Frame) GetAreaBits() []uint32

func (*Frame) GetAreaBytes added in v1.0.87

func (x *Frame) GetAreaBytes() uint32

func (*Frame) GetCenterprints added in v1.0.87

func (x *Frame) GetCenterprints() []*CenterPrint

func (*Frame) GetConfigstrings added in v1.0.87

func (x *Frame) GetConfigstrings() map[int32]*ConfigString

func (*Frame) GetDelta added in v1.0.87

func (x *Frame) GetDelta() int32

func (*Frame) GetEntities added in v1.0.87

func (x *Frame) GetEntities() map[int32]*PackedEntity

func (*Frame) GetFlashes1 added in v1.0.87

func (x *Frame) GetFlashes1() []*MuzzleFlash

func (*Frame) GetFlashes2 added in v1.0.87

func (x *Frame) GetFlashes2() []*MuzzleFlash

func (*Frame) GetLayouts added in v1.0.87

func (x *Frame) GetLayouts() []*Layout

func (*Frame) GetNumber added in v1.0.87

func (x *Frame) GetNumber() int32

func (*Frame) GetPlayerState added in v1.0.87

func (x *Frame) GetPlayerState() *PackedPlayer

func (*Frame) GetPrints added in v1.0.87

func (x *Frame) GetPrints() []*Print

func (*Frame) GetSounds added in v1.0.87

func (x *Frame) GetSounds() []*PackedSound

func (*Frame) GetStufftexts added in v1.0.87

func (x *Frame) GetStufftexts() []*StuffText

func (*Frame) GetSuppressed added in v1.0.87

func (x *Frame) GetSuppressed() uint32

func (*Frame) GetTemporaryEntities added in v1.0.87

func (x *Frame) GetTemporaryEntities() []*TemporaryEntity

func (*Frame) ProtoMessage added in v1.0.87

func (*Frame) ProtoMessage()

func (*Frame) ProtoReflect added in v1.0.87

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

func (*Frame) Reset added in v1.0.87

func (x *Frame) Reset()

func (*Frame) String added in v1.0.87

func (x *Frame) String() string

type Layout added in v1.0.87

type Layout struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Layout) Descriptor deprecated added in v1.0.87

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

Deprecated: Use Layout.ProtoReflect.Descriptor instead.

func (*Layout) GetData added in v1.0.233

func (x *Layout) GetData() string

func (*Layout) ProtoMessage added in v1.0.87

func (*Layout) ProtoMessage()

func (*Layout) ProtoReflect added in v1.0.87

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

func (*Layout) Reset added in v1.0.87

func (x *Layout) Reset()

func (*Layout) String added in v1.0.87

func (x *Layout) String() string

type MVDTextDemo

type MVDTextDemo struct {
	Block []*Block `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*MVDTextDemo) Descriptor deprecated

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

Deprecated: Use MVDTextDemo.ProtoReflect.Descriptor instead.

func (*MVDTextDemo) GetBlock

func (x *MVDTextDemo) GetBlock() []*Block

func (*MVDTextDemo) ProtoMessage

func (*MVDTextDemo) ProtoMessage()

func (*MVDTextDemo) ProtoReflect

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

func (*MVDTextDemo) Reset

func (x *MVDTextDemo) Reset()

func (*MVDTextDemo) String

func (x *MVDTextDemo) String() string

type Multicast added in v1.0.87

type Multicast struct {
	Type     int32  `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Reliable bool   `protobuf:"varint,2,opt,name=reliable,proto3" json:"reliable,omitempty"`
	Leafnum  int32  `protobuf:"varint,3,opt,name=leafnum,proto3" json:"leafnum,omitempty"`
	Data     string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Multicast) Descriptor deprecated added in v1.0.87

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

Deprecated: Use Multicast.ProtoReflect.Descriptor instead.

func (*Multicast) GetData added in v1.0.87

func (x *Multicast) GetData() string

func (*Multicast) GetLeafnum added in v1.0.87

func (x *Multicast) GetLeafnum() int32

func (*Multicast) GetReliable added in v1.0.87

func (x *Multicast) GetReliable() bool

func (*Multicast) GetType added in v1.0.87

func (x *Multicast) GetType() int32

func (*Multicast) ProtoMessage added in v1.0.87

func (*Multicast) ProtoMessage()

func (*Multicast) ProtoReflect added in v1.0.87

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

func (*Multicast) Reset added in v1.0.87

func (x *Multicast) Reset()

func (*Multicast) String added in v1.0.87

func (x *Multicast) String() string

type MuzzleFlash added in v1.0.87

type MuzzleFlash struct {
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"` // 16 bits
	Weapon uint32 `protobuf:"varint,2,opt,name=weapon,proto3" json:"weapon,omitempty"` // 8 bits
	// contains filtered or unexported fields
}

func (*MuzzleFlash) Descriptor deprecated added in v1.0.87

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

Deprecated: Use MuzzleFlash.ProtoReflect.Descriptor instead.

func (*MuzzleFlash) GetEntity added in v1.0.87

func (x *MuzzleFlash) GetEntity() uint32

func (*MuzzleFlash) GetWeapon added in v1.0.87

func (x *MuzzleFlash) GetWeapon() uint32

func (*MuzzleFlash) ProtoMessage added in v1.0.87

func (*MuzzleFlash) ProtoMessage()

func (*MuzzleFlash) ProtoReflect added in v1.0.87

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

func (*MuzzleFlash) Reset added in v1.0.87

func (x *MuzzleFlash) Reset()

func (*MuzzleFlash) String added in v1.0.87

func (x *MuzzleFlash) String() string

type MvdConfigStringRemap added in v1.0.262

type MvdConfigStringRemap struct {
	Extended    bool  `protobuf:"varint,1,opt,name=extended,proto3" json:"extended,omitempty"`
	MaxEdicts   int32 `protobuf:"varint,2,opt,name=max_edicts,json=maxEdicts,proto3" json:"max_edicts,omitempty"`
	MaxModels   int32 `protobuf:"varint,3,opt,name=max_models,json=maxModels,proto3" json:"max_models,omitempty"`
	MaxSounds   int32 `protobuf:"varint,4,opt,name=max_sounds,json=maxSounds,proto3" json:"max_sounds,omitempty"`
	MaxImages   int32 `protobuf:"varint,5,opt,name=max_images,json=maxImages,proto3" json:"max_images,omitempty"`
	AirAccel    int32 `protobuf:"varint,6,opt,name=air_accel,json=airAccel,proto3" json:"air_accel,omitempty"`
	MaxClients  int32 `protobuf:"varint,7,opt,name=max_clients,json=maxClients,proto3" json:"max_clients,omitempty"`
	MapChecksum int32 `protobuf:"varint,8,opt,name=map_checksum,json=mapChecksum,proto3" json:"map_checksum,omitempty"`
	Models      int32 `protobuf:"varint,9,opt,name=models,proto3" json:"models,omitempty"`
	Sounds      int32 `protobuf:"varint,10,opt,name=sounds,proto3" json:"sounds,omitempty"`
	Images      int32 `protobuf:"varint,11,opt,name=images,proto3" json:"images,omitempty"`
	Lights      int32 `protobuf:"varint,12,opt,name=lights,proto3" json:"lights,omitempty"`
	Items       int32 `protobuf:"varint,13,opt,name=items,proto3" json:"items,omitempty"`
	PlayerSkins int32 `protobuf:"varint,14,opt,name=player_skins,json=playerSkins,proto3" json:"player_skins,omitempty"`
	General     int32 `protobuf:"varint,15,opt,name=general,proto3" json:"general,omitempty"`
	End         int32 `protobuf:"varint,16,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

Different max limits and cs offsets depending on protocol version.

func (*MvdConfigStringRemap) Descriptor deprecated added in v1.0.262

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

Deprecated: Use MvdConfigStringRemap.ProtoReflect.Descriptor instead.

func (*MvdConfigStringRemap) GetAirAccel added in v1.0.262

func (x *MvdConfigStringRemap) GetAirAccel() int32

func (*MvdConfigStringRemap) GetEnd added in v1.0.262

func (x *MvdConfigStringRemap) GetEnd() int32

func (*MvdConfigStringRemap) GetExtended added in v1.0.262

func (x *MvdConfigStringRemap) GetExtended() bool

func (*MvdConfigStringRemap) GetGeneral added in v1.0.262

func (x *MvdConfigStringRemap) GetGeneral() int32

func (*MvdConfigStringRemap) GetImages added in v1.0.262

func (x *MvdConfigStringRemap) GetImages() int32

func (*MvdConfigStringRemap) GetItems added in v1.0.262

func (x *MvdConfigStringRemap) GetItems() int32

func (*MvdConfigStringRemap) GetLights added in v1.0.262

func (x *MvdConfigStringRemap) GetLights() int32

func (*MvdConfigStringRemap) GetMapChecksum added in v1.0.262

func (x *MvdConfigStringRemap) GetMapChecksum() int32

func (*MvdConfigStringRemap) GetMaxClients added in v1.0.262

func (x *MvdConfigStringRemap) GetMaxClients() int32

func (*MvdConfigStringRemap) GetMaxEdicts added in v1.0.262

func (x *MvdConfigStringRemap) GetMaxEdicts() int32

func (*MvdConfigStringRemap) GetMaxImages added in v1.0.262

func (x *MvdConfigStringRemap) GetMaxImages() int32

func (*MvdConfigStringRemap) GetMaxModels added in v1.0.262

func (x *MvdConfigStringRemap) GetMaxModels() int32

func (*MvdConfigStringRemap) GetMaxSounds added in v1.0.262

func (x *MvdConfigStringRemap) GetMaxSounds() int32

func (*MvdConfigStringRemap) GetModels added in v1.0.262

func (x *MvdConfigStringRemap) GetModels() int32

func (*MvdConfigStringRemap) GetPlayerSkins added in v1.0.262

func (x *MvdConfigStringRemap) GetPlayerSkins() int32

func (*MvdConfigStringRemap) GetSounds added in v1.0.262

func (x *MvdConfigStringRemap) GetSounds() int32

func (*MvdConfigStringRemap) ProtoMessage added in v1.0.262

func (*MvdConfigStringRemap) ProtoMessage()

func (*MvdConfigStringRemap) ProtoReflect added in v1.0.262

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

func (*MvdConfigStringRemap) Reset added in v1.0.262

func (x *MvdConfigStringRemap) Reset()

func (*MvdConfigStringRemap) String added in v1.0.262

func (x *MvdConfigStringRemap) String() string

type MvdDemo added in v1.0.262

type MvdDemo struct {
	Version          int32                    `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`                         // minor version, 2010 is current
	Identity         int32                    `protobuf:"varint,2,opt,name=identity,proto3" json:"identity,omitempty"`                       // unique number
	GameDir          string                   `protobuf:"bytes,3,opt,name=game_dir,json=gameDir,proto3" json:"game_dir,omitempty"`           // "opentdm", "baseq2", etc
	Dummy            int32                    `protobuf:"varint,4,opt,name=dummy,proto3" json:"dummy,omitempty"`                             // player number of observer dummy
	MaxPlayers       int32                    `protobuf:"varint,5,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"` // server cvar
	Map              string                   `protobuf:"bytes,6,opt,name=map,proto3" json:"map,omitempty"`                                  // the current map
	Flags            int32                    `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"`
	EntityStateFlags int32                    `protobuf:"varint,8,opt,name=entity_state_flags,json=entityStateFlags,proto3" json:"entity_state_flags,omitempty"`
	PlayerStateFlags int32                    `protobuf:"varint,9,opt,name=player_state_flags,json=playerStateFlags,proto3" json:"player_state_flags,omitempty"`
	Remap            *MvdConfigStringRemap    `protobuf:"bytes,10,opt,name=remap,proto3" json:"remap,omitempty"` // cs numbers, flags depenedant
	Extension        *MvdEntityStateExtension `protobuf:"bytes,11,opt,name=extension,proto3" json:"extension,omitempty"`
	Configstrings    map[int32]*ConfigString  `` /* 169-byte string literal not displayed */
	Players          map[int32]*MvdPlayer     `` /* 157-byte string literal not displayed */
	Entities         map[int32]*PackedEntity  `` /* 159-byte string literal not displayed */
	Packets          []*MvdPacket             `protobuf:"bytes,15,rep,name=packets,proto3" json:"packets,omitempty"`
	// contains filtered or unexported fields
}

All the messages that make up a complete multi-view demo. A .mvd2 file can contain more than one MvdDemo. Each map is technically considered a separate demo even though they're all contained in the same file.

func (*MvdDemo) Descriptor deprecated added in v1.0.262

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

Deprecated: Use MvdDemo.ProtoReflect.Descriptor instead.

func (*MvdDemo) GetConfigstrings added in v1.0.262

func (x *MvdDemo) GetConfigstrings() map[int32]*ConfigString

func (*MvdDemo) GetDummy added in v1.0.262

func (x *MvdDemo) GetDummy() int32

func (*MvdDemo) GetEntities added in v1.0.262

func (x *MvdDemo) GetEntities() map[int32]*PackedEntity

func (*MvdDemo) GetEntityStateFlags added in v1.0.262

func (x *MvdDemo) GetEntityStateFlags() int32

func (*MvdDemo) GetExtension added in v1.0.262

func (x *MvdDemo) GetExtension() *MvdEntityStateExtension

func (*MvdDemo) GetFlags added in v1.0.262

func (x *MvdDemo) GetFlags() int32

func (*MvdDemo) GetGameDir added in v1.0.262

func (x *MvdDemo) GetGameDir() string

func (*MvdDemo) GetIdentity added in v1.0.262

func (x *MvdDemo) GetIdentity() int32

func (*MvdDemo) GetMap added in v1.0.274

func (x *MvdDemo) GetMap() string

func (*MvdDemo) GetMaxPlayers added in v1.0.262

func (x *MvdDemo) GetMaxPlayers() int32

func (*MvdDemo) GetPackets added in v1.0.262

func (x *MvdDemo) GetPackets() []*MvdPacket

func (*MvdDemo) GetPlayerStateFlags added in v1.0.262

func (x *MvdDemo) GetPlayerStateFlags() int32

func (*MvdDemo) GetPlayers added in v1.0.262

func (x *MvdDemo) GetPlayers() map[int32]*MvdPlayer

func (*MvdDemo) GetRemap added in v1.0.262

func (x *MvdDemo) GetRemap() *MvdConfigStringRemap

func (*MvdDemo) GetVersion added in v1.0.262

func (x *MvdDemo) GetVersion() int32

func (*MvdDemo) ProtoMessage added in v1.0.262

func (*MvdDemo) ProtoMessage()

func (*MvdDemo) ProtoReflect added in v1.0.262

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

func (*MvdDemo) Reset added in v1.0.262

func (x *MvdDemo) Reset()

func (*MvdDemo) String added in v1.0.262

func (x *MvdDemo) String() string

type MvdEntityStateExtension added in v1.0.262

type MvdEntityStateExtension struct {
	MoreFx          int32 `protobuf:"varint,1,opt,name=more_fx,json=moreFx,proto3" json:"more_fx,omitempty"`
	Alpha           int32 `protobuf:"varint,2,opt,name=alpha,proto3" json:"alpha,omitempty"`
	Scale           int32 `protobuf:"varint,3,opt,name=scale,proto3" json:"scale,omitempty"`
	LoopVolume      int32 `protobuf:"varint,4,opt,name=loop_volume,json=loopVolume,proto3" json:"loop_volume,omitempty"`
	LoopAttenuation int32 `protobuf:"varint,5,opt,name=loop_attenuation,json=loopAttenuation,proto3" json:"loop_attenuation,omitempty"`
	// contains filtered or unexported fields
}

func (*MvdEntityStateExtension) Descriptor deprecated added in v1.0.262

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

Deprecated: Use MvdEntityStateExtension.ProtoReflect.Descriptor instead.

func (*MvdEntityStateExtension) GetAlpha added in v1.0.262

func (x *MvdEntityStateExtension) GetAlpha() int32

func (*MvdEntityStateExtension) GetLoopAttenuation added in v1.0.262

func (x *MvdEntityStateExtension) GetLoopAttenuation() int32

func (*MvdEntityStateExtension) GetLoopVolume added in v1.0.262

func (x *MvdEntityStateExtension) GetLoopVolume() int32

func (*MvdEntityStateExtension) GetMoreFx added in v1.0.262

func (x *MvdEntityStateExtension) GetMoreFx() int32

func (*MvdEntityStateExtension) GetScale added in v1.0.262

func (x *MvdEntityStateExtension) GetScale() int32

func (*MvdEntityStateExtension) ProtoMessage added in v1.0.262

func (*MvdEntityStateExtension) ProtoMessage()

func (*MvdEntityStateExtension) ProtoReflect added in v1.0.262

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

func (*MvdEntityStateExtension) Reset added in v1.0.262

func (x *MvdEntityStateExtension) Reset()

func (*MvdEntityStateExtension) String added in v1.0.262

func (x *MvdEntityStateExtension) String() string

type MvdFrame added in v1.0.262

type MvdFrame struct {

	//int32 portal_bits = 1;  // remove later this is len(portal_data)
	PortalData []byte                  `protobuf:"bytes,2,opt,name=portal_data,json=portalData,proto3" json:"portal_data,omitempty"`
	Players    map[int32]*PackedPlayer `` // players introduced this frame
	/* 156-byte string literal not displayed */
	Entities map[int32]*PackedEntity `` // ents seen this frame
	/* 158-byte string literal not displayed */
	Sounds []*PackedSound `protobuf:"bytes,5,rep,name=sounds,proto3" json:"sounds,omitempty"`
	// contains filtered or unexported fields
}

func (*MvdFrame) Descriptor deprecated added in v1.0.262

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

Deprecated: Use MvdFrame.ProtoReflect.Descriptor instead.

func (*MvdFrame) GetEntities added in v1.0.262

func (x *MvdFrame) GetEntities() map[int32]*PackedEntity

func (*MvdFrame) GetPlayers added in v1.0.262

func (x *MvdFrame) GetPlayers() map[int32]*PackedPlayer

func (*MvdFrame) GetPortalData added in v1.0.262

func (x *MvdFrame) GetPortalData() []byte

func (*MvdFrame) GetSounds added in v1.0.262

func (x *MvdFrame) GetSounds() []*PackedSound

func (*MvdFrame) ProtoMessage added in v1.0.262

func (*MvdFrame) ProtoMessage()

func (*MvdFrame) ProtoReflect added in v1.0.262

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

func (*MvdFrame) Reset added in v1.0.262

func (x *MvdFrame) Reset()

func (*MvdFrame) String added in v1.0.262

func (x *MvdFrame) String() string

type MvdMulticast added in v1.0.262

type MvdMulticast struct {
	Type int32  `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // byte
	Leaf int32  `protobuf:"varint,2,opt,name=leaf,proto3" json:"leaf,omitempty"` // word
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*MvdMulticast) Descriptor deprecated added in v1.0.262

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

Deprecated: Use MvdMulticast.ProtoReflect.Descriptor instead.

func (*MvdMulticast) GetData added in v1.0.262

func (x *MvdMulticast) GetData() []byte

func (*MvdMulticast) GetLeaf added in v1.0.262

func (x *MvdMulticast) GetLeaf() int32

func (*MvdMulticast) GetType added in v1.0.262

func (x *MvdMulticast) GetType() int32

func (*MvdMulticast) ProtoMessage added in v1.0.262

func (*MvdMulticast) ProtoMessage()

func (*MvdMulticast) ProtoReflect added in v1.0.262

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

func (*MvdMulticast) Reset added in v1.0.262

func (x *MvdMulticast) Reset()

func (*MvdMulticast) String added in v1.0.262

func (x *MvdMulticast) String() string

type MvdPacket added in v1.0.262

type MvdPacket struct {
	Serverdata    *MvdServerData          `protobuf:"bytes,8,opt,name=serverdata,proto3" json:"serverdata,omitempty"` // one per demo
	Sounds        []*PackedSound          `protobuf:"bytes,1,rep,name=sounds,proto3" json:"sounds,omitempty"`
	Prints        []*Print                `protobuf:"bytes,2,rep,name=prints,proto3" json:"prints,omitempty"`
	Unicasts      []*MvdUnicast           `protobuf:"bytes,3,rep,name=unicasts,proto3" json:"unicasts,omitempty"`
	Multicasts    []*MvdMulticast         `protobuf:"bytes,4,rep,name=multicasts,proto3" json:"multicasts,omitempty"`
	Frames        []*MvdFrame             `protobuf:"bytes,5,rep,name=frames,proto3" json:"frames,omitempty"`
	Configstrings map[int32]*ConfigString `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MvdPacket) Descriptor deprecated added in v1.0.262

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

Deprecated: Use MvdPacket.ProtoReflect.Descriptor instead.

func (*MvdPacket) GetConfigstrings added in v1.0.262

func (x *MvdPacket) GetConfigstrings() map[int32]*ConfigString

func (*MvdPacket) GetFrames added in v1.0.262

func (x *MvdPacket) GetFrames() []*MvdFrame

func (*MvdPacket) GetMulticasts added in v1.0.262

func (x *MvdPacket) GetMulticasts() []*MvdMulticast

func (*MvdPacket) GetPrints added in v1.0.262

func (x *MvdPacket) GetPrints() []*Print

func (*MvdPacket) GetServerdata added in v1.0.274

func (x *MvdPacket) GetServerdata() *MvdServerData

func (*MvdPacket) GetSounds added in v1.0.262

func (x *MvdPacket) GetSounds() []*PackedSound

func (*MvdPacket) GetUnicasts added in v1.0.262

func (x *MvdPacket) GetUnicasts() []*MvdUnicast

func (*MvdPacket) ProtoMessage added in v1.0.262

func (*MvdPacket) ProtoMessage()

func (*MvdPacket) ProtoReflect added in v1.0.262

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

func (*MvdPacket) Reset added in v1.0.262

func (x *MvdPacket) Reset()

func (*MvdPacket) String added in v1.0.262

func (x *MvdPacket) String() string

type MvdPlayer added in v1.0.262

type MvdPlayer struct {
	InUse       bool          `protobuf:"varint,1,opt,name=in_use,json=inUse,proto3" json:"in_use,omitempty"`
	Name        string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	PlayerState *PackedPlayer `protobuf:"bytes,3,opt,name=player_state,json=playerState,proto3" json:"player_state,omitempty"`
	// contains filtered or unexported fields
}

func (*MvdPlayer) Descriptor deprecated added in v1.0.262

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

Deprecated: Use MvdPlayer.ProtoReflect.Descriptor instead.

func (*MvdPlayer) GetInUse added in v1.0.262

func (x *MvdPlayer) GetInUse() bool

func (*MvdPlayer) GetName added in v1.0.262

func (x *MvdPlayer) GetName() string

func (*MvdPlayer) GetPlayerState added in v1.0.262

func (x *MvdPlayer) GetPlayerState() *PackedPlayer

func (*MvdPlayer) ProtoMessage added in v1.0.262

func (*MvdPlayer) ProtoMessage()

func (*MvdPlayer) ProtoReflect added in v1.0.262

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

func (*MvdPlayer) Reset added in v1.0.262

func (x *MvdPlayer) Reset()

func (*MvdPlayer) String added in v1.0.262

func (x *MvdPlayer) String() string

type MvdServerData added in v1.0.274

type MvdServerData struct {
	Protocol         int32                 `protobuf:"varint,1,opt,name=protocol,proto3" json:"protocol,omitempty"` // minor version
	Flags            int32                 `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"`
	Identity         int32                 `protobuf:"varint,3,opt,name=identity,proto3" json:"identity,omitempty"` // random identifier
	GameDirectory    string                `protobuf:"bytes,4,opt,name=game_directory,json=gameDirectory,proto3" json:"game_directory,omitempty"`
	DummyClient      int32                 `protobuf:"varint,5,opt,name=dummy_client,json=dummyClient,proto3" json:"dummy_client,omitempty"`
	EntitystateFlags int32                 `protobuf:"varint,6,opt,name=entitystate_flags,json=entitystateFlags,proto3" json:"entitystate_flags,omitempty"`
	PlayerstateFlags int32                 `protobuf:"varint,7,opt,name=playerstate_flags,json=playerstateFlags,proto3" json:"playerstate_flags,omitempty"`
	Remap            *MvdConfigStringRemap `protobuf:"bytes,8,opt,name=remap,proto3" json:"remap,omitempty"`
	// contains filtered or unexported fields
}

func (*MvdServerData) Descriptor deprecated added in v1.0.274

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

Deprecated: Use MvdServerData.ProtoReflect.Descriptor instead.

func (*MvdServerData) GetDummyClient added in v1.0.274

func (x *MvdServerData) GetDummyClient() int32

func (*MvdServerData) GetEntitystateFlags added in v1.0.274

func (x *MvdServerData) GetEntitystateFlags() int32

func (*MvdServerData) GetFlags added in v1.0.274

func (x *MvdServerData) GetFlags() int32

func (*MvdServerData) GetGameDirectory added in v1.0.274

func (x *MvdServerData) GetGameDirectory() string

func (*MvdServerData) GetIdentity added in v1.0.274

func (x *MvdServerData) GetIdentity() int32

func (*MvdServerData) GetPlayerstateFlags added in v1.0.274

func (x *MvdServerData) GetPlayerstateFlags() int32

func (*MvdServerData) GetProtocol added in v1.0.274

func (x *MvdServerData) GetProtocol() int32

func (*MvdServerData) GetRemap added in v1.0.274

func (x *MvdServerData) GetRemap() *MvdConfigStringRemap

func (*MvdServerData) ProtoMessage added in v1.0.274

func (*MvdServerData) ProtoMessage()

func (*MvdServerData) ProtoReflect added in v1.0.274

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

func (*MvdServerData) Reset added in v1.0.274

func (x *MvdServerData) Reset()

func (*MvdServerData) String added in v1.0.274

func (x *MvdServerData) String() string

type MvdUnicast added in v1.0.262

type MvdUnicast struct {
	ClientNumber  int32           `protobuf:"varint,1,opt,name=client_number,json=clientNumber,proto3" json:"client_number,omitempty"` // player index
	Player        *MvdPlayer      `protobuf:"bytes,2,opt,name=player,proto3" json:"player,omitempty"`
	Layouts       []*Layout       `protobuf:"bytes,3,rep,name=layouts,proto3" json:"layouts,omitempty"`
	Configstrings []*ConfigString `protobuf:"bytes,4,rep,name=configstrings,proto3" json:"configstrings,omitempty"`
	Prints        []*Print        `protobuf:"bytes,5,rep,name=prints,proto3" json:"prints,omitempty"`
	Stuffs        []*StuffText    `protobuf:"bytes,6,rep,name=stuffs,proto3" json:"stuffs,omitempty"`
	// contains filtered or unexported fields
}

func (*MvdUnicast) Descriptor deprecated added in v1.0.262

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

Deprecated: Use MvdUnicast.ProtoReflect.Descriptor instead.

func (*MvdUnicast) GetClientNumber added in v1.0.262

func (x *MvdUnicast) GetClientNumber() int32

func (*MvdUnicast) GetConfigstrings added in v1.0.262

func (x *MvdUnicast) GetConfigstrings() []*ConfigString

func (*MvdUnicast) GetLayouts added in v1.0.262

func (x *MvdUnicast) GetLayouts() []*Layout

func (*MvdUnicast) GetPlayer added in v1.0.262

func (x *MvdUnicast) GetPlayer() *MvdPlayer

func (*MvdUnicast) GetPrints added in v1.0.262

func (x *MvdUnicast) GetPrints() []*Print

func (*MvdUnicast) GetStuffs added in v1.0.262

func (x *MvdUnicast) GetStuffs() []*StuffText

func (*MvdUnicast) ProtoMessage added in v1.0.262

func (*MvdUnicast) ProtoMessage()

func (*MvdUnicast) ProtoReflect added in v1.0.262

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

func (*MvdUnicast) Reset added in v1.0.262

func (x *MvdUnicast) Reset()

func (*MvdUnicast) String added in v1.0.262

func (x *MvdUnicast) String() string

type PAKArchive added in v1.0.233

type PAKArchive struct {

	// The name of the particular pak file (including extension) ex: pak0.pak
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Just a description of what this archive is for
	Description []string `protobuf:"bytes,2,rep,name=description,proto3" json:"description,omitempty"`
	// All the files in the archive
	Files []*PAKFile `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

Represents a .pak file that contains other files

func (*PAKArchive) Descriptor deprecated added in v1.0.233

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

Deprecated: Use PAKArchive.ProtoReflect.Descriptor instead.

func (*PAKArchive) GetDescription added in v1.0.233

func (x *PAKArchive) GetDescription() []string

func (*PAKArchive) GetFiles added in v1.0.233

func (x *PAKArchive) GetFiles() []*PAKFile

func (*PAKArchive) GetName added in v1.0.233

func (x *PAKArchive) GetName() string

func (*PAKArchive) ProtoMessage added in v1.0.233

func (*PAKArchive) ProtoMessage()

func (*PAKArchive) ProtoReflect added in v1.0.233

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

func (*PAKArchive) Reset added in v1.0.233

func (x *PAKArchive) Reset()

func (*PAKArchive) String added in v1.0.233

func (x *PAKArchive) String() string

type PAKFile added in v1.0.233

type PAKFile struct {

	// the name of the file in the archive. Ex: fart2.wav
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the actual binary data
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// byte offset where the data resides in the current pak file
	Location int32 `protobuf:"varint,3,opt,name=location,proto3" json:"location,omitempty"`
	// how many bytes the file is
	Length int32 `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

An individual file contained within a PAK archive

func (*PAKFile) Descriptor deprecated added in v1.0.233

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

Deprecated: Use PAKFile.ProtoReflect.Descriptor instead.

func (*PAKFile) GetData added in v1.0.233

func (x *PAKFile) GetData() []byte

func (*PAKFile) GetLength added in v1.0.279

func (x *PAKFile) GetLength() int32

func (*PAKFile) GetLocation added in v1.0.278

func (x *PAKFile) GetLocation() int32

func (*PAKFile) GetName added in v1.0.233

func (x *PAKFile) GetName() string

func (*PAKFile) ProtoMessage added in v1.0.233

func (*PAKFile) ProtoMessage()

func (*PAKFile) ProtoReflect added in v1.0.233

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

func (*PAKFile) Reset added in v1.0.233

func (x *PAKFile) Reset()

func (*PAKFile) String added in v1.0.233

func (x *PAKFile) String() string

type PackedEntity added in v1.0.87

type PackedEntity struct {
	Number      uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`                  // 32 bits
	OriginX     int32  `protobuf:"varint,2,opt,name=origin_x,json=originX,proto3" json:"origin_x,omitempty"` // 16 bits
	OriginY     int32  `protobuf:"varint,3,opt,name=origin_y,json=originY,proto3" json:"origin_y,omitempty"` // 16 bits
	OriginZ     int32  `protobuf:"varint,4,opt,name=origin_z,json=originZ,proto3" json:"origin_z,omitempty"` // 16 bits
	AngleX      int32  `protobuf:"varint,5,opt,name=angle_x,json=angleX,proto3" json:"angle_x,omitempty"`
	AngleY      int32  `protobuf:"varint,6,opt,name=angle_y,json=angleY,proto3" json:"angle_y,omitempty"`
	AngleZ      int32  `protobuf:"varint,7,opt,name=angle_z,json=angleZ,proto3" json:"angle_z,omitempty"`
	OldOriginX  int32  `protobuf:"varint,8,opt,name=old_origin_x,json=oldOriginX,proto3" json:"old_origin_x,omitempty"`
	OldOriginY  int32  `protobuf:"varint,9,opt,name=old_origin_y,json=oldOriginY,proto3" json:"old_origin_y,omitempty"`
	OldOriginZ  int32  `protobuf:"varint,10,opt,name=old_origin_z,json=oldOriginZ,proto3" json:"old_origin_z,omitempty"`
	ModelIndex  uint32 `protobuf:"varint,11,opt,name=model_index,json=modelIndex,proto3" json:"model_index,omitempty"` // 8 bits
	ModelIndex2 uint32 `protobuf:"varint,12,opt,name=model_index2,json=modelIndex2,proto3" json:"model_index2,omitempty"`
	ModelIndex3 uint32 `protobuf:"varint,13,opt,name=model_index3,json=modelIndex3,proto3" json:"model_index3,omitempty"`
	ModelIndex4 uint32 `protobuf:"varint,14,opt,name=model_index4,json=modelIndex4,proto3" json:"model_index4,omitempty"`
	Skin        uint32 `protobuf:"varint,15,opt,name=skin,proto3" json:"skin,omitempty"`
	Effects     uint32 `protobuf:"varint,16,opt,name=effects,proto3" json:"effects,omitempty"`
	RenderFx    uint32 `protobuf:"varint,17,opt,name=render_fx,json=renderFx,proto3" json:"render_fx,omitempty"`
	Solid       uint32 `protobuf:"varint,18,opt,name=solid,proto3" json:"solid,omitempty"`
	Frame       uint32 `protobuf:"varint,19,opt,name=frame,proto3" json:"frame,omitempty"`   // 16 bits
	Sound       uint32 `protobuf:"varint,20,opt,name=sound,proto3" json:"sound,omitempty"`   // 8 bits
	Event       uint32 `protobuf:"varint,21,opt,name=event,proto3" json:"event,omitempty"`   // 8 bits
	Remove      bool   `protobuf:"varint,22,opt,name=remove,proto3" json:"remove,omitempty"` // this ent should be removed after frame
	// contains filtered or unexported fields
}

an edict_t packed up and ready for xfer

func (*PackedEntity) Descriptor deprecated added in v1.0.87

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

Deprecated: Use PackedEntity.ProtoReflect.Descriptor instead.

func (*PackedEntity) GetAngleX added in v1.0.87

func (x *PackedEntity) GetAngleX() int32

func (*PackedEntity) GetAngleY added in v1.0.87

func (x *PackedEntity) GetAngleY() int32

func (*PackedEntity) GetAngleZ added in v1.0.87

func (x *PackedEntity) GetAngleZ() int32

func (*PackedEntity) GetEffects added in v1.0.87

func (x *PackedEntity) GetEffects() uint32

func (*PackedEntity) GetEvent added in v1.0.87

func (x *PackedEntity) GetEvent() uint32

func (*PackedEntity) GetFrame added in v1.0.87

func (x *PackedEntity) GetFrame() uint32

func (*PackedEntity) GetModelIndex added in v1.0.87

func (x *PackedEntity) GetModelIndex() uint32

func (*PackedEntity) GetModelIndex2 added in v1.0.87

func (x *PackedEntity) GetModelIndex2() uint32

func (*PackedEntity) GetModelIndex3 added in v1.0.87

func (x *PackedEntity) GetModelIndex3() uint32

func (*PackedEntity) GetModelIndex4 added in v1.0.87

func (x *PackedEntity) GetModelIndex4() uint32

func (*PackedEntity) GetNumber added in v1.0.87

func (x *PackedEntity) GetNumber() uint32

func (*PackedEntity) GetOldOriginX added in v1.0.87

func (x *PackedEntity) GetOldOriginX() int32

func (*PackedEntity) GetOldOriginY added in v1.0.87

func (x *PackedEntity) GetOldOriginY() int32

func (*PackedEntity) GetOldOriginZ added in v1.0.87

func (x *PackedEntity) GetOldOriginZ() int32

func (*PackedEntity) GetOriginX added in v1.0.87

func (x *PackedEntity) GetOriginX() int32

func (*PackedEntity) GetOriginY added in v1.0.87

func (x *PackedEntity) GetOriginY() int32

func (*PackedEntity) GetOriginZ added in v1.0.87

func (x *PackedEntity) GetOriginZ() int32

func (*PackedEntity) GetRemove added in v1.0.233

func (x *PackedEntity) GetRemove() bool

func (*PackedEntity) GetRenderFx added in v1.0.87

func (x *PackedEntity) GetRenderFx() uint32

func (*PackedEntity) GetSkin added in v1.0.87

func (x *PackedEntity) GetSkin() uint32

func (*PackedEntity) GetSolid added in v1.0.87

func (x *PackedEntity) GetSolid() uint32

func (*PackedEntity) GetSound added in v1.0.87

func (x *PackedEntity) GetSound() uint32

func (*PackedEntity) ProtoMessage added in v1.0.87

func (*PackedEntity) ProtoMessage()

func (*PackedEntity) ProtoReflect added in v1.0.87

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

func (*PackedEntity) Reset added in v1.0.87

func (x *PackedEntity) Reset()

func (*PackedEntity) String added in v1.0.87

func (x *PackedEntity) String() string

type PackedPlayer added in v1.0.87

type PackedPlayer struct {
	Movestate    *PlayerMove      `protobuf:"bytes,1,opt,name=movestate,proto3" json:"movestate,omitempty"`
	ViewAnglesX  int32            `protobuf:"varint,2,opt,name=view_angles_x,json=viewAnglesX,proto3" json:"view_angles_x,omitempty"` // 16 bits
	ViewAnglesY  int32            `protobuf:"varint,3,opt,name=view_angles_y,json=viewAnglesY,proto3" json:"view_angles_y,omitempty"` // 16 bits
	ViewAnglesZ  int32            `protobuf:"varint,4,opt,name=view_angles_z,json=viewAnglesZ,proto3" json:"view_angles_z,omitempty"` // 16 bits
	ViewOffsetX  int32            `protobuf:"varint,5,opt,name=view_offset_x,json=viewOffsetX,proto3" json:"view_offset_x,omitempty"` // 8 bits
	ViewOffsetY  int32            `protobuf:"varint,6,opt,name=view_offset_y,json=viewOffsetY,proto3" json:"view_offset_y,omitempty"`
	ViewOffsetZ  int32            `protobuf:"varint,7,opt,name=view_offset_z,json=viewOffsetZ,proto3" json:"view_offset_z,omitempty"`
	KickAnglesX  int32            `protobuf:"varint,8,opt,name=kick_angles_x,json=kickAnglesX,proto3" json:"kick_angles_x,omitempty"`
	KickAnglesY  int32            `protobuf:"varint,9,opt,name=kick_angles_y,json=kickAnglesY,proto3" json:"kick_angles_y,omitempty"`
	KickAnglesZ  int32            `protobuf:"varint,10,opt,name=kick_angles_z,json=kickAnglesZ,proto3" json:"kick_angles_z,omitempty"`
	GunAnglesX   int32            `protobuf:"varint,11,opt,name=gun_angles_x,json=gunAnglesX,proto3" json:"gun_angles_x,omitempty"`
	GunAnglesY   int32            `protobuf:"varint,12,opt,name=gun_angles_y,json=gunAnglesY,proto3" json:"gun_angles_y,omitempty"`
	GunAnglesZ   int32            `protobuf:"varint,13,opt,name=gun_angles_z,json=gunAnglesZ,proto3" json:"gun_angles_z,omitempty"`
	GunOffsetX   int32            `protobuf:"varint,14,opt,name=gun_offset_x,json=gunOffsetX,proto3" json:"gun_offset_x,omitempty"`
	GunOffsetY   int32            `protobuf:"varint,15,opt,name=gun_offset_y,json=gunOffsetY,proto3" json:"gun_offset_y,omitempty"`
	GunOffsetZ   int32            `protobuf:"varint,16,opt,name=gun_offset_z,json=gunOffsetZ,proto3" json:"gun_offset_z,omitempty"`
	GunIndex     uint32           `protobuf:"varint,17,opt,name=gun_index,json=gunIndex,proto3" json:"gun_index,omitempty"` // 8 bits
	GunFrame     uint32           `protobuf:"varint,18,opt,name=gun_frame,json=gunFrame,proto3" json:"gun_frame,omitempty"` // 8 bits
	BlendW       int32            `protobuf:"varint,19,opt,name=blend_w,json=blendW,proto3" json:"blend_w,omitempty"`
	BlendX       int32            `protobuf:"varint,20,opt,name=blend_x,json=blendX,proto3" json:"blend_x,omitempty"`
	BlendY       int32            `protobuf:"varint,21,opt,name=blend_y,json=blendY,proto3" json:"blend_y,omitempty"`
	BlendZ       int32            `protobuf:"varint,22,opt,name=blend_z,json=blendZ,proto3" json:"blend_z,omitempty"`
	DamageBlendW int32            `protobuf:"varint,27,opt,name=damage_blend_w,json=damageBlendW,proto3" json:"damage_blend_w,omitempty"` // used in mvd
	DamageBlendX int32            `protobuf:"varint,28,opt,name=damage_blend_x,json=damageBlendX,proto3" json:"damage_blend_x,omitempty"` // used in mvd
	DamageBlendY int32            `protobuf:"varint,29,opt,name=damage_blend_y,json=damageBlendY,proto3" json:"damage_blend_y,omitempty"` // used in mvd
	DamageBlendZ int32            `protobuf:"varint,30,opt,name=damage_blend_z,json=damageBlendZ,proto3" json:"damage_blend_z,omitempty"` // used in mvd
	Fov          uint32           `protobuf:"varint,23,opt,name=fov,proto3" json:"fov,omitempty"`
	RdFlags      uint32           `protobuf:"varint,24,opt,name=rd_flags,json=rdFlags,proto3" json:"rd_flags,omitempty"`
	Stats        map[uint32]int32 `` // 16 bits each
	/* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PackedPlayer) Descriptor deprecated added in v1.0.87

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

Deprecated: Use PackedPlayer.ProtoReflect.Descriptor instead.

func (*PackedPlayer) GetBlendW added in v1.0.87

func (x *PackedPlayer) GetBlendW() int32

func (*PackedPlayer) GetBlendX added in v1.0.87

func (x *PackedPlayer) GetBlendX() int32

func (*PackedPlayer) GetBlendY added in v1.0.87

func (x *PackedPlayer) GetBlendY() int32

func (*PackedPlayer) GetBlendZ added in v1.0.87

func (x *PackedPlayer) GetBlendZ() int32

func (*PackedPlayer) GetDamageBlendW added in v1.0.262

func (x *PackedPlayer) GetDamageBlendW() int32

func (*PackedPlayer) GetDamageBlendX added in v1.0.262

func (x *PackedPlayer) GetDamageBlendX() int32

func (*PackedPlayer) GetDamageBlendY added in v1.0.262

func (x *PackedPlayer) GetDamageBlendY() int32

func (*PackedPlayer) GetDamageBlendZ added in v1.0.262

func (x *PackedPlayer) GetDamageBlendZ() int32

func (*PackedPlayer) GetFov added in v1.0.87

func (x *PackedPlayer) GetFov() uint32

func (*PackedPlayer) GetGunAnglesX added in v1.0.87

func (x *PackedPlayer) GetGunAnglesX() int32

func (*PackedPlayer) GetGunAnglesY added in v1.0.87

func (x *PackedPlayer) GetGunAnglesY() int32

func (*PackedPlayer) GetGunAnglesZ added in v1.0.87

func (x *PackedPlayer) GetGunAnglesZ() int32

func (*PackedPlayer) GetGunFrame added in v1.0.87

func (x *PackedPlayer) GetGunFrame() uint32

func (*PackedPlayer) GetGunIndex added in v1.0.87

func (x *PackedPlayer) GetGunIndex() uint32

func (*PackedPlayer) GetGunOffsetX added in v1.0.87

func (x *PackedPlayer) GetGunOffsetX() int32

func (*PackedPlayer) GetGunOffsetY added in v1.0.87

func (x *PackedPlayer) GetGunOffsetY() int32

func (*PackedPlayer) GetGunOffsetZ added in v1.0.87

func (x *PackedPlayer) GetGunOffsetZ() int32

func (*PackedPlayer) GetKickAnglesX added in v1.0.87

func (x *PackedPlayer) GetKickAnglesX() int32

func (*PackedPlayer) GetKickAnglesY added in v1.0.87

func (x *PackedPlayer) GetKickAnglesY() int32

func (*PackedPlayer) GetKickAnglesZ added in v1.0.87

func (x *PackedPlayer) GetKickAnglesZ() int32

func (*PackedPlayer) GetMovestate added in v1.0.87

func (x *PackedPlayer) GetMovestate() *PlayerMove

func (*PackedPlayer) GetRdFlags added in v1.0.87

func (x *PackedPlayer) GetRdFlags() uint32

func (*PackedPlayer) GetStats added in v1.0.87

func (x *PackedPlayer) GetStats() map[uint32]int32

func (*PackedPlayer) GetViewAnglesX added in v1.0.87

func (x *PackedPlayer) GetViewAnglesX() int32

func (*PackedPlayer) GetViewAnglesY added in v1.0.87

func (x *PackedPlayer) GetViewAnglesY() int32

func (*PackedPlayer) GetViewAnglesZ added in v1.0.87

func (x *PackedPlayer) GetViewAnglesZ() int32

func (*PackedPlayer) GetViewOffsetX added in v1.0.87

func (x *PackedPlayer) GetViewOffsetX() int32

func (*PackedPlayer) GetViewOffsetY added in v1.0.87

func (x *PackedPlayer) GetViewOffsetY() int32

func (*PackedPlayer) GetViewOffsetZ added in v1.0.87

func (x *PackedPlayer) GetViewOffsetZ() int32

func (*PackedPlayer) ProtoMessage added in v1.0.87

func (*PackedPlayer) ProtoMessage()

func (*PackedPlayer) ProtoReflect added in v1.0.87

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

func (*PackedPlayer) Reset added in v1.0.87

func (x *PackedPlayer) Reset()

func (*PackedPlayer) String added in v1.0.87

func (x *PackedPlayer) String() string

type PackedSound added in v1.0.87

type PackedSound struct {
	Flags       uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` // 8 bits
	Index       uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // 8 bits, CS_SOUNDS + this
	Volume      uint32 `protobuf:"varint,3,opt,name=volume,proto3" json:"volume,omitempty"`
	Attenuation uint32 `protobuf:"varint,4,opt,name=attenuation,proto3" json:"attenuation,omitempty"`
	TimeOffset  uint32 `protobuf:"varint,5,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	Channel     uint32 `protobuf:"varint,6,opt,name=channel,proto3" json:"channel,omitempty"`                      // 16 bits
	Entity      uint32 `protobuf:"varint,7,opt,name=entity,proto3" json:"entity,omitempty"`                        // 16 bits, relative to this ent
	PositionX   uint32 `protobuf:"varint,8,opt,name=position_x,json=positionX,proto3" json:"position_x,omitempty"` // 16 bits
	PositionY   uint32 `protobuf:"varint,9,opt,name=position_y,json=positionY,proto3" json:"position_y,omitempty"`
	PositionZ   uint32 `protobuf:"varint,10,opt,name=position_z,json=positionZ,proto3" json:"position_z,omitempty"`
	// contains filtered or unexported fields
}

Start a sound playing

func (*PackedSound) Descriptor deprecated added in v1.0.87

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

Deprecated: Use PackedSound.ProtoReflect.Descriptor instead.

func (*PackedSound) GetAttenuation added in v1.0.87

func (x *PackedSound) GetAttenuation() uint32

func (*PackedSound) GetChannel added in v1.0.87

func (x *PackedSound) GetChannel() uint32

func (*PackedSound) GetEntity added in v1.0.87

func (x *PackedSound) GetEntity() uint32

func (*PackedSound) GetFlags added in v1.0.87

func (x *PackedSound) GetFlags() uint32

func (*PackedSound) GetIndex added in v1.0.87

func (x *PackedSound) GetIndex() uint32

func (*PackedSound) GetPositionX added in v1.0.87

func (x *PackedSound) GetPositionX() uint32

func (*PackedSound) GetPositionY added in v1.0.87

func (x *PackedSound) GetPositionY() uint32

func (*PackedSound) GetPositionZ added in v1.0.87

func (x *PackedSound) GetPositionZ() uint32

func (*PackedSound) GetTimeOffset added in v1.0.87

func (x *PackedSound) GetTimeOffset() uint32

func (*PackedSound) GetVolume added in v1.0.87

func (x *PackedSound) GetVolume() uint32

func (*PackedSound) ProtoMessage added in v1.0.87

func (*PackedSound) ProtoMessage()

func (*PackedSound) ProtoReflect added in v1.0.87

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

func (*PackedSound) Reset added in v1.0.87

func (x *PackedSound) Reset()

func (*PackedSound) String added in v1.0.87

func (x *PackedSound) String() string

type Packet added in v1.0.233

type Packet struct {
	Frames        []*Frame           `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"` // includes playerstate and packetentities
	ConfigStrings []*ConfigString    `protobuf:"bytes,2,rep,name=config_strings,json=configStrings,proto3" json:"config_strings,omitempty"`
	Prints        []*Print           `protobuf:"bytes,3,rep,name=prints,proto3" json:"prints,omitempty"`
	Sounds        []*PackedSound     `protobuf:"bytes,4,rep,name=sounds,proto3" json:"sounds,omitempty"`
	TempEnts      []*TemporaryEntity `protobuf:"bytes,5,rep,name=temp_ents,json=tempEnts,proto3" json:"temp_ents,omitempty"`
	MuzzleFlashes []*MuzzleFlash     `protobuf:"bytes,6,rep,name=muzzle_flashes,json=muzzleFlashes,proto3" json:"muzzle_flashes,omitempty"`
	Layouts       []*Layout          `protobuf:"bytes,7,rep,name=layouts,proto3" json:"layouts,omitempty"`
	Centerprints  []*CenterPrint     `protobuf:"bytes,8,rep,name=centerprints,proto3" json:"centerprints,omitempty"`
	Stuffs        []*StuffText       `protobuf:"bytes,9,rep,name=stuffs,proto3" json:"stuffs,omitempty"`
	Baselines     []*PackedEntity    `protobuf:"bytes,11,rep,name=baselines,proto3" json:"baselines,omitempty"`
	ServerData    *ServerInfo        `protobuf:"bytes,10,opt,name=server_data,json=serverData,proto3" json:"server_data,omitempty"`
	// contains filtered or unexported fields
}

Represents all the gamestate messages from a single server packet

func (*Packet) Descriptor deprecated added in v1.0.233

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

Deprecated: Use Packet.ProtoReflect.Descriptor instead.

func (*Packet) GetBaselines added in v1.0.233

func (x *Packet) GetBaselines() []*PackedEntity

func (*Packet) GetCenterprints added in v1.0.233

func (x *Packet) GetCenterprints() []*CenterPrint

func (*Packet) GetConfigStrings added in v1.0.233

func (x *Packet) GetConfigStrings() []*ConfigString

func (*Packet) GetFrames added in v1.0.233

func (x *Packet) GetFrames() []*Frame

func (*Packet) GetLayouts added in v1.0.233

func (x *Packet) GetLayouts() []*Layout

func (*Packet) GetMuzzleFlashes added in v1.0.233

func (x *Packet) GetMuzzleFlashes() []*MuzzleFlash

func (*Packet) GetPrints added in v1.0.233

func (x *Packet) GetPrints() []*Print

func (*Packet) GetServerData added in v1.0.233

func (x *Packet) GetServerData() *ServerInfo

func (*Packet) GetSounds added in v1.0.233

func (x *Packet) GetSounds() []*PackedSound

func (*Packet) GetStuffs added in v1.0.233

func (x *Packet) GetStuffs() []*StuffText

func (*Packet) GetTempEnts added in v1.0.233

func (x *Packet) GetTempEnts() []*TemporaryEntity

func (*Packet) ProtoMessage added in v1.0.233

func (*Packet) ProtoMessage()

func (*Packet) ProtoReflect added in v1.0.233

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

func (*Packet) Reset added in v1.0.233

func (x *Packet) Reset()

func (*Packet) String added in v1.0.233

func (x *Packet) String() string

type PlayerMove added in v1.0.87

type PlayerMove struct {
	Type        uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`                      // 8 bits
	OriginX     int32  `protobuf:"varint,2,opt,name=origin_x,json=originX,proto3" json:"origin_x,omitempty"` // 16 bits
	OriginY     int32  `protobuf:"varint,3,opt,name=origin_y,json=originY,proto3" json:"origin_y,omitempty"`
	OriginZ     int32  `protobuf:"varint,4,opt,name=origin_z,json=originZ,proto3" json:"origin_z,omitempty"`
	VelocityX   uint32 `protobuf:"varint,5,opt,name=velocity_x,json=velocityX,proto3" json:"velocity_x,omitempty"`
	VelocityY   uint32 `protobuf:"varint,6,opt,name=velocity_y,json=velocityY,proto3" json:"velocity_y,omitempty"`
	VelocityZ   uint32 `protobuf:"varint,7,opt,name=velocity_z,json=velocityZ,proto3" json:"velocity_z,omitempty"`
	Flags       uint32 `protobuf:"varint,8,opt,name=flags,proto3" json:"flags,omitempty"`                                   // byte
	Time        uint32 `protobuf:"varint,9,opt,name=time,proto3" json:"time,omitempty"`                                     // byte
	Gravity     int32  `protobuf:"varint,10,opt,name=gravity,proto3" json:"gravity,omitempty"`                              // 16 bits
	DeltaAngleX int32  `protobuf:"varint,11,opt,name=delta_angle_x,json=deltaAngleX,proto3" json:"delta_angle_x,omitempty"` // 16 bits
	DeltaAngleY int32  `protobuf:"varint,12,opt,name=delta_angle_y,json=deltaAngleY,proto3" json:"delta_angle_y,omitempty"`
	DeltaAngleZ int32  `protobuf:"varint,13,opt,name=delta_angle_z,json=deltaAngleZ,proto3" json:"delta_angle_z,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerMove) Descriptor deprecated added in v1.0.87

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

Deprecated: Use PlayerMove.ProtoReflect.Descriptor instead.

func (*PlayerMove) GetDeltaAngleX added in v1.0.87

func (x *PlayerMove) GetDeltaAngleX() int32

func (*PlayerMove) GetDeltaAngleY added in v1.0.87

func (x *PlayerMove) GetDeltaAngleY() int32

func (*PlayerMove) GetDeltaAngleZ added in v1.0.87

func (x *PlayerMove) GetDeltaAngleZ() int32

func (*PlayerMove) GetFlags added in v1.0.87

func (x *PlayerMove) GetFlags() uint32

func (*PlayerMove) GetGravity added in v1.0.87

func (x *PlayerMove) GetGravity() int32

func (*PlayerMove) GetOriginX added in v1.0.87

func (x *PlayerMove) GetOriginX() int32

func (*PlayerMove) GetOriginY added in v1.0.87

func (x *PlayerMove) GetOriginY() int32

func (*PlayerMove) GetOriginZ added in v1.0.87

func (x *PlayerMove) GetOriginZ() int32

func (*PlayerMove) GetTime added in v1.0.87

func (x *PlayerMove) GetTime() uint32

func (*PlayerMove) GetType added in v1.0.87

func (x *PlayerMove) GetType() uint32

func (*PlayerMove) GetVelocityX added in v1.0.87

func (x *PlayerMove) GetVelocityX() uint32

func (*PlayerMove) GetVelocityY added in v1.0.87

func (x *PlayerMove) GetVelocityY() uint32

func (*PlayerMove) GetVelocityZ added in v1.0.87

func (x *PlayerMove) GetVelocityZ() uint32

func (*PlayerMove) ProtoMessage added in v1.0.87

func (*PlayerMove) ProtoMessage()

func (*PlayerMove) ProtoReflect added in v1.0.87

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

func (*PlayerMove) Reset added in v1.0.87

func (x *PlayerMove) Reset()

func (*PlayerMove) String added in v1.0.87

func (x *PlayerMove) String() string

type Print added in v1.0.87

type Print struct {
	Level uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` // 8 bits
	Data  string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Print) Descriptor deprecated added in v1.0.87

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

Deprecated: Use Print.ProtoReflect.Descriptor instead.

func (*Print) GetData added in v1.0.233

func (x *Print) GetData() string

func (*Print) GetLevel added in v1.0.87

func (x *Print) GetLevel() uint32

func (*Print) ProtoMessage added in v1.0.87

func (*Print) ProtoMessage()

func (*Print) ProtoReflect added in v1.0.87

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

func (*Print) Reset added in v1.0.87

func (x *Print) Reset()

func (*Print) String added in v1.0.87

func (x *Print) String() string

type ServerData

type ServerData struct {
	Basestrings *BaseStrings `protobuf:"bytes,1,opt,name=basestrings,proto3" json:"basestrings,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerData) Descriptor deprecated

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

Deprecated: Use ServerData.ProtoReflect.Descriptor instead.

func (*ServerData) GetBasestrings

func (x *ServerData) GetBasestrings() *BaseStrings

func (*ServerData) ProtoMessage

func (*ServerData) ProtoMessage()

func (*ServerData) ProtoReflect

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

func (*ServerData) Reset

func (x *ServerData) Reset()

func (*ServerData) String

func (x *ServerData) String() string

type ServerFile

type ServerFile struct {
	Password []*ServerFile_Password `protobuf:"bytes,1,rep,name=password,proto3" json:"password,omitempty"`
	Server   []*ServerFile_Server   `protobuf:"bytes,2,rep,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerFile) Descriptor deprecated

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

Deprecated: Use ServerFile.ProtoReflect.Descriptor instead.

func (*ServerFile) GetPassword

func (x *ServerFile) GetPassword() []*ServerFile_Password

func (*ServerFile) GetServer

func (x *ServerFile) GetServer() []*ServerFile_Server

func (*ServerFile) ProtoMessage

func (*ServerFile) ProtoMessage()

func (*ServerFile) ProtoReflect

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

func (*ServerFile) Reset

func (x *ServerFile) Reset()

func (*ServerFile) String

func (x *ServerFile) String() string

type ServerFile_Password

type ServerFile_Password struct {
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Secret     string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

Each message being a unique rcon password

func (*ServerFile_Password) Descriptor deprecated

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

Deprecated: Use ServerFile_Password.ProtoReflect.Descriptor instead.

func (*ServerFile_Password) GetIdentifier

func (x *ServerFile_Password) GetIdentifier() string

func (*ServerFile_Password) GetSecret

func (x *ServerFile_Password) GetSecret() string

func (*ServerFile_Password) ProtoMessage

func (*ServerFile_Password) ProtoMessage()

func (*ServerFile_Password) ProtoReflect

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

func (*ServerFile_Password) Reset

func (x *ServerFile_Password) Reset()

func (*ServerFile_Password) String

func (x *ServerFile_Password) String() string

type ServerFile_Server

type ServerFile_Server struct {

	// an alias for a server
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// the ip:port or DNS address of the server
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// the password identifier, not the password itself
	RconPassword string `protobuf:"bytes,3,opt,name=rcon_password,json=rconPassword,proto3" json:"rcon_password,omitempty"`
	// arbitrary identifiers for making collections
	// of servers
	Groups []string `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"`
	// reference to a ~/.ssh/config host entry
	SshHost string `protobuf:"bytes,5,opt,name=ssh_host,json=sshHost,proto3" json:"ssh_host,omitempty"`
	// the local path to the q2 log file
	LogFile string `protobuf:"bytes,6,opt,name=log_file,json=logFile,proto3" json:"log_file,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerFile_Server) Descriptor deprecated

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

Deprecated: Use ServerFile_Server.ProtoReflect.Descriptor instead.

func (*ServerFile_Server) GetAddress

func (x *ServerFile_Server) GetAddress() string

func (*ServerFile_Server) GetGroups

func (x *ServerFile_Server) GetGroups() []string

func (*ServerFile_Server) GetIdentifier

func (x *ServerFile_Server) GetIdentifier() string

func (*ServerFile_Server) GetLogFile

func (x *ServerFile_Server) GetLogFile() string

func (*ServerFile_Server) GetRconPassword

func (x *ServerFile_Server) GetRconPassword() string

func (*ServerFile_Server) GetSshHost

func (x *ServerFile_Server) GetSshHost() string

func (*ServerFile_Server) ProtoMessage

func (*ServerFile_Server) ProtoMessage()

func (*ServerFile_Server) ProtoReflect

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

func (*ServerFile_Server) Reset

func (x *ServerFile_Server) Reset()

func (*ServerFile_Server) String

func (x *ServerFile_Server) String() string

type ServerInfo added in v1.0.87

type ServerInfo struct {
	Protocol     uint32 `protobuf:"varint,1,opt,name=protocol,proto3" json:"protocol,omitempty"`                          // 32 bits
	ServerCount  uint32 `protobuf:"varint,2,opt,name=server_count,json=serverCount,proto3" json:"server_count,omitempty"` // 32 bits
	Demo         bool   `protobuf:"varint,3,opt,name=demo,proto3" json:"demo,omitempty"`                                  // 8 bits
	GameDir      string `protobuf:"bytes,4,opt,name=game_dir,json=gameDir,proto3" json:"game_dir,omitempty"`
	ClientNumber uint32 `protobuf:"varint,5,opt,name=client_number,json=clientNumber,proto3" json:"client_number,omitempty"` // 16 bits
	MapName      string `protobuf:"bytes,6,opt,name=map_name,json=mapName,proto3" json:"map_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerInfo) Descriptor deprecated added in v1.0.87

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

Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.

func (*ServerInfo) GetClientNumber added in v1.0.87

func (x *ServerInfo) GetClientNumber() uint32

func (*ServerInfo) GetDemo added in v1.0.87

func (x *ServerInfo) GetDemo() bool

func (*ServerInfo) GetGameDir added in v1.0.87

func (x *ServerInfo) GetGameDir() string

func (*ServerInfo) GetMapName added in v1.0.87

func (x *ServerInfo) GetMapName() string

func (*ServerInfo) GetProtocol added in v1.0.87

func (x *ServerInfo) GetProtocol() uint32

func (*ServerInfo) GetServerCount added in v1.0.87

func (x *ServerInfo) GetServerCount() uint32

func (*ServerInfo) ProtoMessage added in v1.0.87

func (*ServerInfo) ProtoMessage()

func (*ServerInfo) ProtoReflect added in v1.0.87

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

func (*ServerInfo) Reset added in v1.0.87

func (x *ServerInfo) Reset()

func (*ServerInfo) String added in v1.0.87

func (x *ServerInfo) String() string

type StuffText added in v1.0.87

type StuffText struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*StuffText) Descriptor deprecated added in v1.0.87

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

Deprecated: Use StuffText.ProtoReflect.Descriptor instead.

func (*StuffText) GetData added in v1.0.233

func (x *StuffText) GetData() string

func (*StuffText) ProtoMessage added in v1.0.87

func (*StuffText) ProtoMessage()

func (*StuffText) ProtoReflect added in v1.0.87

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

func (*StuffText) Reset added in v1.0.87

func (x *StuffText) Reset()

func (*StuffText) String added in v1.0.87

func (x *StuffText) String() string

type TemporaryEntity added in v1.0.87

type TemporaryEntity struct {
	Type       uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`                               // 8 bits
	Position1X uint32 `protobuf:"varint,2,opt,name=position1_x,json=position1X,proto3" json:"position1_x,omitempty"` // 16 bits
	Position1Y uint32 `protobuf:"varint,3,opt,name=position1_y,json=position1Y,proto3" json:"position1_y,omitempty"` // 16 bits
	Position1Z uint32 `protobuf:"varint,4,opt,name=position1_z,json=position1Z,proto3" json:"position1_z,omitempty"` // 16 bits
	Position2X uint32 `protobuf:"varint,5,opt,name=position2_x,json=position2X,proto3" json:"position2_x,omitempty"` // 16 bits
	Position2Y uint32 `protobuf:"varint,6,opt,name=position2_y,json=position2Y,proto3" json:"position2_y,omitempty"` // 16 bits
	Position2Z uint32 `protobuf:"varint,7,opt,name=position2_z,json=position2Z,proto3" json:"position2_z,omitempty"` // 16 bits
	OffsetX    uint32 `protobuf:"varint,8,opt,name=offset_x,json=offsetX,proto3" json:"offset_x,omitempty"`          // 16 bits
	OffsetY    uint32 `protobuf:"varint,9,opt,name=offset_y,json=offsetY,proto3" json:"offset_y,omitempty"`          // 16 bits
	OffsetZ    uint32 `protobuf:"varint,10,opt,name=offset_z,json=offsetZ,proto3" json:"offset_z,omitempty"`         // 16 bits
	Direction  uint32 `protobuf:"varint,11,opt,name=direction,proto3" json:"direction,omitempty"`                    // 8 bits
	Count      uint32 `protobuf:"varint,12,opt,name=count,proto3" json:"count,omitempty"`                            // 8 bits
	Color      uint32 `protobuf:"varint,13,opt,name=color,proto3" json:"color,omitempty"`                            // 8 bits
	Entity1    int32  `protobuf:"varint,14,opt,name=entity1,proto3" json:"entity1,omitempty"`                        // 16 bits
	Entity2    int32  `protobuf:"varint,15,opt,name=entity2,proto3" json:"entity2,omitempty"`                        // 16 bits
	Time       int32  `protobuf:"varint,16,opt,name=time,proto3" json:"time,omitempty"`                              // 32 bits
	// contains filtered or unexported fields
}

func (*TemporaryEntity) Descriptor deprecated added in v1.0.87

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

Deprecated: Use TemporaryEntity.ProtoReflect.Descriptor instead.

func (*TemporaryEntity) GetColor added in v1.0.87

func (x *TemporaryEntity) GetColor() uint32

func (*TemporaryEntity) GetCount added in v1.0.87

func (x *TemporaryEntity) GetCount() uint32

func (*TemporaryEntity) GetDirection added in v1.0.87

func (x *TemporaryEntity) GetDirection() uint32

func (*TemporaryEntity) GetEntity1 added in v1.0.87

func (x *TemporaryEntity) GetEntity1() int32

func (*TemporaryEntity) GetEntity2 added in v1.0.87

func (x *TemporaryEntity) GetEntity2() int32

func (*TemporaryEntity) GetOffsetX added in v1.0.87

func (x *TemporaryEntity) GetOffsetX() uint32

func (*TemporaryEntity) GetOffsetY added in v1.0.87

func (x *TemporaryEntity) GetOffsetY() uint32

func (*TemporaryEntity) GetOffsetZ added in v1.0.87

func (x *TemporaryEntity) GetOffsetZ() uint32

func (*TemporaryEntity) GetPosition1X added in v1.0.87

func (x *TemporaryEntity) GetPosition1X() uint32

func (*TemporaryEntity) GetPosition1Y added in v1.0.87

func (x *TemporaryEntity) GetPosition1Y() uint32

func (*TemporaryEntity) GetPosition1Z added in v1.0.87

func (x *TemporaryEntity) GetPosition1Z() uint32

func (*TemporaryEntity) GetPosition2X added in v1.0.87

func (x *TemporaryEntity) GetPosition2X() uint32

func (*TemporaryEntity) GetPosition2Y added in v1.0.87

func (x *TemporaryEntity) GetPosition2Y() uint32

func (*TemporaryEntity) GetPosition2Z added in v1.0.87

func (x *TemporaryEntity) GetPosition2Z() uint32

func (*TemporaryEntity) GetTime added in v1.0.87

func (x *TemporaryEntity) GetTime() int32

func (*TemporaryEntity) GetType added in v1.0.87

func (x *TemporaryEntity) GetType() uint32

func (*TemporaryEntity) ProtoMessage added in v1.0.87

func (*TemporaryEntity) ProtoMessage()

func (*TemporaryEntity) ProtoReflect added in v1.0.87

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

func (*TemporaryEntity) Reset added in v1.0.87

func (x *TemporaryEntity) Reset()

func (*TemporaryEntity) String added in v1.0.87

func (x *TemporaryEntity) String() string

Jump to

Keyboard shortcuts

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