Commit Graph

346 Commits

Author SHA1 Message Date
Garry Newman
1cf2130703 Compile fixes, netstandard2.0 2017-08-30 23:10:55 +01:00
Garry Newman
13c8b543cc Merge pull request #66 from MollerVictor/master
Added support for publishing workshop items to the main app from anot…
2017-08-30 22:45:46 +01:00
Victor Möller
2b4c62bd28 Added support for publishing workshop items to the main app from another app. 2017-08-30 23:35:47 +02:00
Garry Newman
cc4bdcea8d Use IPAddress 2017-08-17 14:45:58 +01:00
Garry Newman
c6bd69092a Added ServerRequest.OnServerResponded, OnFinished 2017-08-17 13:21:22 +01:00
Garry Newman
4ba430601a Console errors on init failure 2017-08-17 12:02:32 +01:00
Garry Newman
79f398da04 Throw exception if trying to initialize without destroying old instance 2017-08-17 12:00:29 +01:00
Garry Newman
a6b440324b Merge pull request #62 from kkukshtel/master 2017-08-17 07:53:11 +01:00
Kyle Kukshtel
d614b1544b Fixes issue where Lobby Owner was being imporperly cached and not updating with the Lobby state. 2017-08-16 22:26:37 -07:00
Kyle Kukshtel
fd14512e28 fixes bug where Lobby Owner was unable to be set 2017-08-16 19:45:35 -07:00
Garry Newman
c5af1f91cf Nicer shutdown, I think 2017-08-16 22:11:00 +01:00
Garry Newman
5dcfda6c15 Merge pull request #56 from kkukshtel/master
Adds in Lobby functionality to library
2017-08-08 09:27:42 +01:00
Kyle Kukshtel
9516d1ed7a Merge remote-tracking branch 'refs/remotes/Facepunch/master' 2017-08-07 09:24:49 -07:00
Kyle Kukshtel
5067c32eed Small README update and adjusts doc tags for Lobby functions. 2017-08-07 09:24:28 -07:00
James King
ba32817183 Added Screenshots.Write( rgbData, width, height ) 2017-08-07 12:13:16 +01:00
Kyle Kukshtel
bef249000a Simple comment update 2017-08-06 22:09:13 -07:00
Kyle Kukshtel
cc4fdd5324 Cleans up some comments 2017-08-04 01:56:14 -07:00
Kyle Kukshtel
abea08d046 Fixes bug where LobbyList wouldn't report finished if it returned 0 lobbies 2017-08-01 00:19:37 -07:00
Kyle Kukshtel
6aa5bcf1ac Updates Readme with basic Lobby Info 2017-07-31 23:54:32 -07:00
Kyle Kukshtel
a1f24c5f24 Implements ability for a user to set/get individual user metadata for the joined lobby 2017-07-31 23:42:29 -07:00
Kyle Kukshtel
bcd8495d6e 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.
2017-07-31 22:44:46 -07:00
Kyle Kukshtel
75484c1e00 Adds in test functions for Lobby functionality in Steamworks 2017-07-31 09:30:26 -07:00
Kyle Kukshtel
beccb5e5e9 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.
2017-07-31 09:29:53 -07:00
Kyle Kukshtel
c40037784e 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.
2017-07-31 09:28:09 -07:00
Garry Newman
72c5427be6 Changed Server.Stats.Set to SetInt/SetFloat 2017-07-31 12:56:54 +01:00
Garry Newman
b62f7f6b87 Server stats callback include client steamid 2017-07-31 12:56:15 +01:00
Garry Newman
7bd8aaa793 OnAchievementStateChanged nicer 2017-07-31 10:31:04 +01:00
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
Kyle Kukshtel
e1c738fc8b 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.
2017-07-28 02:20:28 -07: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
Kyle Kukshtel
7e38750f2e changes lobby initialization and makes lobbylist filter easier 2017-07-25 10:09:41 -07:00
Kyle Kukshtel
e3f84eac32 Initial pass at getting coverage for Client functions in API 2017-07-19 19:07:59 -07: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