1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

Cleaned up some code and adhered closer to the Microsoft code standards.

This commit is contained in:
RaidMax
2017-06-12 13:50:00 -04:00
parent 7a81f6c2bd
commit 0ef306a60c
22 changed files with 507 additions and 573 deletions

View File

@ -122,23 +122,23 @@ namespace SharedLibrary
return $"{Name}::{NetworkID}";
}
public String getLastConnection()
public String GetLastConnection()
{
return Utilities.timePassed(LastConnection);
}
public void updateName(String n)
public void UpdateName(String n)
{
if (n.Trim() != String.Empty)
Name = n;
}
public void updateIP(String I)
public void SetIP(String I)
{
IP = I;
}
public void setLevel(Permission Perm)
public void SetLevel(Permission Perm)
{
Level = Perm;
}
@ -184,6 +184,5 @@ namespace SharedLibrary
public int Warnings;
public Aliases Alias;
public bool Masked;
public int selectedServer;
}
}