using LinePutScript.Converter;
using LinePutScript.Localization.WPF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace VPet_Simulator.Windows.Interface
{
///
/// 低状态自动说的话
///
public class LowText
{
///
/// 状态
///
public enum ModeType
{
///
/// 高状态: 开心/普通
///
H,
///
/// 低状态: 低状态/生病
///
L,
}
///
/// 状态
///
[Line(IgnoreCase = true)] public ModeType Mode { get; set; } = ModeType.L;
///
/// 体力
///
public enum StrengthType
{
///
/// 一般口渴/饥饿
///
L,
///
/// 有点口渴/饥饿
///
M,
///
/// 非常口渴/饥饿
///
S,
}
///
/// 体力
///
[Line(IgnoreCase = true)] public StrengthType Strength { get; set; } = StrengthType.S;
///
/// 好感度要求
///
public enum LikeType
{
///
/// 不需要好感度
///
N,
///
/// 低好感度需求
///
S,
///
/// 中好感度需求
///
M,
///
/// 高好感度
///
L,
}
///
/// 好感度要求
///
[Line(IgnoreCase = true)] public LikeType Like { get; set; } = LikeType.N;
///
/// 说话的内容
///
[Line(IgnoreCase = true)] public string Text { get; set; }
private string transText = null;
///
/// 说话的内容 (翻译)
///
public string TranslateText
{
get
{
if (transText == null)
{
transText = LocalizeCore.Translate(Text);
}
return transText;
}
}
}
}