Show / Hide Table of Contents

Class HumanoidAppearanceComponent

Inheritance
System.Object
HumanoidAppearanceComponent
Namespace: Content.Shared.Humanoid
Assembly: Content.Shared.dll
Syntax
public sealed class HumanoidAppearanceComponent : Component

Fields

| Improve this Doc View Source

Age

Declaration
public int Age
Field Value
Type Description
System.Int32
| Improve this Doc View Source

BaseLayers

Declaration
public Dictionary<HumanoidVisualLayers, HumanoidSpeciesSpriteLayer> BaseLayers
Field Value
Type Description
Dictionary<HumanoidVisualLayers, HumanoidSpeciesSpriteLayer>
| Improve this Doc View Source

CachedFacialHairColor

Facial Hair color of this humanoid. Used to avoid looping through all markings

Declaration
public Color? CachedFacialHairColor
Field Value
Type Description
System.Nullable<Color>
| Improve this Doc View Source

CachedHairColor

Hair color of this humanoid. Used to avoid looping through all markings

Declaration
public Color? CachedHairColor
Field Value
Type Description
System.Nullable<Color>
| Improve this Doc View Source

ClientOldMarkings

Declaration
public MarkingSet ClientOldMarkings
Field Value
Type Description
MarkingSet
| Improve this Doc View Source

CustomBaseLayers

Any custom base layers this humanoid might have. See: limb transplants (potentially), robotic arms, etc. Stored on the server, this is merged in the client into all layer settings.

Declaration
public Dictionary<HumanoidVisualLayers, CustomBaseLayerInfo> CustomBaseLayers
Field Value
Type Description
Dictionary<HumanoidVisualLayers, CustomBaseLayerInfo>
| Improve this Doc View Source

EyeColor

Declaration
public Color EyeColor
Field Value
Type Description
Color
| Improve this Doc View Source

Gender

Declaration
public Gender Gender
Field Value
Type Description
Robust.Shared.Enums.Gender
| Improve this Doc View Source

HiddenLayers

Visual layers currently hidden. This will affect the base sprite on this humanoid layer, and any markings that sit above it.

Declaration
public HashSet<HumanoidVisualLayers> HiddenLayers
Field Value
Type Description
HashSet<HumanoidVisualLayers>
| Improve this Doc View Source

MarkingSet

Declaration
public MarkingSet MarkingSet
Field Value
Type Description
MarkingSet
| Improve this Doc View Source

PermanentlyHidden

Declaration
public HashSet<HumanoidVisualLayers> PermanentlyHidden
Field Value
Type Description
HashSet<HumanoidVisualLayers>
| Improve this Doc View Source

Sex

Declaration
public Sex Sex
Field Value
Type Description
Sex

Properties

| Improve this Doc View Source

Initial

The initial profile and base layers to apply to this humanoid.

Declaration
public ProtoId<HumanoidProfilePrototype>? Initial { get; }
Property Value
Type Description
System.Nullable<Robust.Shared.Prototypes.ProtoId<HumanoidProfilePrototype>>
| Improve this Doc View Source

SkinColor

Skin color of this humanoid.

Declaration
public Color SkinColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

Species

Current species. Dictates things like base body sprites, base humanoid to spawn, etc.

Declaration
public ProtoId<SpeciesPrototype> Species { get; set; }
Property Value
Type Description
Robust.Shared.Prototypes.ProtoId<SpeciesPrototype>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾