Adds assemblies config, fixes crash bugs. (#134)

This commit is contained in:
Kamron Batman 2020-05-09 12:55:56 -07:00 • committed by GitHub
parent 0140eb73b4
commit 8ec166bcd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3223 changed files with 191 additions and 191 deletions

View file

@ -0,0 +1,28 @@
namespace Server.Ethics
{
public class EthicDefinition
{
public EthicDefinition(int primaryHue, TextDefinition title, TextDefinition adjunct, TextDefinition joinPhrase,
Power[] powers)
{
PrimaryHue = primaryHue;
Title = title;
Adjunct = adjunct;
JoinPhrase = joinPhrase;
Powers = powers;
}
public int PrimaryHue { get; }
public TextDefinition Title { get; }
public TextDefinition Adjunct { get; }
public TextDefinition JoinPhrase { get; }
public Power[] Powers { get; }
}
}

View file

@ -0,0 +1,22 @@
namespace Server.Ethics
{
public class PowerDefinition
{
public PowerDefinition(int power, TextDefinition name, TextDefinition phrase, TextDefinition description)
{
Power = power;
Name = name;
Phrase = phrase;
Description = description;
}
public int Power { get; }
public TextDefinition Name { get; }
public TextDefinition Phrase { get; }
public TextDefinition Description { get; }
}
}