using System.Collections.Generic;
using RimWorld;
using UnityEngine;
using Verse;
namespace AIImages.Models
{
///
/// Модель данных внешности персонажа для генерации промптов
///
public class PawnAppearanceData
{
public string Name { get; set; }
public Gender Gender { get; set; }
public int Age { get; set; }
public string BodyType { get; set; }
public Color SkinColor { get; set; }
public string HairStyle { get; set; }
public Color HairColor { get; set; }
public List Traits { get; set; }
public List Apparel { get; set; }
public PawnAppearanceData()
{
Traits = new List();
Apparel = new List();
}
}
///
/// Данные об одежде персонажа
///
public class ApparelData
{
public string Label { get; set; }
public string Material { get; set; }
public QualityCategory? Quality { get; set; }
public Color Color { get; set; }
public string LayerType { get; set; }
public int Durability { get; set; }
public int MaxDurability { get; set; }
public float DurabilityPercent =>
MaxDurability > 0 ? (float)Durability / MaxDurability : 1f;
}
}