mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 06:38:01 +03:00
commit
616040da42
@ -63,7 +63,11 @@ Or use it in a using block if you can.
|
|||||||
To create a server do this.
|
To create a server do this.
|
||||||
|
|
||||||
```csharp
|
```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.
|
This will register a secure server for game 252490, any ip, port 28015. Again, more usage in the Facepunch.Steamworks.Test project.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user