Commit Graph

563 Commits

Author SHA1 Message Date
Garry Newman
75530c6bef Revert "Now pinning delegates in callbacks / callresults"
This reverts commit e2ef2b0bf7.
2017-12-06 11:14:38 +00:00
Garry Newman
33393e8725 Validate Update in ClientTest 2017-12-06 11:14:29 +00:00
Garry Newman
3001f2a5c4 Fixed warnings etc 2017-12-06 10:50:11 +00:00
James King
7913ccd171 Pinned some more delegates 2017-11-28 11:22:43 +00:00
James King
e2ef2b0bf7 Now pinning delegates in callbacks / callresults 2017-11-28 10:37:40 +00:00
James King
47f153ffa6 Added RemoteFile.Forget() 2017-11-09 11:00:10 +00:00
James King
1d0fe2b814
Update README.md 2017-11-07 16:58:24 +00:00
James King
7d30ffc734 Replaced NETCORE defines with NET_CORE 2017-11-06 20:42:50 +00:00
Rohan Singh
60933de240 Don't require unsafe to use voice 2017-10-26 09:35:09 -04:00
Garry Newman
a3a4c87ede Merge pull request #70 from Phyxion/patch-1
Fixed InstallFolder exception
2017-10-11 19:21:40 +01:00
Garry Newman
616040da42 Merge pull request #75 from Leodau/patch-1
Update README.md
2017-10-11 19:21:23 +01:00
James King
2e65cfe9bb NormalizePath fix for non-windows 2017-09-18 10:36:51 +01:00
Leonardo D'Aubeterre
d7fd203c02 Update README.md
Change the Create Server example to reflect the latest version.
2017-09-14 17:18:52 +02:00
Phyxion
e8b6f31bb2 Update Client.cs 2017-09-05 13:53:29 +02:00
Garry Newman
0366c39690 Merge pull request #71 from Phyxion/patch-2
Added .NET 4.0
2017-09-05 12:36:54 +01:00
Phyxion
b6c7916684 Added .NET 4.0 2017-09-05 13:30:35 +02:00
Phyxion
72bae11073 Fixed InstallFolder exception
This folder does not always exist.
2017-09-05 13:29:07 +02:00
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