From d7fd203c028defcb0f96c64b204934aac56b8681 Mon Sep 17 00:00:00 2001 From: Leonardo D'Aubeterre Date: Thu, 14 Sep 2017 17:18:52 +0200 Subject: [PATCH] Update README.md Change the Create Server example to reflect the latest version. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 30d4f9e..3002faf 100644 --- a/README.md +++ b/README.md @@ -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.