mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-12 08:08:06 -05:00
Various fixes and renamed 'libary' to 'library'
This commit is contained in:
30
SharedLibrary/Command.cs
Normal file
30
SharedLibrary/Command.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace SharedLibrary
|
||||
{
|
||||
public abstract class Command
|
||||
{
|
||||
public Command(String N, String D, String A, Player.Permission P, int args, bool nT)
|
||||
{
|
||||
Name = N;
|
||||
Description = D;
|
||||
Alias = A;
|
||||
Permission = P;
|
||||
requiredArgNum = args;
|
||||
needsTarget = nT;
|
||||
}
|
||||
|
||||
//Execute the command
|
||||
abstract public void Execute(Event E);
|
||||
|
||||
public String Name { get; private set; }
|
||||
public String Description { get; private set; }
|
||||
public String Alias { get; private set; }
|
||||
public int requiredArgNum { get; private set; }
|
||||
public bool needsTarget { get; private set; }
|
||||
public Player.Permission Permission { get; private set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user