Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -47,21 +47,21 @@ namespace Server.Mobiles
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public StatueType StatueType
|
||||
{
|
||||
get { return m_Type; }
|
||||
get => m_Type;
|
||||
set { m_Type = value; InvalidateHues(); InvalidatePose(); }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public StatuePose Pose
|
||||
{
|
||||
get { return m_Pose; }
|
||||
get => m_Pose;
|
||||
set { m_Pose = value; InvalidatePose(); }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public StatueMaterial Material
|
||||
{
|
||||
get { return m_Material; }
|
||||
get => m_Material;
|
||||
set { m_Material = value; InvalidateHues(); InvalidatePose(); }
|
||||
}
|
||||
|
||||
|
|
@ -71,23 +71,23 @@ namespace Server.Mobiles
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public Mobile SculptedBy
|
||||
{
|
||||
get{ return m_SculptedBy; }
|
||||
get => m_SculptedBy;
|
||||
set{ m_SculptedBy = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public DateTime SculptedOn
|
||||
{
|
||||
get{ return m_SculptedOn; }
|
||||
set{ m_SculptedOn = value; }
|
||||
get => m_SculptedOn;
|
||||
set => m_SculptedOn = value;
|
||||
}
|
||||
|
||||
private CharacterStatuePlinth m_Plinth;
|
||||
|
||||
public CharacterStatuePlinth Plinth
|
||||
{
|
||||
get { return m_Plinth; }
|
||||
set { m_Plinth = value; }
|
||||
get => m_Plinth;
|
||||
set => m_Plinth = value;
|
||||
}
|
||||
|
||||
private bool m_IsRewardItem;
|
||||
|
|
@ -95,8 +95,8 @@ namespace Server.Mobiles
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool IsRewardItem
|
||||
{
|
||||
get{ return m_IsRewardItem; }
|
||||
set{ m_IsRewardItem = value; }
|
||||
get => m_IsRewardItem;
|
||||
set => m_IsRewardItem = value;
|
||||
}
|
||||
|
||||
public CharacterStatue( Mobile from, StatueType type )
|
||||
|
|
@ -442,8 +442,8 @@ namespace Server.Mobiles
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public CharacterStatue Statue
|
||||
{
|
||||
get { return m_Statue; }
|
||||
set { m_Statue = value; }
|
||||
get => m_Statue;
|
||||
set => m_Statue = value;
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
|
|
@ -456,13 +456,13 @@ namespace Server.Mobiles
|
|||
|
||||
return m_Type;
|
||||
}
|
||||
set { m_Type = value; }
|
||||
set => m_Type = value;
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool IsRewardItem
|
||||
{
|
||||
get{ return m_IsRewardItem; }
|
||||
get => m_IsRewardItem;
|
||||
set{ m_IsRewardItem = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,14 +13,14 @@ namespace Server.Items
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool IsRewardItem
|
||||
{
|
||||
get{ return m_IsRewardItem; }
|
||||
get => m_IsRewardItem;
|
||||
set{ m_IsRewardItem = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public StatueType StatueType
|
||||
{
|
||||
get{ return m_Type; }
|
||||
get => m_Type;
|
||||
set{ m_Type = value; InvalidateHue(); }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public class CharacterStatuePlinth : Static, IAddon
|
||||
{
|
||||
public Item Deed{ get{ return new CharacterStatueDeed( m_Statue ); } }
|
||||
public Item Deed => new CharacterStatueDeed( m_Statue );
|
||||
public override int LabelNumber => 1076201; // Character Statue
|
||||
|
||||
private CharacterStatue m_Statue;
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ namespace Server.Engines.VeteranRewards
|
|||
private string m_NameString;
|
||||
private List<RewardEntry> m_Entries;
|
||||
|
||||
public int Name{ get{ return m_Name; } }
|
||||
public string NameString{ get{ return m_NameString; } }
|
||||
public int Name => m_Name;
|
||||
public string NameString => m_NameString;
|
||||
public List<RewardEntry> Entries => m_Entries;
|
||||
|
||||
public RewardCategory( int name )
|
||||
|
|
|
|||
|
|
@ -12,13 +12,15 @@ namespace Server.Engines.VeteranRewards
|
|||
private string m_NameString;
|
||||
private object[] m_Args;
|
||||
|
||||
public RewardList List{ get{ return m_List; } set{ m_List = value; } }
|
||||
public RewardCategory Category{ get{ return m_Category; } }
|
||||
public Type ItemType{ get{ return m_ItemType; } }
|
||||
public Expansion RequiredExpansion{ get{ return m_RequiredExpansion; } }
|
||||
public int Name{ get{ return m_Name; } }
|
||||
public string NameString{ get{ return m_NameString; } }
|
||||
public object[] Args{ get{ return m_Args; } }
|
||||
public RewardList List{ get => m_List;
|
||||
set => m_List = value;
|
||||
}
|
||||
public RewardCategory Category => m_Category;
|
||||
public Type ItemType => m_ItemType;
|
||||
public Expansion RequiredExpansion => m_RequiredExpansion;
|
||||
public int Name => m_Name;
|
||||
public string NameString => m_NameString;
|
||||
public object[] Args => m_Args;
|
||||
|
||||
public Item Construct()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ namespace Server.Engines.VeteranRewards
|
|||
private TimeSpan m_Age;
|
||||
private RewardEntry[] m_Entries;
|
||||
|
||||
public TimeSpan Age{ get{ return m_Age; } }
|
||||
public RewardEntry[] Entries{ get{ return m_Entries; } }
|
||||
public TimeSpan Age => m_Age;
|
||||
public RewardEntry[] Entries => m_Entries;
|
||||
|
||||
public RewardList( TimeSpan interval, int index, RewardEntry[] entries )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ namespace Server.Gumps
|
|||
private int m_ID;
|
||||
private int m_Cliloc;
|
||||
|
||||
public int ID{ get{ return m_ID; } }
|
||||
public int Cliloc{ get{ return m_Cliloc; } }
|
||||
public int ID => m_ID;
|
||||
public int Cliloc => m_Cliloc;
|
||||
|
||||
public RewardOption( int id, int cliloc )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue