fix: Cleans up core code (#1187)
**Only one functional change** * Fixes a bug in LogFactory where `Warning` is being logged as `Information` Non-functional changes: * Updates/Fixes copyright headers * Removes namespace scopes for core files. View with [whitespace off](https://github.com/modernuo/ModernUO/pull/1187/files?w=1).
This commit is contained in:
parent
0138d40bda
commit
f268d5d4e2
262 changed files with 28527 additions and 28646 deletions
|
|
@ -1,25 +1,24 @@
|
|||
namespace Server.Prompts
|
||||
namespace Server.Prompts;
|
||||
|
||||
public abstract class Prompt
|
||||
{
|
||||
public abstract class Prompt
|
||||
private static int m_Serials;
|
||||
|
||||
protected Prompt()
|
||||
{
|
||||
private static int m_Serials;
|
||||
|
||||
protected Prompt()
|
||||
do
|
||||
{
|
||||
do
|
||||
{
|
||||
Serial = ++m_Serials;
|
||||
} while (Serial == 0);
|
||||
}
|
||||
Serial = ++m_Serials;
|
||||
} while (Serial == 0);
|
||||
}
|
||||
|
||||
public int Serial { get; }
|
||||
public int Serial { get; }
|
||||
|
||||
public virtual void OnCancel(Mobile from)
|
||||
{
|
||||
}
|
||||
public virtual void OnCancel(Mobile from)
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnResponse(Mobile from, string text)
|
||||
{
|
||||
}
|
||||
public virtual void OnResponse(Mobile from, string text)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue