Version 0.6
Pre-release
Pre-release
Changes
- Added Stats.Set
- Added Stats.Add
- Added Friend.IsOnline
- Added Friend.IsAway
- Added Friend.IsBusy
- Added Friend.IsSnoozing
- Refactored Server Init
- Simpified Client.RemoteStorage
- Added Client.RestartIfNecessary (static)
New Server Init
Some people found it difficult to create a server that was actually visible in the previous versions. This was because to get your server listed you needed to fill in GameDescription, ModDir and Product. Since these things can't be changed at any point beyond initialization I've refactored the way servers are created.
Old Way:
var server = new Facepunch.Steamworks.Server( 252490, 0, 30003, 30004, 30005, false, "VersionString" )
New Way:
var serverInit = new ServerInit( "rust", "Rust" );
serverInit.GamePort = 28015;
serverInit.Secure = true;
serverInit.QueryPort = 28016;
var server = new Facepunch.Steamworks.Server( 252490, serverInit )
This feels like a common sense change, making the process a bit more self documenting and a lot more foolproof. We've been using this new initialization method in Rust for a couple of weeks, so it's all tried and tested.
Missing Features
If you're using the library and are missing features - open a new issue and we'll try to add it as soon as possible.