mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-20 23:41:13 +03:00
33 lines
985 B
C#
33 lines
985 B
C#
using Content.Shared.Corvax.TTS;
|
|
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;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public ProtoId<SpeciesPrototype> Species = HumanoidCharacterProfile.DefaultSpecies;
|
|
|
|
// Corvax-TTS-Start
|
|
[DataField("voice")]
|
|
public ProtoId<TTSVoicePrototype> Voice { get; set; } = HumanoidProfileSystem.DefaultVoice;
|
|
// Corvax-TTS-End
|
|
}
|