package
0.0.0-20241218071341-eca341841669
Repository: https://github.com/paralin/go-dota2.git
Documentation: pkg.go.dev

# Functions

BuildProtoTypeMap attempts to compile the proto type list.
DumpMessageIDDebug dumps debug information about the messages in the system.
GenerateAPI uses protobuf reflection to generate an API client for Dota.
GetMessageEventName returns the event name for the message.
GetMessageFuncName determines what function name we should assign a message.
GetMessageSender determines which party (GC, Client, None) would send this message in a session.
GetResponseMessageID returns the response message ID for the request.
IsValidMsg checks if the message is valid.
IsWordVerb checks if a word is a suspected verb, from a hardcoded dictionary of common verbs.
LookupMessageProtoType lookup proto from message ID.

# Constants

go:generate stringer -type=MsgSender.
go:generate stringer -type=MsgSender.
go:generate stringer -type=MsgSender.

# Variables

TypeRegex matches struct types in Go.

# Structs

ProtoType represents a protobuf message type with some heuristics.

# Type aliases

MsgSender is the sender type of a message.