add back missing "Port" field for Server
This commit is contained in:
parent
e558d912cf
commit
ffb32ccc45
@ -64,7 +64,7 @@ namespace SharedLibraryCore
|
|||||||
{
|
{
|
||||||
Password = config.Password;
|
Password = config.Password;
|
||||||
IP = config.IPAddress;
|
IP = config.IPAddress;
|
||||||
ListenPort = config.Port;
|
Port = config.Port;
|
||||||
Manager = mgr;
|
Manager = mgr;
|
||||||
#pragma warning disable CS0612
|
#pragma warning disable CS0612
|
||||||
Logger = deprecatedLogger ?? throw new ArgumentNullException(nameof(deprecatedLogger));
|
Logger = deprecatedLogger ?? throw new ArgumentNullException(nameof(deprecatedLogger));
|
||||||
@ -159,8 +159,8 @@ namespace SharedLibraryCore
|
|||||||
public IPEndPoint ResolvedIpEndPoint { get; protected set; }
|
public IPEndPoint ResolvedIpEndPoint { get; protected set; }
|
||||||
public string Version { get; protected set; }
|
public string Version { get; protected set; }
|
||||||
public bool IsInitialized { get; set; }
|
public bool IsInitialized { get; set; }
|
||||||
|
public int Port { get; protected set; }
|
||||||
public int ListenPort { get; }
|
public int ListenPort => Port;
|
||||||
public abstract Task Kick(string reason, EFClient target, EFClient origin, EFPenalty originalPenalty);
|
public abstract Task Kick(string reason, EFClient target, EFClient origin, EFPenalty originalPenalty);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user