mappings

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Type         *string
	Name         *string
	SerializerId *SerializerId
	Properties   *Properties
}

type LookupObjects

type LookupObjects struct {
	Summary *pb.CDemoFileInfo
	Players map[int]*pb.CGameInfo_CDotaGameInfo_CPlayerInfo

	ClassInfo    map[int]string
	SendTables   *TableDeserializer
	StringTables map[string][]*pb.CDemoStringTablesItemsT
}

func NewLookupObjects

func NewLookupObjects() *LookupObjects

type Properties

type Properties struct {
	EncodeFlags *int32
	BitCount    *int32
	LowValue    *float32
	HighValue   *float32
	EncoderType *string
}

type Serializer

type Serializer struct {
	SerializerId *SerializerId
	Fields       []*Field
}

type SerializerId

type SerializerId struct {
	Name    *string
	Version *int32
}

type TableDecoder

type TableDecoder struct {
	// contains filtered or unexported fields
}

func (*TableDecoder) Decode

func (d *TableDecoder) Decode(data []byte) (*pb.CSVCMsg_FlattenedSerializer, error)

type TableDeserializer

type TableDeserializer struct {
	Fields      []*Field
	Serializers map[string]*Serializer
	// contains filtered or unexported fields
}

func (*TableDeserializer) CreateFields

func (d *TableDeserializer) CreateFields()

Jump to

Keyboard shortcuts

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