Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made EmailDomain Accessable Before Successful Login #85

Closed
wants to merge 5 commits into from
Closed

Made EmailDomain Accessable Before Successful Login #85

wants to merge 5 commits into from

Conversation

tqwewe
Copy link

@tqwewe tqwewe commented Jan 14, 2017

If you wanted to retrieve the Steam client's email domain (gmail.com), you had to sucessfully login to Steam and access it with the LoggedOnEvent. Now you will be able to access the client's email domain from a LogOnFailedEvent.
With the SteamKit2, you are able to access the EmailDomain before a successful logon. This is so you can prompt the user to check their email at gmail.com (or their own email domain).

Added access to EmailDomain on LogonResponse event
Sorry, I'm just learning more about pull requests. I was just testing something with this and the previous commit.
@@ -157,6 +157,7 @@ func (c *Client) ConnectToBind(addr *netutil.PortAddr, local *net.TCPAddr) {
conn, err := dialTCP(local, addr.ToTCPAddr())
if err != nil {
c.Fatalf("Connect failed: %v", err)
c.Connect()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the additional connect call here?

@tqwewe tqwewe closed this Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants