Versions in this module Expand all Collapse all v1 v1.0.0 Jan 20, 2016 Changes in this version + var CMServers = [][]string + func GetPublicKey(universe EUniverse) *rsa.PublicKey + func GetRandomCM() *netutil.PortAddr + func GetRandomEuropeCM() *netutil.PortAddr + func GetRandomNorthAmericaCM() *netutil.PortAddr + func GetRandomSingaporeCM() *netutil.PortAddr + func InitializeSteamDirectory() error + type AccountInfoEvent struct + AccountFlags EAccountFlags + CountAuthedComputers int32 + Country string + FacebookId uint64 + FacebookName string + PersonaName string + type Auth struct + func (a *Auth) HandlePacket(packet *Packet) + func (a *Auth) LogOn(details *LogOnDetails) + type ChatActionResultEvent struct + Action EChatAction + ChatRoomId SteamId + ChatterId SteamId + Result EChatActionResult + type ChatEnterEvent struct + ChatFlags byte + ChatRoomId SteamId + ChatRoomType EChatRoomType + ClanId SteamId + EnterResponse EChatRoomEnterResponse + FriendId SteamId + Name string + OwnerId SteamId + type ChatInviteEvent struct + ChatRoomId SteamId + ChatRoomName string + ChatRoomType EChatRoomType + FriendChatId SteamId + GameId uint64 + InvitedId SteamId + PatronId SteamId + type ChatMemberInfoEvent struct + ChatRoomId SteamId + StateChangeInfo StateChangeDetails + Type EChatInfoType + type ChatMsgEvent struct + ChatRoomId SteamId + ChatterId SteamId + EntryType 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 EAccountFlags + Announcements []ClanEventDetails + Avatar string + ClanName string + ClandId SteamId + Events []ClanEventDetails + MemberChattingCount uint32 + MemberInGameCount uint32 + MemberOnlineCount uint32 + MemberTotalCount uint32 + StateFlags EClientPersonaStateFlag + 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 + func (c *Client) ConnectEurope() *netutil.PortAddr + func (c *Client) ConnectNorthAmerica() *netutil.PortAddr + func (c *Client) ConnectSingapore() *netutil.PortAddr + func (c *Client) ConnectTo(addr *netutil.PortAddr) + func (c *Client) ConnectToBind(addr *netutil.PortAddr, local *net.TCPAddr) + 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() JobId + func (c *Client) RegisterPacketHandler(handler PacketHandler) + func (c *Client) SessionId() int32 + func (c *Client) SteamId() SteamId + func (c *Client) Write(msg IMsg) + type ClientCMListEvent struct + Addresses []*netutil.PortAddr + type ConnectedEvent struct + type DisconnectedEvent struct + type FatalErrorEvent error + type FriendAddedEvent struct + PersonaName string + Result EResult + SteamId SteamId + type FriendStateEvent struct + Relationship EFriendRelationship + SteamId SteamId + func (f *FriendStateEvent) IsFriend() bool + type FriendsListEvent struct + type GCPacketHandler interface + HandleGCPacket func(*GCPacket) + type GameCoordinator struct + func (g *GameCoordinator) HandlePacket(packet *Packet) + func (g *GameCoordinator) RegisterPacketHandler(handler GCPacketHandler) + func (g *GameCoordinator) SetGamesPlayed(appIds ...uint64) + func (g *GameCoordinator) Write(msg IGCMsg) + type GroupStateEvent struct + Relationship EClanRelationship + SteamId SteamId + func (g *GroupStateEvent) IsMember() bool + type IgnoreFriendEvent struct + Result EResult + type LogOnDetails struct + AuthCode string + Password string + SentryFileHash SentryHash + TwoFactorCode string + Username string + type LogOnFailedEvent struct + Result EResult + type LoggedOffEvent struct + Result EResult + type LoggedOnEvent struct + AccountFlags EAccountFlags + CellId uint32 + CellIdPingThreshold uint32 + ClientSteamId SteamId + EmailDomain string + ExtendedResult EResult + InGameSecsPerHeartbeat int32 + IpCountryCode string + NumDisconnectsToMigrate int32 + NumLoginFailuresToMigrate int32 + OutOfGameSecsPerHeartbeat int32 + PublicIp uint32 + Result 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 *Packet) + type PacketHandler interface + HandlePacket func(*Packet) + type PersonaStateEvent struct + Avatar string + ClanRank uint32 + ClanTag string + FacebookId uint64 + FacebookName string + FriendId 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 + State EPersonaState + StateFlags EPersonaStateFlag + StatusFlags EClientPersonaStateFlag + type ProfileInfoEvent struct + CityName string + CountryName string + Headline string + RealName string + Result EResult + StateName string + 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) + func (s *Social) BanChatMember(room SteamId, user SteamId) + func (s *Social) GetAvatar() string + func (s *Social) GetPersonaName() string + func (s *Social) GetPersonaState() EPersonaState + func (s *Social) HandlePacket(packet *Packet) + func (s *Social) IgnoreFriend(id SteamId, setIgnore bool) + func (s *Social) JoinChat(id SteamId) + func (s *Social) KickChatMember(room SteamId, user SteamId) + func (s *Social) LeaveChat(id SteamId) + func (s *Social) RemoveFriend(id SteamId) + func (s *Social) RequestFriendInfo(id SteamId, requestedInfo EClientPersonaStateFlag) + func (s *Social) RequestFriendListInfo(ids []SteamId, requestedInfo EClientPersonaStateFlag) + func (s *Social) RequestOfflineMessages() + func (s *Social) RequestProfileInfo(id SteamId) + func (s *Social) SendMessage(to SteamId, entryType EChatEntryType, message string) + func (s *Social) SetPersonaName(name string) + func (s *Social) SetPersonaState(state EPersonaState) + func (s *Social) UnbanChatMember(room SteamId, user SteamId) + type StateChangeDetails struct + ChatterActedBy SteamId + ChatterActedOn SteamId + StateChange EChatMemberStateChange + type TradeProposedEvent struct + Other SteamId + RequestId TradeRequestId + type TradeRequestId uint32 + type TradeResultEvent struct + DefaultNumDaysPasswordResetProbation uint32 + NumDaysNewDeviceCooldown uint32 + NumDaysPasswordResetProbation uint32 + NumDaysSteamGuardRequired uint32 + Other SteamId + RequestId TradeRequestId + Response EEconTradeResponse + type TradeSessionStartEvent struct + Other SteamId + type Trading struct + func (t *Trading) CancelRequest(other SteamId) + func (t *Trading) HandlePacket(packet *Packet) + func (t *Trading) RequestTrade(other SteamId) + func (t *Trading) RespondRequest(requestId TradeRequestId, accept bool) + type Web struct + SessionId string + SteamLogin string + SteamLoginSecure string + func (w *Web) HandlePacket(packet *Packet) + func (w *Web) LogOn() + type WebLogOnErrorEvent error + type WebLoggedOnEvent struct + type WebSessionIdEvent struct Other modules containing this package github.com/Philipp15b/go-steam/v2 github.com/Philipp15b/go-steam/v3