Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
39
Scripts/SubSystem/TownHouses/Misc/CommandInfo.cs
Normal file
39
Scripts/SubSystem/TownHouses/Misc/CommandInfo.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
#region References
|
||||
using Server;
|
||||
#endregion
|
||||
|
||||
namespace Knives.TownHouses
|
||||
{
|
||||
public delegate void TownHouseCommandHandler(CommandInfo info);
|
||||
|
||||
public class CommandInfo
|
||||
{
|
||||
private readonly Mobile c_Mobile;
|
||||
private readonly string c_Command;
|
||||
private readonly string c_ArgString;
|
||||
private readonly string[] c_Arguments;
|
||||
|
||||
public Mobile Mobile { get { return c_Mobile; } }
|
||||
public string Command { get { return c_Command; } }
|
||||
public string ArgString { get { return c_ArgString; } }
|
||||
public string[] Arguments { get { return c_Arguments; } }
|
||||
|
||||
public CommandInfo(Mobile m, string com, string args, string[] arglist)
|
||||
{
|
||||
c_Mobile = m;
|
||||
c_Command = com;
|
||||
c_ArgString = args;
|
||||
c_Arguments = arglist;
|
||||
}
|
||||
|
||||
public string GetString(int num)
|
||||
{
|
||||
if (c_Arguments.Length > num)
|
||||
{
|
||||
return c_Arguments[num];
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user