diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index 8e8841669..1d4586cfd 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -89,8 +89,8 @@ ..\packages\protobuf-net.2.0.0.668\lib\net40\protobuf-net.dll True - - ..\packages\SteamKit2.1.7.0\lib\net45\SteamKit2.dll + + ..\packages\SteamKit2.1.8.0\lib\net45\SteamKit2.dll True diff --git a/ArchiSteamFarm/packages.config b/ArchiSteamFarm/packages.config index 45c0b7174..f790e14be 100644 --- a/ArchiSteamFarm/packages.config +++ b/ArchiSteamFarm/packages.config @@ -6,5 +6,5 @@ - + \ No newline at end of file diff --git a/packages/SteamKit2.1.7.0/SteamKit2.1.7.0.nupkg b/packages/SteamKit2.1.7.0/SteamKit2.1.7.0.nupkg deleted file mode 100644 index 8681cdec5..000000000 Binary files a/packages/SteamKit2.1.7.0/SteamKit2.1.7.0.nupkg and /dev/null differ diff --git a/packages/SteamKit2.1.7.0/lib/net45/SteamKit2.dll b/packages/SteamKit2.1.7.0/lib/net45/SteamKit2.dll deleted file mode 100644 index 59dc71ca0..000000000 Binary files a/packages/SteamKit2.1.7.0/lib/net45/SteamKit2.dll and /dev/null differ diff --git a/packages/SteamKit2.1.8.0/SteamKit2.1.8.0.nupkg b/packages/SteamKit2.1.8.0/SteamKit2.1.8.0.nupkg new file mode 100644 index 000000000..6b086e7ed Binary files /dev/null and b/packages/SteamKit2.1.8.0/SteamKit2.1.8.0.nupkg differ diff --git a/packages/SteamKit2.1.8.0/lib/net45/SteamKit2.dll b/packages/SteamKit2.1.8.0/lib/net45/SteamKit2.dll new file mode 100644 index 000000000..766141eb0 Binary files /dev/null and b/packages/SteamKit2.1.8.0/lib/net45/SteamKit2.dll differ diff --git a/packages/SteamKit2.1.7.0/lib/net45/SteamKit2.xml b/packages/SteamKit2.1.8.0/lib/net45/SteamKit2.xml similarity index 97% rename from packages/SteamKit2.1.7.0/lib/net45/SteamKit2.xml rename to packages/SteamKit2.1.8.0/lib/net45/SteamKit2.xml index 07d90133d..70c94dc39 100644 --- a/packages/SteamKit2.1.7.0/lib/net45/SteamKit2.xml +++ b/packages/SteamKit2.1.8.0/lib/net45/SteamKit2.xml @@ -1478,81 +1478,174 @@ The data. - + + + A server list provider that uses a file to persist the server list using protobuf + + + + + Initialize a new instance of FileStorageServerListProvider + + + + + Read the stored list of servers from the file + + List of servers if persisted, otherwise an empty list + + + + Writes the supplied list of servers to persistent storage + + List of server endpoints + Awaitable task for write completion + + + + A server list provider that returns an empty list, for consumers that populate the server list themselves + + + + + No-op implementation that returns an empty server list + + Empty server list + + + + No-op implementation that does not persist server list + + Server list + Completed task + + Currently marked quality of a server. All servers start off as Undetermined. - + Known good server. - + Known bad server. - + Smart list of CM servers. - + + + Initialize SmartCMServerList with a given server list provider + + The ServerListProvider to persist servers + Specifies if we can query SteamDirectory to discover more servers + + + + Initialize SmartCMServerList with the default server list provider + + + + + The server list provider chosen to provide a persistent list of servers to connect to + + + + + The preferred cell id for retrieving the list of servers from the Steam directory + + + Determines how long a server's bad connection state is remembered for. - + - Resets the scores of all servers which has a last bad connection more than ago. + Resets the scores of all servers which has a last bad connection more than ago. - + - Adds an to the server list. + Replace the list with a new list of servers provided to us by the Steam servers. - The to add. - false if the server is already in the list, true otherwise. + The s to use for this . - - - Adds the elements of the specified collection of s to the server list. - - The collection of s to add. - false if any of the specified servers are already in the list, true otherwise. - - - - Merges the list with a new list of servers provided to us by the Steam servers. - This adds the new list of s to the beginning of the list, - ensuring that any pre-existing servers are moved into their new place in order near - the beginning of the list. - - The s to merge into this . - - + Explicitly resets the known state of all servers. - + - Removes all servers from the list. + Perform the actual score lookup of the server list and return the candidate + IPEndPoint candidate - + Get the next server in the list. An , or null if the list is empty. - + + + Get the next server in the list. + + An , or null if the list is empty. + + Gets the s of all servers in the server list. An array contains the s of the servers in the list + + + A server list provider that uses IsolatedStorage to persist the server list + + + + + Initialize a new instance of IsolatedStorageServerListProvider using + + + + + Read the stored list of servers from IsolatedStore + + List of servers if persisted, otherwise an empty list + + + + Writes the supplied list of servers to persistent storage + + List of server endpoints + Awaitable task for write completion + + + + An interface for persisting the server list for connection discovery + + + + + Ask a provider to fetch any servers that it has available + + A list of IPEndPoints representing servers + + + + Update the persistent list of endpoints + + List of endpoints + The CDNClient class is used for downloading game content from the Steam servers. @@ -2788,6 +2881,14 @@ The GameID to request the number of players for. The Job ID of the request. This can be used to find the appropriate . + + + Retrieves the number of current players for a given app id. + Results are returned in a . + + The app id to request the number of players for. + The Job ID of the request. This can be used to find the appropriate . + Asks the Steam back-end for a leaderboard by name for a given appid. @@ -2831,7 +2932,7 @@ - This callback is fired in response to . + This callback is fired in response to . @@ -3074,6 +3175,13 @@ The length of time to block. + + + Blocks the current thread to run all queued callbacks. + If no callback is queued, the method will block for the given timeout. + + The length of time to block. + Blocks the current thread to run a single queued callback. @@ -6322,8 +6430,8 @@ Gets or sets the LoginID. This number is used for identifying logon session. The purpose of this field is to allow multiple sessions to the same steam account from the same machine. - This is because Steam Network doesn't allow more than one session with the same LoginID to access given account at the same time. - If you want to establish more than one active session to given account, you must make sure that every session (to that account) has unique LoginID. + This is because Steam Network doesn't allow more than one session with the same LoginID to access given account at the same time from the same public IP. + If you want to establish more than one active session to given account, you must make sure that every session (to that account) from the same public IP has a unique LoginID. By default LoginID is automatically generated based on machine's primary bind address, which is the same for all sessions. Null value will cause this property to be automatically generated based on default behaviour. If in doubt, set this property to null. @@ -6734,6 +6842,14 @@ The length of time to block. A callback object from the queue if a callback has been posted, or null if the timeout has elapsed. + + + Blocks the calling thread until the queue contains a callback object. Returns all callbacks, and optionally frees them. + + if set to true this function also frees all callbacks. + The length of time to block. + All current callback objects in the queue. + Frees the last callback in the queue. @@ -7031,6 +7147,22 @@ The value of this instance as a string. + + + Attempts to convert and return the value of this instance as an unsigned byte. + If the conversion is invalid, the default value is returned. + + The default value to return if the conversion is invalid. + The value of this instance as an unsigned byte. + + + + Attempts to convert and return the value of this instance as an unsigned short. + If the conversion is invalid, the default value is returned. + + The default value to return if the conversion is invalid. + The value of this instance as an unsigned short. + Attempts to convert and return the value of this instance as an integer. @@ -7039,6 +7171,14 @@ The default value to return if the conversion is invalid. The value of this instance as an integer. + + + Attempts to convert and return the value of this instance as an unsigned integer. + If the conversion is invalid, the default value is returned. + + The default value to return if the conversion is invalid. + The value of this instance as an unsigned integer. + Attempts to convert and return the value of this instance as a long. @@ -7325,11 +7465,11 @@ if set to true, the message is protobuf flagged. A crafted EMsg, flagged if requested. - + Connects to the specified end point. - The end point. + Task returning the end point. Timeout in milliseconds @@ -7394,11 +7534,11 @@ The highest sequence number we've processed. - + Connects to the specified CM server. - The CM server. + Task returning the CM server. Timeout in milliseconds @@ -7460,7 +7600,7 @@ True if a message was dispatched, false otherwise - + Processes incoming packets, maintains connection consistency, and oversees outgoing packets. @@ -7528,11 +7668,11 @@ Occurs when the physical connection is broken. - + Connects to the specified end point. - The end point. + Task returning the end point. Timeout in milliseconds diff --git a/packages/SteamKit2.1.7.0/readme.txt b/packages/SteamKit2.1.8.0/readme.txt similarity index 94% rename from packages/SteamKit2.1.7.0/readme.txt rename to packages/SteamKit2.1.8.0/readme.txt index 119f093f3..f706a066e 100644 --- a/packages/SteamKit2.1.7.0/readme.txt +++ b/packages/SteamKit2.1.8.0/readme.txt @@ -1,3 +1,25 @@ +------------------------------------------------------------------------------ +v 1.8.0 Jul 8, 2016 +------------------------------------------------------------------------------ +* Added `CallbackManager.RunWaitAllCallbacks` (pr #292) +* Added `KeyValue.AsUnsignedByte`. (pr #270) +* Added `KeyValue.AsUnsignedInteger`. (pr #255) +* Added `KeyValue.AsUnsignedShort`. (pr #270) +* Added `SteamUserStats.GetNumberOfCurrentPlayers(GameID)`. (pr #234) +* Added the ability to persist the server list to Isolated Storage. (pr #293) +* Added the ability to persist the server list to a file. (pr #293) +* Added support for fetching server list from the Steam Directory API. (pr #293) +* Fixed a crash on Windows if WMI is unavailable. +* Fixed a memory leak when reconnecting to Steam with the same `SteamClient` instance (pr #292) +* Updated `SteamUserStats.GetNumberOfCurrentPlayers` to use messages that Steam continues to respond to. (pr #234) +* Updated Steam enums and protobufs. (pr #271, pr #274, pr #296) +* Updated game-related GC messages and protobufs. +* Removed the hardcoded list of Steam server addresses. (pr #293) + +BREAKING CHANGES +* `SmartCMServerList` APIs have changed to accomodate new server management behaviour. + + ------------------------------------------------------------------------------ v 1.7.0 Dec 21, 2015 ------------------------------------------------------------------------------ @@ -13,7 +35,7 @@ v 1.7.0 Dec 21, 2015 * Server List will now maintain ordering from Steam, increasing the chances of a successful and geographically local connection. (pr #218) * After calling `SteamUser.LogOff` or `SteamGameServer.LogOff`, `SteamClient.DisconnectedCallback.UserInitiated` will be `true`. (pr #205) * Fixed a crash when parsing a Steam ID of the format '[i:1:234]'. -* Fixed a crash when logging on in an enviromnent where the hard disk has no serial ID, such as Hyper-V. +* Fixed a crash when logging on in an environment where the hard disk has no serial ID, such as Hyper-V. * Fixed a bug when parsing a KeyValue file that contains a `/` followed by a newline. (pr #187) * Updated Steam enums and protobufs. * Updated game-related GC messages and protobufs.