Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -1,27 +1,28 @@
|
|||
namespace Server.Ethics
|
||||
{
|
||||
public class EthicDefinition
|
||||
{
|
||||
public int PrimaryHue { get; }
|
||||
public class EthicDefinition
|
||||
{
|
||||
public EthicDefinition(int primaryHue, TextDefinition title, TextDefinition adjunct, TextDefinition joinPhrase,
|
||||
Power[] powers)
|
||||
{
|
||||
PrimaryHue = primaryHue;
|
||||
|
||||
public TextDefinition Title { get; }
|
||||
Title = title;
|
||||
Adjunct = adjunct;
|
||||
|
||||
public TextDefinition Adjunct { get; }
|
||||
JoinPhrase = joinPhrase;
|
||||
|
||||
public TextDefinition JoinPhrase { get; }
|
||||
Powers = powers;
|
||||
}
|
||||
|
||||
public Power[] Powers { get; }
|
||||
public int PrimaryHue{ get; }
|
||||
|
||||
public EthicDefinition( int primaryHue, TextDefinition title, TextDefinition adjunct, TextDefinition joinPhrase, Power[] powers )
|
||||
{
|
||||
PrimaryHue = primaryHue;
|
||||
public TextDefinition Title{ get; }
|
||||
|
||||
Title = title;
|
||||
Adjunct = adjunct;
|
||||
public TextDefinition Adjunct{ get; }
|
||||
|
||||
JoinPhrase = joinPhrase;
|
||||
public TextDefinition JoinPhrase{ get; }
|
||||
|
||||
Powers = powers;
|
||||
}
|
||||
}
|
||||
}
|
||||
public Power[] Powers{ get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +1,22 @@
|
|||
namespace Server.Ethics
|
||||
{
|
||||
public class PowerDefinition
|
||||
{
|
||||
public int Power { get; }
|
||||
public class PowerDefinition
|
||||
{
|
||||
public PowerDefinition(int power, TextDefinition name, TextDefinition phrase, TextDefinition description)
|
||||
{
|
||||
Power = power;
|
||||
|
||||
public TextDefinition Name { get; }
|
||||
Name = name;
|
||||
Phrase = phrase;
|
||||
Description = description;
|
||||
}
|
||||
|
||||
public TextDefinition Phrase { get; }
|
||||
public int Power{ get; }
|
||||
|
||||
public TextDefinition Description { get; }
|
||||
public TextDefinition Name{ get; }
|
||||
|
||||
public PowerDefinition( int power, TextDefinition name, TextDefinition phrase, TextDefinition description )
|
||||
{
|
||||
Power = power;
|
||||
public TextDefinition Phrase{ get; }
|
||||
|
||||
Name = name;
|
||||
Phrase = phrase;
|
||||
Description = description;
|
||||
}
|
||||
}
|
||||
}
|
||||
public TextDefinition Description{ get; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue