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", ...)
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).
This library is released under the MIT license. See the LICENSE file for more information.
link |
Stars: 15 |
Last commit: 8 weeks ago |
🚀
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics