repoFacepunch.Steamworkscancel
505 Commits over 2,802 Days - 0.01cph!
Now pinning delegates in callbacks / callresults
Added RemoteFile.Forget()
Replaced `NETCORE` defines with `NET_CORE`
Don't require unsafe to use voice
Fixed InstallFolder exception
This folder does not always exist.
Update Client.cs
Merge pull request #70 from Phyxion/patch-1
Fixed InstallFolder exception
Update README.md
Change the Create Server example to reflect the latest version.
Merge pull request #75 from Leodau/patch-1
Update README.md
Initial pass at getting coverage for Client functions in API
changes lobby initialization and makes lobbylist filter easier
Updates Lobby to work for both Lobby members and Lobby Owners
Uses a more rigurous approach to LobbyData and uses it as a cache for
string-able values to be able to be retrieved by members and set only by
the owner.
Caches created LobbyType to be assigned as a LobbyData to be referenced by other members in the lobby.
Because there is no GetLobbyType, provides a layer in which all users
can get a LobbyType from LobbyData.
Gives LobbyList the ability to be queried for if it is Finished or not.
A lobby refresh will finish when the number of cached lobbies equals the
number of requests.
Adds in test functions for Lobby functionality in Steamworks
Adds in ability to send Lobby messages
Also adds in some callbacks around being invited to a lobby, as well
callbacks for being requested to join a lobby.
Implements ability for a user to set/get individual user metadata for the joined lobby
Updates Readme with basic Lobby Info
Fixes bug where LobbyList wouldn't report finished if it returned 0 lobbies
Cleans up some comments
Simple comment update
Small README update and adjusts doc tags for Lobby functions.
Merge remote-tracking branch 'refs/remotes/Facepunch/master'
Merge pull request #56 from kkukshtel/master
Adds in Lobby functionality to library
Nicer shutdown, I think
fixes bug where Lobby Owner was unable to be set
Fixes issue where Lobby Owner was being imporperly cached and not updating with the Lobby state.
Merge pull request #62 from kkukshtel/master
Throw exception if trying to initialize without destroying old instance
Console errors on init failure
Added ServerRequest.OnServerResponded, OnFinished
Use IPAddress
Added support for publishing workshop items to the main app from another app.
Merge pull request #66 from MollerVictor/master
Added support for publishing workshop items to the main app from anot…
Compile fixes, netstandard2.0
Added .NET 4.0
Merge pull request #71 from Phyxion/patch-2
Added .NET 4.0
NormalizePath fix for non-windows
Merge branch 'master' into workshop
NormalizePath fix for non-windows
Added .NET 4.0
Merge pull request #71 from Phyxion/patch-2
Added .NET 4.0
Compile fixes, netstandard2.0
Added support for publishing workshop items to the main app from another app.
Merge pull request #66 from MollerVictor/master
Added support for publishing workshop items to the main app from anot…
Added ServerRequest.OnServerResponded, OnFinished
Use IPAddress
Throw exception if trying to initialize without destroying old instance
Console errors on init failure
fixes bug where Lobby Owner was unable to be set
Fixes issue where Lobby Owner was being imporperly cached and not updating with the Lobby state.
Merge pull request #62 from kkukshtel/master
NormalizePath fix for non-windows
Initial pass at getting coverage for Client functions in API
changes lobby initialization and makes lobbylist filter easier
Updates Lobby to work for both Lobby members and Lobby Owners
Uses a more rigurous approach to LobbyData and uses it as a cache for
string-able values to be able to be retrieved by members and set only by
the owner.
Caches created LobbyType to be assigned as a LobbyData to be referenced by other members in the lobby.
Because there is no GetLobbyType, provides a layer in which all users
can get a LobbyType from LobbyData.
Gives LobbyList the ability to be queried for if it is Finished or not.
A lobby refresh will finish when the number of cached lobbies equals the
number of requests.
Adds in test functions for Lobby functionality in Steamworks
Adds in ability to send Lobby messages
Also adds in some callbacks around being invited to a lobby, as well
callbacks for being requested to join a lobby.
Implements ability for a user to set/get individual user metadata for the joined lobby
Updates Readme with basic Lobby Info
Fixes bug where LobbyList wouldn't report finished if it returned 0 lobbies
Cleans up some comments
Simple comment update
Small README update and adjusts doc tags for Lobby functions.
Merge remote-tracking branch 'refs/remotes/Facepunch/master'
Merge pull request #56 from kkukshtel/master
Adds in Lobby functionality to library
Added some workshop API members for Chunks
Currently OnItemCreated doesn't seem to get called
Added Screenshots.Write( rgbData, width, height )
Server stats callback include client steamid
Changed Server.Stats.Set to SetInt/SetFloat
Don't StoreStats achievement on trigger if already unlocked
Refresh achievements on startup
Added Achievments.OnAchievementStateChanged
Check GameId on achievement callbacks
OnAchievementStateChanged nicer
Calls on an unresolved leaderboard are deferred
Applies to:
* AddScore( bool onlyIfBeatsOldScore, int score, params int[] subscores )
* AddScore( bool onlyIfBeatsOldScore, int score, int[] subscores = null, AddScoreCallback onSuccess = null, FailureCallback onFailure = null )
* AttachRemoteFile( RemoteFile file, AttachRemoteFileCallback onSuccess = null, FailureCallback onFailure = null )
* FetchScores( RequestType RequestType, int start, int end, FetchScoresCallback onSuccess, FailureCallback onFailure = null )
Implemented Workshop Item Subscription
Added subscribing to items as well as the UGC interfaces
GetNumSubscribedItems and GetSubscribedItems. Edited SteamUGC Method
GetSubscribedItems to accept array instead of a ptr to allow c# calling
Updated from feedback given
Removed GetSubscribedItems, could not find a nice way to change to property
Merge pull request #44 from moldfield1995/master
Implemented Workshop Item Subscription
Merge pull request #1 from Facepunch/master
Merge pull request #45 from richdog/master
Added AppId check to Workshop.onItemInstalled, like with onDownloadResult
Made OnItemInstalled event public so it can be used to handle workshop items being subscribed to in-game
Modified summary for OnFileDownloaded to more accurately represent my experience with the event.
Merge pull request #46 from richdog/master
Made changes surrounding OnItemInstalled and OnFileDownloaded events in Workshop.cs
updated Workshop.onDownloadResult method to ensure that the item's app ID matches the client app id, as described in the DownloadItemResult_t Steamworks documentation
Merge pull request #45 from richdog/master
Updated Workshop.onDownloadResult to compare downloaded item's application to current application
Fixed Workshop.Item wrong created/modified dates
Added an exception when attempting to write to a shared file
Added RemoteStorage.OpenSharedFile(sharingId)
Moved missing api descriptions to steam_api_missing.json (was defined in code)
Added SteamAPI_RestartAppIfNecessary to missing
Made SteamNative.SteamApi less hacky to initialize
Added Client.RestartIfNecessary
If initialize failed, set instance to null
Get applist
Added ServerInit class, changed how servers are initialized
Fixed Friend.IsOnline not working, added IsAway, IsBusy, IsSnoozing
Added optional onFailure callbacks to leaderboard and remote file methods that accept a callback (for #23)
Cleaned up RemoteStorage
Added common utility functions to RemoteStorage
Added Inventory.GenerateItem
Microtransaction callback (requested, but untested)
Call StoreStats when triggering an achievement
Singleton accessors for Client/Server
Added missing Stats.StoreStats() API-method that one needs to call to make Steam Achievements show in Steam while the game is still running.
Merge pull request #21 from DaDummy/master
Add missing Stats.StoreStats() API-method
Fixed downloading leaderboard file attachments
Added documentation for the new Leaderboard and RemoteStorage members
Added Leaderboard.AttachRemoteFile
Working on a RemoteStorage interface
Fixed AddScoresCallback test
Added Leaderboard.AddScore overload that accepts a callback
Added overload of Leaderboard.FetchScores that takes a callback