A Swift package to directly interact with Steam.
Add the following to the
dependencies of your
.package(url: "https://github.com/sebj/Steam.git", .upToNextMinor(from: "0.1.0"))
SteamServer.defaultServersor fetch the latest Steam server list using
SteamServiceand connect to the chosen server (
removeFriendetc) as desired.
Several Steam Protobufs from SteamDatabase/Protobufs and their converted Swift models (via Swift Protobuf) are bundled with this library, as Swift packages do not currently support running scripts/custom build phase actions (which would ideally be used to clone the Protobufs repo, convert and copy the relevant files).
|Last commit: 6 days ago|