mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-08 06:08:20 -05:00
add back missing "Port" field for Server
This commit is contained in:
parent
cdfcb25072
commit
6faa9b0b43
@ -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…
x
Reference in New Issue
Block a user