Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -82,23 +82,21 @@ namespace Server.Engines.Quests.Collector
|
|||
return images;
|
||||
}
|
||||
|
||||
private int m_Figurine;
|
||||
private Type m_Type;
|
||||
private int m_X;
|
||||
private int m_Y;
|
||||
public int Figurine { get; }
|
||||
|
||||
public int Figurine => m_Figurine;
|
||||
public Type Type => m_Type;
|
||||
public int Name => m_Figurine < 0x4000 ? 1020000 + m_Figurine : 1078872 + m_Figurine;
|
||||
public int X => m_X;
|
||||
public int Y => m_Y;
|
||||
public Type Type { get; }
|
||||
|
||||
public int Name => Figurine < 0x4000 ? 1020000 + Figurine : 1078872 + Figurine;
|
||||
public int X { get; }
|
||||
|
||||
public int Y { get; }
|
||||
|
||||
public ImageTypeInfo( int figurine, Type type, int x, int y )
|
||||
{
|
||||
m_Figurine = figurine;
|
||||
m_Type = type;
|
||||
m_X = x;
|
||||
m_Y = y;
|
||||
Figurine = figurine;
|
||||
Type = type;
|
||||
X = x;
|
||||
Y = y;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue