Commit Graph

316 Commits

Author SHA1 Message Date
Garry Newman
84954436f7 Check GameId on achievement callbacks 2017-07-28 17:04:29 +01:00
Garry Newman
61268b973e Added Achievments.OnAchievementStateChanged 2017-07-28 17:04:18 +01:00
Garry Newman
c6cb8a2f81 Refresh achievements on startup 2017-07-28 17:03:35 +01:00
Garry Newman
a26ae696c2 Don't StoreStats achievement on trigger if already unlocked 2017-07-28 17:03:12 +01:00
James King
1c04459cdb 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 )
2017-07-28 15:38:07 +01:00
Garry Newman
7eb4a88cee Merge pull request #44 from moldfield1995/master
Implemented Workshop Item Subscription
2017-07-26 17:13:19 +01:00
Garry Newman
6c4296a0fc Merge pull request #46 from richdog/master
Made changes surrounding OnItemInstalled and OnFileDownloaded events in Workshop.cs
2017-07-26 17:12:56 +01:00
Matthew Oldfield
e6c395b2f6 Removed GetSubscribedItems, could not find a nice way to change to property 2017-07-12 23:21:33 +01:00
Rich
bf7ab5598b Modified summary for OnFileDownloaded to more accurately represent my experience with the event. 2017-07-12 17:19:55 -04:00
Rich
c9d36eb4ac Made OnItemInstalled event public so it can be used to handle workshop items being subscribed to in-game 2017-07-12 17:18:29 -04:00
Rich
a2972098d9 Added AppId check to Workshop.onItemInstalled, like with onDownloadResult 2017-07-12 17:17:26 -04:00
richdog
d53c59f09b Merge pull request #1 from Facepunch/master
Merge pull request #45 from richdog/master
2017-07-11 14:04:49 -04:00
Garry Newman
ed632baf38 Merge pull request #45 from richdog/master
Updated  Workshop.onDownloadResult to compare downloaded item's application to current application
2017-07-11 09:59:43 +01:00
Rich
3ecd7e4e4e 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 2017-07-10 18:05:34 -04:00
Matthew Oldfield
27f640fd5a Updated from feedback given 2017-07-10 19:15:36 +01:00
Matthew Oldfield
2108dc3b76 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
2017-07-10 15:15:53 +01:00
Garry Newman
bf21cb9df3 Fixed Workshop.Item wrong created/modified dates 2017-07-08 13:43:37 +01:00
Garry Newman
499b0d64c5 Added Stats.ResetAll 2017-07-08 13:40:01 +01:00
James King
598f44e9f8 Added RemoteStorage.OpenSharedFile(sharingId) 2017-07-07 15:43:12 +01:00
James King
d129f3757a Added an exception when attempting to write to a shared file 2017-07-07 15:42:54 +01:00
Garry Newman
ea4c6d72b5 Added Stats.Add 2017-07-06 10:45:03 +01:00
Garry Newman
b327ab70f1 Useful comment 2017-07-06 10:37:23 +01:00
Garry Newman
28766081b5 Added Client.RestartIfNecessary 2017-07-06 10:33:28 +01:00
Garry Newman
67fb987288 Made SteamNative.SteamApi less hacky to initialize 2017-07-06 10:33:13 +01:00
Garry Newman
5890fea9e6 Added SteamAPI_RestartAppIfNecessary to missing 2017-07-06 10:05:23 +01:00
Garry Newman
892edf371e Moved missing api descriptions to steam_api_missing.json (was defined in code) 2017-07-06 10:02:23 +01:00
Garry Newman
d944c6c7ae If initialize failed, set instance to null 2017-06-26 14:40:14 +01:00
Garry Newman
e5b6d99bef Added ServerInit class, changed how servers are initialized 2017-06-25 20:23:34 +01:00
Garry Newman
111495100f Get applist 2017-06-25 20:22:33 +01:00
Garry Newman
1a47b32458 Fixed Friend.IsOnline not working, added IsAway, IsBusy, IsSnoozing 2017-06-25 11:51:53 +01:00
Garry Newman
3002419af0 Added Stats.Set 2017-06-25 11:44:26 +01:00
James King
0a115f8ea4 Added optional onFailure callbacks to leaderboard and remote file methods that accept a callback (for #23) 2017-06-12 11:59:18 +01:00
Garry Newman
0a9f3f2281 Added common utility functions to RemoteStorage 2017-06-09 11:46:44 +01:00
Garry Newman
e3312d3387 Cleaned up RemoteStorage 2017-06-09 11:36:53 +01:00
Garry Newman
4390724cbe friend.GetRichPresence 2017-06-09 11:06:05 +01:00
Garry Newman
3752e75316 Setting Rich Presence 2017-06-09 11:00:01 +01:00
Garry Newman
b92fba15ec Added Inventory.GenerateItem 2017-06-09 10:40:04 +01:00
Garry Newman
38f3f6d9ea Oops 2017-06-09 10:32:34 +01:00
Garry Newman
303da3753d Microtransaction callback (requested, but untested) 2017-06-09 10:30:43 +01:00
Garry Newman
67fd7fe00a Singleton accessors for Client/Server 2017-06-09 10:18:39 +01:00
Garry Newman
d417f22336 Call StoreStats when triggering an achievement 2017-06-09 10:16:11 +01:00
Garry Newman
53709bf5d0 Merge pull request #21 from DaDummy/master
Add missing Stats.StoreStats() API-method
2017-06-08 09:40:31 +01:00
Christoffer Anselm
3ffe684726 Added missing Stats.StoreStats() API-method that one needs to call to make Steam Achievements show in Steam while the game is still running. 2017-06-08 01:14:19 +02:00
James King
7e3527799a Fixed downloading leaderboard file attachments 2017-05-16 16:35:37 +01:00
James King
836f6e285c Added documentation for the new Leaderboard and RemoteStorage members 2017-05-16 09:30:28 +01:00
James King
788145c265 Added Leaderboard.AttachRemoteFile 2017-05-16 09:13:52 +01:00
James King
6ea0e366f5 Working on a RemoteStorage interface 2017-05-15 17:11:17 +01:00
James King
549ceb0562 Fixed AddScoresCallback test 2017-05-15 14:13:28 +01:00
James King
906cff4416 Added Leaderboard.AddScore overload that accepts a callback 2017-05-15 14:05:36 +01:00
James King
d3ebe4e2f2 Added overload of Leaderboard.FetchScores that takes a callback 2017-05-15 13:23:19 +01:00