Unstable 1.1.14.0

This commit is contained in:
Markus Isberg
2023-10-02 16:43:54 +03:00
parent 94f5a93a0c
commit cf8f0de659
606 changed files with 21906 additions and 11456 deletions
@@ -21,8 +21,7 @@ namespace Steamworks
/// </summary>
public struct SteamServerInit
{
public IPAddress? IpAddress;
public ushort SteamPort;
public IPAddress? IpAddress;
public ushort GamePort;
public ushort QueryPort;
public InitServerMode Mode;
@@ -60,18 +59,8 @@ namespace Steamworks
Mode = InitServerMode.Authentication;
VersionString = "1.0.0.0";
IpAddress = null;
SteamPort = 0;
}
/// <summary>
/// Set the Steam quert port
/// </summary>
public SteamServerInit WithRandomSteamPort()
{
SteamPort = (ushort)new Random().Next( 10000, 60000 );
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