2023-08-19 21:52:13 +00:00
|
|
|
|
using HKW.HKWViewModels.SimpleObservable;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using VPet.Plugin.ModMaker.Models;
|
|
|
|
|
using VPet_Simulator.Windows.Interface;
|
|
|
|
|
|
|
|
|
|
namespace VPet.Plugin.ModMaker.ViewModels.ModEdit.LowTextEdit;
|
|
|
|
|
|
|
|
|
|
public class LowTextEditWindowVM
|
|
|
|
|
{
|
|
|
|
|
public ObservableCollection<LowTextModel> LowTexts { get; set; }
|
2023-08-21 15:30:55 +00:00
|
|
|
|
|
|
|
|
|
#region Value
|
2023-08-19 21:52:13 +00:00
|
|
|
|
public ObservableValue<LowTextModel> LowText { get; } = new(new());
|
|
|
|
|
|
2023-08-21 15:30:55 +00:00
|
|
|
|
public ObservableCollection<LowText.ModeType> ModeTypes { get; } = new();
|
|
|
|
|
public ObservableCollection<LowText.LikeType> LikeTypes { get; } = new();
|
|
|
|
|
public ObservableCollection<LowText.StrengthType> StrengthTypes { get; } = new();
|
2023-08-19 21:52:13 +00:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public LowTextEditWindowVM()
|
|
|
|
|
{
|
|
|
|
|
foreach (LowText.ModeType mode in Enum.GetValues(typeof(LowText.ModeType)))
|
2023-08-21 15:30:55 +00:00
|
|
|
|
ModeTypes.Add(mode);
|
2023-08-19 21:52:13 +00:00
|
|
|
|
foreach (LowText.LikeType mode in Enum.GetValues(typeof(LowText.LikeType)))
|
2023-08-21 15:30:55 +00:00
|
|
|
|
LikeTypes.Add(mode);
|
2023-08-19 21:52:13 +00:00
|
|
|
|
foreach (LowText.StrengthType mode in Enum.GetValues(typeof(LowText.StrengthType)))
|
2023-08-21 15:30:55 +00:00
|
|
|
|
StrengthTypes.Add(mode);
|
2023-08-19 21:52:13 +00:00
|
|
|
|
}
|
|
|
|
|
}
|