Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -114,11 +114,11 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
var entry = m_Responses[i];
|
||||
|
||||
@from.SendMessage(entry.ToString());
|
||||
from.SendMessage(entry.ToString());
|
||||
|
||||
if (flushToLog)
|
||||
{
|
||||
CommandLogging.WriteLine(@from, entry.ToString());
|
||||
CommandLogging.WriteLine(from, entry.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -126,7 +126,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
for (var i = 0; i < m_Failures.Count; ++i)
|
||||
{
|
||||
@from.SendMessage(m_Failures[i].ToString());
|
||||
from.SendMessage(m_Failures[i].ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
if (echo)
|
||||
{
|
||||
gm.SendMessage("{0} : has opened their web browser to : {1}", @from.Name, url);
|
||||
gm.SendMessage("{0} : has opened their web browser to : {1}", from.Name, url);
|
||||
}
|
||||
|
||||
from.LaunchBrowser(url);
|
||||
|
|
@ -243,7 +243,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
if (echo)
|
||||
{
|
||||
gm.SendMessage("{0} : has chosen not to open their web browser to : {1}", @from.Name, url);
|
||||
gm.SendMessage("{0} : has chosen not to open their web browser to : {1}", from.Name, url);
|
||||
}
|
||||
|
||||
from.SendMessage("You have chosen not to open your web browser.");
|
||||
|
|
@ -446,7 +446,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
if (m_InGump)
|
||||
{
|
||||
mob.SendGump(new MessageSentGump(mob, @from.Name, e.ArgString));
|
||||
mob.SendGump(new MessageSentGump(mob, from.Name, e.ArgString));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -188,13 +188,13 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
if (m_Foundations.Count == 0)
|
||||
{
|
||||
@from.SendMessage(
|
||||
from.SendMessage(
|
||||
"The item has been inserted into the house design. Press ESC when you are finished."
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
@from.SendMessage("The item has been inserted into the house design.");
|
||||
from.SendMessage("The item has been inserted into the house design.");
|
||||
}
|
||||
|
||||
if (!m_Foundations.Contains(house))
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
foreach (var update in parsed)
|
||||
{
|
||||
update.Optimize(@from, baseType, ref emitter);
|
||||
update.Optimize(from, baseType, ref emitter);
|
||||
}
|
||||
|
||||
if (size != args.Length)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
foreach (var obj in eable)
|
||||
{
|
||||
if ((!mobiles || obj is Mobile) && BaseCommand.IsAccessible(@from, obj) && ext.IsValid(obj))
|
||||
if ((!mobiles || obj is Mobile) && BaseCommand.IsAccessible(from, obj) && ext.IsValid(obj))
|
||||
{
|
||||
objs.Add(obj);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
if (command.ValidateArgs(this, new CommandEventArgs(from, command.Commands[0], GenerateArgString(args), args)))
|
||||
{
|
||||
@from.BeginTarget(
|
||||
from.BeginTarget(
|
||||
-1,
|
||||
command.ObjectTypes == ObjectTypes.All,
|
||||
TargetFlags.None,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
if (command.ValidateArgs(this, new CommandEventArgs(from, command.Commands[0], GenerateArgString(args), args)))
|
||||
{
|
||||
@from.BeginTarget(
|
||||
from.BeginTarget(
|
||||
-1,
|
||||
command.ObjectTypes == ObjectTypes.All,
|
||||
TargetFlags.None,
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
if (command.ValidateArgs(this, new CommandEventArgs(from, command.Commands[0], GenerateArgString(args), args)))
|
||||
{
|
||||
@from.BeginTarget(
|
||||
from.BeginTarget(
|
||||
-1,
|
||||
command.ObjectTypes == ObjectTypes.All,
|
||||
TargetFlags.None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue