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
|
|
@ -91,19 +91,17 @@ namespace Server.Engines.Quests.Hag
|
|||
return ingredients[index];
|
||||
}
|
||||
|
||||
private int m_Name;
|
||||
private Type[] m_Creatures;
|
||||
private int m_Quantity;
|
||||
public int Name { get; }
|
||||
|
||||
public int Name => m_Name;
|
||||
public Type[] Creatures => m_Creatures;
|
||||
public int Quantity => m_Quantity;
|
||||
public Type[] Creatures { get; }
|
||||
|
||||
public int Quantity { get; }
|
||||
|
||||
private IngredientInfo( int name, int quantity, params Type[] creatures )
|
||||
{
|
||||
m_Name = name;
|
||||
m_Creatures = creatures;
|
||||
m_Quantity = quantity;
|
||||
Name = name;
|
||||
Creatures = creatures;
|
||||
Quantity = quantity;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue