Versions in this module Expand all Collapse all v0 v0.1.0 Apr 25, 2020 Changes in this version + const MachineIDKeyDiskUUID + const MachineIDKeyMacAddress + const MachineIDKeyMachineUUID + const MachineIDKeyUnknownData + var CMServers = []string + func GetPublicKey(universe steamlang.EUniverse) *rsa.PublicKey + func GetRandomCM() (*netutil.PortAddr, error) + func InitializeSteamDirectory() error + type AccountInfoEvent struct + AccountFlags steamlang.EAccountFlags + CountAuthedComputers int32 + Country string + FacebookID uint64 + FacebookName string + PersonaName string + type Auth struct + func NewAuth(client *Client) *Auth + func (a *Auth) HandlePacket(packet *protocol.Packet) + func (a *Auth) LogOn(details *LogOnDetails) error + type ChatActionResultEvent struct + Action steamlang.EChatAction + ChatRoomID steamid.SteamID + ChatterID steamid.SteamID + Result steamlang.EChatActionResult + type ChatEnterEvent struct + ChatFlags byte + ChatRoomID steamid.SteamID + ChatRoomType steamlang.EChatRoomType + ClanID steamid.SteamID + EnterResponse steamlang.EChatRoomEnterResponse + FriendID steamid.SteamID + Name string + OwnerID steamid.SteamID + type ChatInviteEvent struct + ChatRoomID steamid.SteamID + ChatRoomName string + ChatRoomType steamlang.EChatRoomType + FriendChatID steamid.SteamID + GameID uint64 + InvitedID steamid.SteamID + PatronID steamid.SteamID + type ChatMemberInfoEvent struct + ChatRoomID steamid.SteamID + StateChangeInfo StateChangeDetails + Type steamlang.EChatInfoType + type ChatMsgEvent struct + ChatRoomID steamid.SteamID + ChatterID steamid.SteamID + EntryType steamlang.EChatEntryType + Message string + Offline bool + Timestamp time.Time + func (c *ChatMsgEvent) IsMessage() bool + type ClanEventDetails struct + EventTime uint32 + GameID uint64 + Headline string + ID uint64 + JustPosted bool + type ClanStateEvent struct + AccountFlags steamlang.EAccountFlags + Announcements []ClanEventDetails + Avatar string + ClanName string + ClandID steamid.SteamID + Events []ClanEventDetails + MemberChattingCount uint32 + MemberInGameCount uint32 + MemberOnlineCount uint32 + MemberTotalCount uint32 + StateFlags steamlang.EClientPersonaStateFlag + type Client struct + Auth *Auth + GC *GameCoordinator + Notifications *Notifications + Social *Social + Trading *Trading + Web *Web + func NewClient() *Client + func (c *Client) Connect() (*netutil.PortAddr, error) + func (c *Client) ConnectTo(addr *netutil.PortAddr) error + func (c *Client) ConnectToBind(addr *netutil.PortAddr, local *net.TCPAddr) error + func (c *Client) Connected() bool + func (c *Client) Disconnect() + func (c *Client) Emit(event interface{}) + func (c *Client) Errorf(format string, a ...interface{}) + func (c *Client) Events() <-chan interface{} + func (c *Client) Fatalf(format string, a ...interface{}) + func (c *Client) NextJobID() protocol.JobID + func (c *Client) RegisterPacketHandler(handler protocol.PacketHandler) + func (c *Client) SessionID() int32 + func (c *Client) SteamID() steamid.SteamID + func (c *Client) Write(msg protocol.Message) + type ClientCMListEvent struct + Addresses []*netutil.PortAddr + type ConnectedEvent struct + type DisconnectedEvent struct + type FailureEvent struct + Result steamlang.EResult + type FatalErrorEvent error + type FriendAddedEvent struct + PersonaName string + Result steamlang.EResult + SteamID steamid.SteamID + type FriendStateEvent struct + Relationship steamlang.EFriendRelationship + SteamID steamid.SteamID + func (f *FriendStateEvent) IsFriend() bool + type FriendsListEvent struct + type GameCoordinator struct + func NewGC(client *Client) *GameCoordinator + func (g *GameCoordinator) HandlePacket(packet *protocol.Packet) + func (g *GameCoordinator) RegisterPacketHandler(handler gc.PacketHandler) + func (g *GameCoordinator) SetGamesPlayed(appIDs ...uint64) + func (g *GameCoordinator) Write(msg gc.Message) error + type GroupStateEvent struct + Relationship steamlang.EClanRelationship + SteamID steamid.SteamID + func (g *GroupStateEvent) IsMember() bool + type IgnoreFriendEvent struct + Result steamlang.EResult + type LogOnDetails struct + AuthCode string + CellID uint32 + LoginID uint32 + LoginKey string + Password string + SentryFileHash SentryHash + ShouldRememberPassword bool + TwoFactorCode string + Username string + type LogOnFailedEvent struct + Result steamlang.EResult + type LoggedOffEvent struct + Result steamlang.EResult + type LoggedOnEvent struct + AccountFlags steamlang.EAccountFlags + Body *pb.CMsgClientLogonResponse + ClientSteamID steamid.SteamID + ExtendedResult steamlang.EResult + Result steamlang.EResult + type LoginKeyEvent struct + LoginKey string + UniqueID uint32 + type MachineAuthUpdateEvent struct + Hash SentryHash + type MachineID struct + DiskUUID uuid.UUID + MacAddress net.HardwareAddr + MachineUUID uuid.UUID + func NewMachineID() (*MachineID, error) + func (id *MachineID) Auth() ([]byte, error) + func (id *MachineID) MessageObject() *MessageObject + type MessageObject struct + func NewMessageObject() *MessageObject + func (o *MessageObject) AddColor(key, value string) *MessageObject + func (o *MessageObject) AddFloat32(key, value string) *MessageObject + func (o *MessageObject) AddInt32(key, value string) *MessageObject + func (o *MessageObject) AddInt64(key, value string) *MessageObject + func (o *MessageObject) AddObject(key string) *MessageObject + func (o *MessageObject) AddPointer(key, value string) *MessageObject + func (o *MessageObject) AddString(key, value string) *MessageObject + func (o *MessageObject) AddUint64(key, value string) *MessageObject + type NotificationEvent struct + Count uint + Type NotificationType + type NotificationType uint + const TradeOffer + type Notifications struct + func NewNotifications(client *Client) *Notifications + func (n *Notifications) HandlePacket(packet *protocol.Packet) + type PersonaStateEvent struct + Avatar string + ClanRank uint32 + ClanTag string + FacebookID uint64 + FacebookName string + FriendID steamid.SteamID + GameAppID uint32 + GameDataBlob []byte + GameID uint64 + GameName string + GameServerIP uint32 + GameServerPort uint32 + LastLogOff uint32 + LastLogOn uint32 + Name string + OnlineSessionInstances uint32 + PersonaSetByUser bool + PublishedSessionID uint32 + QueryPort uint32 + SourceSteamID steamid.SteamID + State steamlang.EPersonaState + StateFlags steamlang.EPersonaStateFlag + StatusFlags steamlang.EClientPersonaStateFlag + type ProfileInfoEvent struct + CityName string + CountryName string + Headline string + RealName string + Result steamlang.EResult + StateName string + SteamID steamid.SteamID + Summary string + TimeCreated uint32 + type SentryHash []byte + type Social struct + Chats *socialcache.ChatsList + Friends *socialcache.FriendsList + Groups *socialcache.GroupsList + func NewSocial(client *Client) *Social + func (s *Social) AddFriend(id steamid.SteamID) + func (s *Social) BanChatMember(room steamid.SteamID, user steamid.SteamID) + func (s *Social) GetAvatar() string + func (s *Social) GetPersonaName() string + func (s *Social) GetPersonaState() steamlang.EPersonaState + func (s *Social) HandlePacket(packet *protocol.Packet) + func (s *Social) IgnoreFriend(id steamid.SteamID, setIgnore bool) + func (s *Social) JoinChat(id steamid.SteamID) + func (s *Social) KickChatMember(room steamid.SteamID, user steamid.SteamID) + func (s *Social) LeaveChat(id steamid.SteamID) error + func (s *Social) RemoveFriend(id steamid.SteamID) + func (s *Social) RequestFriendInfo(id steamid.SteamID, requestedInfo steamlang.EClientPersonaStateFlag) + func (s *Social) RequestFriendListInfo(ids []steamid.SteamID, requestedInfo steamlang.EClientPersonaStateFlag) + func (s *Social) RequestProfileInfo(id steamid.SteamID) + func (s *Social) SendMessage(to steamid.SteamID, entryType steamlang.EChatEntryType, message string) + func (s *Social) SetPersonaName(name string) + func (s *Social) SetPersonaState(state steamlang.EPersonaState) + func (s *Social) UnbanChatMember(room steamid.SteamID, user steamid.SteamID) + type StateChangeDetails struct + ChatterActedBy steamid.SteamID + ChatterActedOn steamid.SteamID + StateChange steamlang.EChatMemberStateChange + type TradeProposedEvent struct + Other steamid.SteamID + RequestID TradeRequestID + type TradeRequestID uint32 + type TradeResultEvent struct + DefaultNumDaysPasswordResetProbation uint32 + NumDaysNewDeviceCooldown uint32 + NumDaysPasswordResetProbation uint32 + NumDaysSteamGuardRequired uint32 + Other steamid.SteamID + RequestID TradeRequestID + Response steamlang.EEconTradeResponse + type TradeSessionStartEvent struct + Other steamid.SteamID + type Trading struct + func NewTrading(client *Client) *Trading + func (t *Trading) CancelRequest(other steamid.SteamID) + func (t *Trading) HandlePacket(packet *protocol.Packet) + func (t *Trading) RequestTrade(other steamid.SteamID) + func (t *Trading) RespondRequest(requestID TradeRequestID, accept bool) + type Web struct + SessionID string + SteamLogin string + SteamLoginSecure string + func NewWeb(client *Client) *Web + func (w *Web) HandlePacket(packet *protocol.Packet) + func (w *Web) LogOn() error + type WebLogOnErrorEvent error + type WebLoggedOnEvent struct + type WebSessionIDEvent struct