Versions in this module Expand all Collapse all v5 v5.1.0 Dec 20, 2023 Changes in this version + const DefaultAvatar + const EClientPersonaStateFlag_DefaultInfoRequest + func ValidAvatar(avatar []byte) bool + type ClientMsg struct + Body MessageBody + Header *steamlang.ExtendedClientMsgHdr + Payload []byte + func NewClientMsg(body MessageBody, payload []byte) *ClientMsg + func (c *ClientMsg) GetMsgType() steamlang.EMsg + func (c *ClientMsg) GetSessionId() int32 + func (c *ClientMsg) GetSourceJobId() JobId + func (c *ClientMsg) GetSteamId() steamid.SteamId + func (c *ClientMsg) GetTargetJobId() JobId + func (c *ClientMsg) IsProto() bool + func (c *ClientMsg) Serialize(w io.Writer) error + func (c *ClientMsg) SetSessionId(session int32) + func (c *ClientMsg) SetSourceJobId(job JobId) + func (c *ClientMsg) SetSteamId(s steamid.SteamId) + func (c *ClientMsg) SetTargetJobId(job JobId) + type ClientMsgProtobuf struct + Body proto.Message + Header *steamlang.MsgHdrProtoBuf + func NewClientMsgProtobuf(eMsg steamlang.EMsg, body proto.Message) *ClientMsgProtobuf + func (c *ClientMsgProtobuf) GetMsgType() steamlang.EMsg + func (c *ClientMsgProtobuf) GetSessionId() int32 + func (c *ClientMsgProtobuf) GetSourceJobId() JobId + func (c *ClientMsgProtobuf) GetSteamId() steamid.SteamId + func (c *ClientMsgProtobuf) GetTargetJobId() JobId + func (c *ClientMsgProtobuf) IsProto() bool + func (c *ClientMsgProtobuf) Serialize(w io.Writer) error + func (c *ClientMsgProtobuf) SetSessionId(session int32) + func (c *ClientMsgProtobuf) SetSourceJobId(job JobId) + func (c *ClientMsgProtobuf) SetSteamId(s steamid.SteamId) + func (c *ClientMsgProtobuf) SetTargetJobId(job JobId) + type Deserializer interface + Deserialize func(r io.Reader) error + type IClientMsg interface + GetSessionId func() int32 + GetSteamId func() steamid.SteamId + SetSessionId func(int32) + SetSteamId func(steamid.SteamId) + type IMsg interface + GetMsgType func() steamlang.EMsg + GetSourceJobId func() JobId + GetTargetJobId func() JobId + IsProto func() bool + SetSourceJobId func(JobId) + SetTargetJobId func(JobId) + type JobId uint64 + func (j JobId) String() string + type MessageBody interface + GetEMsg func() steamlang.EMsg + type Msg struct + Body MessageBody + Header *steamlang.MsgHdr + Payload []byte + func NewMsg(body MessageBody, payload []byte) *Msg + func (m *Msg) GetMsgType() steamlang.EMsg + func (m *Msg) GetSourceJobId() JobId + func (m *Msg) GetTargetJobId() JobId + func (m *Msg) IsProto() bool + func (m *Msg) Serialize(w io.Writer) error + func (m *Msg) SetSourceJobId(job JobId) + func (m *Msg) SetTargetJobId(job JobId) + type Packet struct + Data []byte + EMsg steamlang.EMsg + IsProto bool + SourceJobId JobId + TargetJobId JobId + func NewPacket(data []byte) (*Packet, error) + func (p *Packet) ReadClientMsg(body MessageBody) *ClientMsg + func (p *Packet) ReadMsg(body MessageBody) *Msg + func (p *Packet) ReadProtoMsg(body proto.Message) *ClientMsgProtobuf + func (p *Packet) String() string + type Serializable interface + type Serializer interface + Serialize func(w io.Writer) error Other modules containing this package github.com/Flo4604/go-steam github.com/Flo4604/go-steam/v4