Versions in this module Expand all Collapse all v3 v3.0.0 Dec 6, 2021 Changes in this version + var CMServers = []string + func GetPublicKey(universe steamlang.EUniverse) *rsa.PublicKey + func GetRandomCM() *netutil.PortAddr + func InitializeSteamDirectory() error + type AccountInfoEvent struct + AccountFlags steamlang.EAccountFlags + CountAuthedComputers int32 + Country string + FacebookId uint64 + FacebookName string + PersonaName string + type Auth struct + func (a *Auth) HandlePacket(packet *protocol.Packet) + func (a *Auth) LogOn(details *LogOnDetails) + 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 []byte + ClanId steamid.SteamId + ClanName string + Events []ClanEventDetails + MemberChattingCount uint32 + MemberInGameCount uint32 + MemberOnlineCount uint32 + MemberTotalCount uint32 + type Client struct + Auth *Auth + ConnectionTimeout time.Duration + 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) GetNextJobId() protocol.JobId + func (c *Client) RegisterPacketHandler(handler PacketHandler) + func (c *Client) SessionId() int32 + func (c *Client) SteamId() steamid.SteamId + func (c *Client) Write(msg protocol.IMsg) + type ClientCMListEvent struct + Addresses []*netutil.PortAddr + type ConnectedEvent struct + type DisconnectedEvent struct + 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 GCPacketHandler interface + HandleGCPacket func(*gamecoordinator.GCPacket) + type GameCoordinator struct + func (g *GameCoordinator) HandlePacket(packet *protocol.Packet) + func (g *GameCoordinator) RegisterPacketHandler(handler GCPacketHandler) + func (g *GameCoordinator) SetGamesPlayed(appIds ...uint64) + func (g *GameCoordinator) Write(msg gamecoordinator.IGCMsg) + 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 + 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 + CellId uint32 + CellIdPingThreshold uint32 + ClientSteamId steamid.SteamId + EmailDomain string + ExtendedResult steamlang.EResult + InGameSecsPerHeartbeat int32 + IpCountryCode string + NumDisconnectsToMigrate int32 + NumLoginFailuresToMigrate int32 + OutOfGameSecsPerHeartbeat int32 + PublicIp uint32 + Result steamlang.EResult + ServerTime uint32 + Steam2Ticket []byte + UsePics bool + VanityUrl string + WebApiUserNonce string + type LoginKeyEvent struct + LoginKey string + UniqueId uint32 + type MachineAuthUpdateEvent struct + Hash []byte + type NotificationEvent struct + Count uint + Type NotificationType + type NotificationType uint + const TradeOffer + type Notifications struct + func (n *Notifications) HandlePacket(packet *protocol.Packet) + type PacketHandler interface + HandlePacket func(*protocol.Packet) + type PersonaStateEvent struct + Avatar []byte + ClanRank uint32 + ClanTag 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 + QueryPort uint32 + RichPresence []*protobuf.CMsgClientPersonaState_Friend_KV + 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 (s *Social) AddFriend(id steamid.SteamId) + func (s *Social) BanChatMember(room steamid.SteamId, user steamid.SteamId) + func (s *Social) GetAvatar() []byte + 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) + 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) RequestOfflineMessages() + 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 (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 (w *Web) HandlePacket(packet *protocol.Packet) + func (w *Web) LogOn() + type WebLogOnErrorEvent error + type WebLoggedOnEvent struct + type WebSessionIdEvent struct Other modules containing this package github.com/Philipp15b/go-steam github.com/Philipp15b/go-steam/v2