16 lines
488 B
C#
16 lines
488 B
C#
namespace PersonaForge;
|
|
|
|
public class PersonalityProfile
|
|
{
|
|
public int Outgoing { get; set; }
|
|
public int Nice { get; set; }
|
|
public int Playful { get; set; }
|
|
public int Neat { get; set; }
|
|
public int Active { get; set; }
|
|
|
|
public static PersonalityProfile Create() => new();
|
|
|
|
public int TotalPoints() => Outgoing + Nice + Playful + Neat + Active;
|
|
|
|
public string ToJson() => JsonSerializer.Serialize(this, new JsonSerializerOptions { WriteIndented = true });
|
|
}
|