mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
Intial Commit of Version 0.1
This commit is contained in:
29
Admin/Admin.cs
Normal file
29
Admin/Admin.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace IW4MAdmin
|
||||
{
|
||||
class Admin
|
||||
{
|
||||
public Admin()
|
||||
{
|
||||
Time = DateTime.Now;
|
||||
Server = new Server("127.0.0.1", 28960, "NO");
|
||||
}
|
||||
|
||||
public Server Server;
|
||||
|
||||
public static String getTime()
|
||||
{
|
||||
return DateTime.Now.ToString("H:mm:ss");
|
||||
}
|
||||
|
||||
public void Monitor()
|
||||
{
|
||||
Server.Monitor();
|
||||
}
|
||||
|
||||
private DateTime Time;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user