A Swift package to directly interact with Steam.
Add the following to the dependencies
of your Package.swift
file:
.package(url: "https://github.com/sebj/Steam.git", .upToNextMinor(from: "0.1.0"))
SteamServer.defaultServers
or fetch the latest Steam server list using SteamServersFetcher
.SteamService
and connect to the chosen server (connect
).login
addFriend
, removeFriend
etc) 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).
link |
Stars: 8 |
Last commit: 6 days ago |
🚀
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics