mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 22:55:55 +03:00
reverted changes
This commit is contained in:
parent
b84a5a88f9
commit
b9509e9782
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
@ -53,31 +52,6 @@ public SteamServerInit( string modDir, string gameDesc )
|
||||
IpAddress = null;
|
||||
}
|
||||
|
||||
public ServerInit(IPAddress ip, string modDir, string gameDesc)
|
||||
{
|
||||
IpAddress = ip.IpToInt32();
|
||||
ModDir = modDir;
|
||||
GameDescription = gameDesc;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// set the server ip
|
||||
/// </summary>
|
||||
public ServerInit Ip(string ip)
|
||||
{
|
||||
IpAddress = IPAddress.Parse(ip).IpToInt32();
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// set the server ip
|
||||
/// </summary>
|
||||
public ServerInit Ip(IPAddress ip)
|
||||
{
|
||||
IpAddress = ip.IpToInt32();
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// If you pass MASTERSERVERUPDATERPORT_USEGAMESOCKETSHARE into usQueryPort, then it causes the game server API to use
|
||||
/// "GameSocketShare" mode, which means that the game is responsible for sending and receiving UDP packets for the master
|
||||
|
Loading…
Reference in New Issue
Block a user