forked from EphemeralSpace/ephemeral-space
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCharacterComponent.cs
More file actions
38 lines (29 loc) · 1.11 KB
/
CharacterComponent.cs
File metadata and controls
38 lines (29 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using Content.Shared.Humanoid;
using Robust.Shared.Enums;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
namespace Content.Shared._ES.Auditions;
/// <summary>
/// This is used for marking the character of components.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class CharacterComponent : Component
{
[DataField, AutoNetworkedField]
public string Name = "Rain Miskovitch";
[DataField, AutoNetworkedField]
public int Age = 25;
[DataField, AutoNetworkedField]
public Gender Gender = Gender.Neuter;
[DataField, AutoNetworkedField]
public HumanoidCharacterAppearance Appearance = default!;
[DataField, AutoNetworkedField]
public DateTime DateOfBirth = new(2025, 1, 1);
[DataField, AutoNetworkedField]
public Dictionary<string, ProtoId<RelationshipPrototype>> Relationships = new ();
[DataField, AutoNetworkedField]
public ProtoId<BackgroundPrototype> Background = "Colonist";
[DataField, AutoNetworkedField]
public List<EntityUid> Memories = new ();
}