Files
Delta-v/Content.Shared/Humanoid/HumanoidProfileComponent.cs
T

33 lines
915 B
C#

using Content.Shared.Humanoid.Prototypes;
using Content.Shared.Preferences;
using Robust.Shared.Enums;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Humanoid;
/// <summary>
/// Dictates what species and age this character "looks like"
/// </summary>
[NetworkedComponent, RegisterComponent, AutoGenerateComponentState(true)]
[Access(typeof(HumanoidProfileSystem))]
public sealed partial class HumanoidProfileComponent : Component
{
[DataField, AutoNetworkedField]
public Gender Gender;
[DataField, AutoNetworkedField]
public Sex Sex;
[DataField, AutoNetworkedField]
public int Age = 18;
// Delta V - Begin CD Height
[DataField, AutoNetworkedField]
public float Height = 1f;
// Delta V - End CD Height
[DataField, AutoNetworkedField]
public ProtoId<SpeciesPrototype> Species = HumanoidCharacterProfile.DefaultSpecies;
}