mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-06 02:30:36 +03:00
Revert "Revert "Fixed server not being listed on master server""
This reverts commit ac8983ee949501dec4a241e3494a57fa7cc61de3.
This commit is contained in:
parent
ac8983ee94
commit
a02d1e87a7
@ -36,17 +36,21 @@ namespace Steamworks
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string GameDescription;
|
public string GameDescription;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is a dedicated server
|
||||||
|
/// </summary>
|
||||||
|
public bool DedicatedServer;
|
||||||
|
|
||||||
|
|
||||||
public SteamServerInit( string modDir, string gameDesc )
|
public SteamServerInit( string modDir, string gameDesc )
|
||||||
{
|
{
|
||||||
|
DedicatedServer = true;
|
||||||
ModDir = modDir;
|
ModDir = modDir;
|
||||||
GameDescription = gameDesc;
|
GameDescription = gameDesc;
|
||||||
GamePort = 27015;
|
GamePort = 27015;
|
||||||
QueryPort = 27016;
|
QueryPort = 27016;
|
||||||
Secure = true;
|
Secure = true;
|
||||||
VersionString = "1.0.0.0";
|
VersionString = "1.0.0.0";
|
||||||
ModDir = "unset";
|
|
||||||
GameDescription = "unset";
|
|
||||||
IpAddress = null;
|
IpAddress = null;
|
||||||
SteamPort = 0;
|
SteamPort = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user