Merge pull request #75 from Leodau/patch-1

Update README.md
This commit is contained in:
Garry Newman 2017-10-11 19:21:23 +01:00 committed by GitHub
commit 616040da42

View File

@ -63,7 +63,11 @@ Or use it in a using block if you can.
To create a server do this.
```csharp
var server = new Facepunch.Steamworks.Server( 252490, 0, 28015, true, "MyGame453" );
ServerInit options = new ServerInit("GameDirectoryName", "GameDescription");
```
```csharp
var server = new Facepunch.Steamworks.Server(252490, options);
```
This will register a secure server for game 252490, any ip, port 28015. Again, more usage in the Facepunch.Steamworks.Test project.