-
Notifications
You must be signed in to change notification settings - Fork 20
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
Miscellaneous Fixes #293
Merged
Merged
Miscellaneous Fixes #293
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Port KVTextReader to kotlin while replacing PushbackInputStream with InputStreamReader
BinaryReader.readNullTermUtf8String breaks instead of throwing, update it's test. Use Property Access Syntax for fields in kotlin. Don't throw in handlers. Instead, log it to 'error' since some callbacks can have valid data or continue with an empty list of the data that failed. KeyValue.tryReadAsBinary can throw IllegalArgumentException and IOException. Use US_ASCII formatting for LegacyGameKeyCallback.key MemoryStream can take a ByteString constructor. SteamAuthentication.getPasswordRSAPublicKey takes non-null accountName. SteamAuthentication.beginAuthSessionViaCredentials takes non-null authSessionDetails. Setters that work with ip related values use NetHelpers functions. WebSocketConnection.getLocalIP returns 0.0.0.0 InetAddress.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Kind of a big PR, nearly all the commits are just nit-fixes, cleanup, and to be more on par with SK. Changes have been in used in the 1.6.0-SNAPSHOT with no reported issues.
Changes/Fixes in no particular order
handleLogOnResponse
andhandleLoggedOff
.Utils.getOSType()
.readNullTermUtf8String
method1000
, this will be auserInitiated
disconnection.key
string.getPasswordRSAPublicKey
andbeginAuthSessionViaCredentials
takes a non-null parameter.getLocalIP
returns a 0.0.0.0 InetAddress. This is similar to IPAddress.None SK uses.Checklist