mirror of
https://github.com/LorisYounger/VPet.ModMaker.git
synced 2024-08-30 18:22:21 +00:00
更新
This commit is contained in:
parent
5d8fef7808
commit
a52aa4c395
@ -47,19 +47,31 @@ public class ClickTextModel : I18nModel<I18nClickTextModel>
|
||||
public ObservableValue<string> Working { get; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 模式
|
||||
/// 宠物状态
|
||||
/// </summary>
|
||||
public ObservableEnumFlags<ClickText.ModeType> Mode { get; } = new();
|
||||
public ObservableEnumFlags<ClickText.ModeType> Mode { get; } =
|
||||
new(
|
||||
ClickText.ModeType.Happy
|
||||
| ClickText.ModeType.Nomal
|
||||
| ClickText.ModeType.PoorCondition
|
||||
| ClickText.ModeType.Ill
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// 工作状态
|
||||
/// 行动状态
|
||||
/// </summary>
|
||||
public ObservableValue<VPet_Simulator.Core.Main.WorkingState> WorkingState { get; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 日期区间
|
||||
/// </summary>
|
||||
public ObservableEnumFlags<ClickText.DayTime> DayTime { get; } = new();
|
||||
public ObservableEnumFlags<ClickText.DayTime> DayTime { get; } =
|
||||
new(
|
||||
ClickText.DayTime.Morning
|
||||
| ClickText.DayTime.Afternoon
|
||||
| ClickText.DayTime.Night
|
||||
| ClickText.DayTime.Midnight
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// 好感度
|
||||
|
@ -41,9 +41,15 @@ public class SelectTextModel : I18nModel<I18nSelectTextModel>
|
||||
public ObservableValue<string> ChooseId { get; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 模式
|
||||
/// 宠物状态
|
||||
/// </summary>
|
||||
public ObservableEnumFlags<ClickText.ModeType> Mode { get; } = new();
|
||||
public ObservableEnumFlags<ClickText.ModeType> Mode { get; } =
|
||||
new(
|
||||
ClickText.ModeType.Happy
|
||||
| ClickText.ModeType.Nomal
|
||||
| ClickText.ModeType.PoorCondition
|
||||
| ClickText.ModeType.Ill
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// 好感度
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
||||
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.ClickTextEdit"
|
||||
Title="ClickTextWindow"
|
||||
Title="{ll:Str 编辑点击文本}"
|
||||
Width="800"
|
||||
Height="450"
|
||||
d:DataContext="{d:DesignInstance Type=vm:ClickTextEditWindowVM}"
|
||||
@ -70,7 +70,7 @@
|
||||
Grid.Column="1"
|
||||
pu:TextBoxHelper.Watermark="{ll:Str 非必要}"
|
||||
Text="{Binding ClickText.Value.Working.Value, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label Grid.Row="3" Content="{ll:Str 模式}" />
|
||||
<Label Grid.Row="3" Content="{ll:Str 宠物状态}" />
|
||||
<Grid Grid.Row="3" Grid.Column="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
@ -95,7 +95,7 @@
|
||||
CommandParameter="{Binding SelectedItem, ElementName=ComboBox_Mode}"
|
||||
Content="-" />
|
||||
</Grid>
|
||||
<Label Grid.Row="4" Content="{ll:Str 工作状态}" />
|
||||
<Label Grid.Row="4" Content="{ll:Str 行动状态}" />
|
||||
<ComboBox
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
||||
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.FoodEdit"
|
||||
Title="FoodEditWindow"
|
||||
Title="{ll:Str 编辑食物}"
|
||||
Width="800"
|
||||
Height="450"
|
||||
d:DataContext="{d:DesignInstance Type=vm:FoodEditWindowVM}"
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
||||
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.LowTextEdit"
|
||||
Title="LowTextEditWindow"
|
||||
Title="{ll:Str 编辑低状态文本}"
|
||||
Width="800"
|
||||
Height="450"
|
||||
d:DataContext="{d:DesignInstance Type=vm:LowTextEditWindowVM}"
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
||||
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.SelectTextEdit"
|
||||
Title="SelectTextEditWindow"
|
||||
Title="{ll:Str 编辑选择文本}"
|
||||
Width="800"
|
||||
Height="450"
|
||||
d:DataContext="{d:DesignInstance Type=vm:SelectTextEditWindowVM}"
|
||||
@ -90,7 +90,7 @@
|
||||
Grid.Column="1"
|
||||
pu:TextBoxHelper.Watermark="{ll:Str 多标签使用逗号分隔}"
|
||||
Text="{Binding SelectText.Value.ToTags.Value, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label Grid.Row="4" Content="{ll:Str 模式}" />
|
||||
<Label Grid.Row="4" Content="{ll:Str 宠物状态}" />
|
||||
<Grid Grid.Row="4" Grid.Column="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
|
Loading…
Reference in New Issue
Block a user