* Revert "Hair Overhaul (#19298)"
This reverts commit 9491f322de.
# Conflicts:
# Resources/Textures/Mobs/Customization/human_hair.rsi/a.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/afro.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/afro2.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/bigafro.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/cornrows2.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/emofringe.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/keanu.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/long.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/long2.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/long3.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/meta.json
# Resources/Textures/Mobs/Customization/human_hair.rsi/modern.png
# Resources/Textures/Mobs/Customization/human_hair.rsi/quiff.png
* add: возврат системы тонкоспрайтов
* fix: небольшие фиксы после реверта причесок
* add: старые текстуры для slim бодитайпа
* fix: фикс причесок после апстрима
71 lines
2.0 KiB
C#
71 lines
2.0 KiB
C#
using Content.Shared.Humanoid.Markings;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Humanoid;
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum HumanoidMarkingModifierKey
|
|
{
|
|
Key
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class HumanoidMarkingModifierMarkingSetMessage : BoundUserInterfaceMessage
|
|
{
|
|
public MarkingSet MarkingSet { get; }
|
|
public bool ResendState { get; }
|
|
|
|
public HumanoidMarkingModifierMarkingSetMessage(MarkingSet set, bool resendState)
|
|
{
|
|
MarkingSet = set;
|
|
ResendState = resendState;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class HumanoidMarkingModifierBaseLayersSetMessage : BoundUserInterfaceMessage
|
|
{
|
|
public HumanoidMarkingModifierBaseLayersSetMessage(HumanoidVisualLayers layer, CustomBaseLayerInfo? info, bool resendState)
|
|
{
|
|
Layer = layer;
|
|
Info = info;
|
|
ResendState = resendState;
|
|
}
|
|
|
|
public HumanoidVisualLayers Layer { get; }
|
|
public CustomBaseLayerInfo? Info { get; }
|
|
public bool ResendState { get; }
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class HumanoidMarkingModifierState : BoundUserInterfaceState
|
|
{
|
|
// TODO just use the component state, remove the BUI state altogether.
|
|
public HumanoidMarkingModifierState(
|
|
MarkingSet markingSet,
|
|
string species,
|
|
string bodyType,
|
|
Sex sex,
|
|
Color skinColor,
|
|
Dictionary<HumanoidVisualLayers, CustomBaseLayerInfo> customBaseLayers
|
|
)
|
|
{
|
|
MarkingSet = markingSet;
|
|
Species = species;
|
|
BodyType = bodyType;
|
|
Sex = sex;
|
|
SkinColor = skinColor;
|
|
CustomBaseLayers = customBaseLayers;
|
|
}
|
|
|
|
public MarkingSet MarkingSet { get; }
|
|
public string Species { get; }
|
|
public Sex Sex { get; }
|
|
public Color SkinColor { get; }
|
|
public string BodyType { get; }
|
|
public Color EyeColor { get; }
|
|
public Color? HairColor { get; }
|
|
public Color? FacialHairColor { get; }
|
|
public Dictionary<HumanoidVisualLayers, CustomBaseLayerInfo> CustomBaseLayers { get; }
|
|
}
|