Documentation ¶
Overview ¶
NOTE: This file is generated by tool/update_pbem.rb
Index ¶
- func ProtoUnmarshal(data []byte, obj proto.Message) error
- func ReadFile(path string) []byte
- func ReadStringZ(datas []byte, offset int) string
- func SnappyUncompress(compressed []byte) []byte
- type Error
- type ItemType
- type Parser
- func (p *Parser) Analyze(callback func(*ParserBaseItem))
- func (p *Parser) AnalyzePacket(callback func(*ParserBaseItem), fromEvent dota.EDemoCommands, tick int, ...)
- func (p *Parser) AsBaseEvent(commandName string) (proto.Message, error)
- func (p *Parser) AsBaseEventBUMDUM(value int) (proto.Message, error)
- func (p *Parser) AsBaseEventNETSVC(value int) (proto.Message, error)
- type ParserBaseEvent
- type ParserBaseEventMapType
- type ParserBaseItem
- type ParserBaseItems
- type ParserItem
- type ParserItems
- type SignonPacket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadStringZ ¶
func SnappyUncompress ¶
Types ¶
type Parser ¶
type Parser struct { Sequence int64 Items map[int64]*ParserItem // contains filtered or unexported fields }
func ParserFromFile ¶
func (*Parser) Analyze ¶
func (p *Parser) Analyze(callback func(*ParserBaseItem))
func (*Parser) AnalyzePacket ¶
func (p *Parser) AnalyzePacket(callback func(*ParserBaseItem), fromEvent dota.EDemoCommands, tick int, data []byte)
func (*Parser) AsBaseEvent ¶
func (*Parser) AsBaseEventBUMDUM ¶
type ParserBaseEvent ¶
type ParserBaseEvent int
type ParserBaseEventMapType ¶
type ParserBaseEventMapType int
const ( DEM ParserBaseEventMapType = iota NET SVC BUM DUM )
type ParserBaseItem ¶
type ParserBaseItems ¶
type ParserBaseItems []*ParserBaseItem
ParserBaseItems attaches the methods of Interface to []*ParserBaseItem, sorting in increasing order by Sequence.
func (ParserBaseItems) Len ¶
func (p ParserBaseItems) Len() int
func (ParserBaseItems) Less ¶
func (p ParserBaseItems) Less(i, j int) bool
func (ParserBaseItems) Swap ¶
func (p ParserBaseItems) Swap(i, j int)
type ParserItem ¶
type ParserItems ¶
type ParserItems []*ParserItem
ParserItems attaches the methods of Interface to []*ParserItem, sorting in increasing order by Sequence.
func (ParserItems) Len ¶
func (p ParserItems) Len() int
func (ParserItems) Less ¶
func (p ParserItems) Less(i, j int) bool
func (ParserItems) Swap ¶
func (p ParserItems) Swap(i, j int)
type SignonPacket ¶
type SignonPacket struct{}
func (SignonPacket) ProtoMessage ¶
func (s SignonPacket) ProtoMessage()
func (SignonPacket) Reset ¶
func (s SignonPacket) Reset()
func (SignonPacket) String ¶
func (s SignonPacket) String() string
Click to show internal directories.
Click to hide internal directories.