Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -43,25 +43,13 @@ namespace Server.Engines.Help
|
|||
|
||||
private PageInfo m_PageInfo;
|
||||
|
||||
public PageInfo PageInfo
|
||||
{
|
||||
get{ return m_PageInfo; }
|
||||
}
|
||||
public PageInfo PageInfo => m_PageInfo;
|
||||
|
||||
public Mobile Sender
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Sender;
|
||||
}
|
||||
}
|
||||
public Mobile Sender => m_Sender;
|
||||
|
||||
public Mobile Handler
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Handler;
|
||||
}
|
||||
get => m_Handler;
|
||||
set
|
||||
{
|
||||
PageQueue.OnHandlerChanged( m_Handler, value, this );
|
||||
|
|
@ -69,53 +57,17 @@ namespace Server.Engines.Help
|
|||
}
|
||||
}
|
||||
|
||||
public DateTime Sent
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Sent;
|
||||
}
|
||||
}
|
||||
public DateTime Sent => m_Sent;
|
||||
|
||||
public string Message
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Message;
|
||||
}
|
||||
}
|
||||
public string Message => m_Message;
|
||||
|
||||
public PageType Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Type;
|
||||
}
|
||||
}
|
||||
public PageType Type => m_Type;
|
||||
|
||||
public Point3D PageLocation
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_PageLocation;
|
||||
}
|
||||
}
|
||||
public Point3D PageLocation => m_PageLocation;
|
||||
|
||||
public Map PageMap
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_PageMap;
|
||||
}
|
||||
}
|
||||
public Map PageMap => m_PageMap;
|
||||
|
||||
public List<SpeechLogEntry> SpeechLog
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_SpeechLog;
|
||||
}
|
||||
}
|
||||
public List<SpeechLogEntry> SpeechLog => m_SpeechLog;
|
||||
|
||||
private Timer m_Timer;
|
||||
|
||||
|
|
@ -311,13 +263,7 @@ namespace Server.Engines.Help
|
|||
Remove( GetEntry( sender ) );
|
||||
}
|
||||
|
||||
public static ArrayList List
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_List;
|
||||
}
|
||||
}
|
||||
public static ArrayList List => m_List;
|
||||
|
||||
public static void Enqueue( PageEntry entry )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -128,8 +128,12 @@ namespace Server.Engines.Help
|
|||
private string m_Title;
|
||||
private string m_Message;
|
||||
|
||||
public string Title{ get{ return m_Title; } set{ m_Title = value; } }
|
||||
public string Message{ get{ return m_Message; } set{ m_Message = value; } }
|
||||
public string Title{ get => m_Title;
|
||||
set => m_Title = value;
|
||||
}
|
||||
public string Message{ get => m_Message;
|
||||
set => m_Message = value;
|
||||
}
|
||||
|
||||
public PredefinedResponse( string title, string message )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ namespace Server.Engines.Help
|
|||
|
||||
private Queue<SpeechLogEntry> m_Queue;
|
||||
|
||||
public int Count{ get{ return m_Queue.Count; } }
|
||||
public int Count => m_Queue.Count;
|
||||
|
||||
public SpeechLog()
|
||||
{
|
||||
|
|
@ -131,9 +131,9 @@ namespace Server.Engines.Help
|
|||
private string m_Speech;
|
||||
private DateTime m_Created;
|
||||
|
||||
public Mobile From{ get{ return m_From; } }
|
||||
public string Speech{ get{ return m_Speech; } }
|
||||
public DateTime Created{ get{ return m_Created; } }
|
||||
public Mobile From => m_From;
|
||||
public string Speech => m_Speech;
|
||||
public DateTime Created => m_Created;
|
||||
|
||||
public SpeechLogEntry( Mobile from, string speech )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ namespace Server.Menus.Questions
|
|||
private int m_Name;
|
||||
private Point3D[] m_Locations;
|
||||
|
||||
public int Name{ get{ return m_Name; } }
|
||||
public Point3D[] Locations{ get{ return m_Locations; } }
|
||||
public int Name => m_Name;
|
||||
public Point3D[] Locations => m_Locations;
|
||||
|
||||
public StuckMenuEntry( int name, Point3D[] locations )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue