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();
|
public ObservableValue<string> Working { get; } = new();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 模式
|
/// 宠物状态
|
||||||
/// </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>
|
||||||
/// 工作状态
|
/// 行动状态
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ObservableValue<VPet_Simulator.Core.Main.WorkingState> WorkingState { get; } = new();
|
public ObservableValue<VPet_Simulator.Core.Main.WorkingState> WorkingState { get; } = new();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 日期区间
|
/// 日期区间
|
||||||
/// </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>
|
/// <summary>
|
||||||
/// 好感度
|
/// 好感度
|
||||||
|
@ -41,9 +41,15 @@ public class SelectTextModel : I18nModel<I18nSelectTextModel>
|
|||||||
public ObservableValue<string> ChooseId { get; } = new();
|
public ObservableValue<string> ChooseId { get; } = new();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 模式
|
/// 宠物状态
|
||||||
/// </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>
|
||||||
/// 好感度
|
/// 好感度
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
||||||
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.ClickTextEdit"
|
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.ClickTextEdit"
|
||||||
Title="ClickTextWindow"
|
Title="{ll:Str 编辑点击文本}"
|
||||||
Width="800"
|
Width="800"
|
||||||
Height="450"
|
Height="450"
|
||||||
d:DataContext="{d:DesignInstance Type=vm:ClickTextEditWindowVM}"
|
d:DataContext="{d:DesignInstance Type=vm:ClickTextEditWindowVM}"
|
||||||
@ -70,7 +70,7 @@
|
|||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
pu:TextBoxHelper.Watermark="{ll:Str 非必要}"
|
pu:TextBoxHelper.Watermark="{ll:Str 非必要}"
|
||||||
Text="{Binding ClickText.Value.Working.Value, UpdateSourceTrigger=PropertyChanged}" />
|
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 Grid.Row="3" Grid.Column="1">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition />
|
<ColumnDefinition />
|
||||||
@ -95,7 +95,7 @@
|
|||||||
CommandParameter="{Binding SelectedItem, ElementName=ComboBox_Mode}"
|
CommandParameter="{Binding SelectedItem, ElementName=ComboBox_Mode}"
|
||||||
Content="-" />
|
Content="-" />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Label Grid.Row="4" Content="{ll:Str 工作状态}" />
|
<Label Grid.Row="4" Content="{ll:Str 行动状态}" />
|
||||||
<ComboBox
|
<ComboBox
|
||||||
Grid.Row="4"
|
Grid.Row="4"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
||||||
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.FoodEdit"
|
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.FoodEdit"
|
||||||
Title="FoodEditWindow"
|
Title="{ll:Str 编辑食物}"
|
||||||
Width="800"
|
Width="800"
|
||||||
Height="450"
|
Height="450"
|
||||||
d:DataContext="{d:DesignInstance Type=vm:FoodEditWindowVM}"
|
d:DataContext="{d:DesignInstance Type=vm:FoodEditWindowVM}"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
||||||
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.LowTextEdit"
|
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.LowTextEdit"
|
||||||
Title="LowTextEditWindow"
|
Title="{ll:Str 编辑低状态文本}"
|
||||||
Width="800"
|
Width="800"
|
||||||
Height="450"
|
Height="450"
|
||||||
d:DataContext="{d:DesignInstance Type=vm:LowTextEditWindowVM}"
|
d:DataContext="{d:DesignInstance Type=vm:LowTextEditWindowVM}"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
||||||
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.SelectTextEdit"
|
xmlns:vm="clr-namespace:VPet.ModMaker.ViewModels.ModEdit.SelectTextEdit"
|
||||||
Title="SelectTextEditWindow"
|
Title="{ll:Str 编辑选择文本}"
|
||||||
Width="800"
|
Width="800"
|
||||||
Height="450"
|
Height="450"
|
||||||
d:DataContext="{d:DesignInstance Type=vm:SelectTextEditWindowVM}"
|
d:DataContext="{d:DesignInstance Type=vm:SelectTextEditWindowVM}"
|
||||||
@ -90,7 +90,7 @@
|
|||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
pu:TextBoxHelper.Watermark="{ll:Str 多标签使用逗号分隔}"
|
pu:TextBoxHelper.Watermark="{ll:Str 多标签使用逗号分隔}"
|
||||||
Text="{Binding SelectText.Value.ToTags.Value, UpdateSourceTrigger=PropertyChanged}" />
|
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 Grid.Row="4" Grid.Column="1">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition />
|
<ColumnDefinition />
|
||||||
|
Loading…
Reference in New Issue
Block a user