-
Notifications
You must be signed in to change notification settings - Fork 356
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
SteamClient.SteamId is terribly slow #784
Comments
Well, that's right! Normally Ex: SteamClient.Init(AppId, true);
SteamId = SteamClient.SteamId;
Name = SteamClient.Name; |
For |
You are right @DK189 , it's not suppose to change unless you log-in with a different account, but you lose authentication if you try something like and the client should shut down automatically. I propose just cache that in SteamClient, something simple like
and keep a RequestSteamId() in case you need to be sure you have the right one. |
Yes! All programmers should see this! 👍👍👍 |
It's not cached and do weird things behind the scenes. It should be moved to a Get method not to cause confusion.
Calling this property each frame can destroy your cpu time.
It's used also in Friend.IsMe so be careful for that.
The text was updated successfully, but these errors were encountered: