mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-07 22:59:14 +08:00
Update Give Page
This commit is contained in:
parent
62d9a19e0e
commit
13a65e2007
@ -253,8 +253,17 @@
|
|||||||
<None Include="Resources\Colors.json" />
|
<None Include="Resources\Colors.json" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Resource Include="Resources\ru-ru\Avatars.txt" />
|
||||||
|
<Resource Include="Resources\ru-ru\Weapons.txt" />
|
||||||
|
<Resource Include="Resources\en-us\Avatars.txt" />
|
||||||
|
<Resource Include="Resources\en-us\Weapons.txt" />
|
||||||
<Content Include="Resources\MyLanguage.java" />
|
<Content Include="Resources\MyLanguage.java" />
|
||||||
<Content Include="Resources\MyTools.java" />
|
<Content Include="Resources\MyTools.java" />
|
||||||
|
<Resource Include="Resources\zh-tw\Avatars.txt" />
|
||||||
|
<Resource Include="Resources\zh-tw\Weapons.txt" />
|
||||||
|
<Resource Include="Resources\zh-cn\Avatars.txt" />
|
||||||
|
<Resource Include="Resources\zh-cn\Relics.txt" />
|
||||||
|
<Resource Include="Resources\zh-cn\Weapons.txt" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
@ -11,44 +11,175 @@
|
|||||||
d:DesignWidth="490"
|
d:DesignWidth="490"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
|
|
||||||
<StackPanel Margin="16">
|
<Grid Margin="8">
|
||||||
|
<Grid.RowDefinitions>
|
||||||
<GroupBox Header="Give Item" />
|
<RowDefinition Height="auto" />
|
||||||
|
<RowDefinition Height="auto" />
|
||||||
|
<RowDefinition />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<!-- 获取角色 -->
|
||||||
|
<GroupBox
|
||||||
|
Grid.Row="0"
|
||||||
|
Padding="4"
|
||||||
|
Header="Avatar">
|
||||||
<DockPanel>
|
<DockPanel>
|
||||||
<Label x:Name="LblLevelTip" Content="Level:" />
|
<!-- 获取所有角色 -->
|
||||||
<TextBox
|
<Button
|
||||||
x:Name="TxtLevel"
|
Padding="8,4"
|
||||||
Margin="4,0,0,0"
|
HorizontalAlignment="Right"
|
||||||
Text="100" />
|
VerticalAlignment="Center">
|
||||||
</DockPanel>
|
All Avatars
|
||||||
|
</Button>
|
||||||
|
|
||||||
<GroupBox Header="Give All">
|
<!-- 角色等级 -->
|
||||||
<StackPanel Margin="8" Orientation="Horizontal">
|
<Label Margin="8,0,0,0" VerticalAlignment="Center">Level:</Label>
|
||||||
<Button
|
<TextBox
|
||||||
x:Name="BtnGiveAll"
|
Width="30"
|
||||||
Padding="16,8"
|
Margin="4,0,0,0"
|
||||||
HorizontalAlignment="Left"
|
VerticalAlignment="Center">
|
||||||
Content="All" />
|
90
|
||||||
<Button
|
</TextBox>
|
||||||
x:Name="BtnGiveWeapons"
|
|
||||||
|
<!-- 角色命座 -->
|
||||||
|
<Label Margin="8,0,0,0" VerticalAlignment="Center">Constellation:</Label>
|
||||||
|
<TextBox
|
||||||
|
Width="30"
|
||||||
|
Margin="4,0,0,0"
|
||||||
|
VerticalAlignment="Center">
|
||||||
|
5
|
||||||
|
</TextBox>
|
||||||
|
|
||||||
|
<!-- 角色下拉框 -->
|
||||||
|
<ComboBox
|
||||||
|
x:Name="CmbAvatar"
|
||||||
Margin="8,0,0,0"
|
Margin="8,0,0,0"
|
||||||
Padding="16,8"
|
VerticalAlignment="Center"
|
||||||
HorizontalAlignment="Left"
|
IsEditable="True" />
|
||||||
Content="Weapons" />
|
</DockPanel>
|
||||||
<Button
|
|
||||||
x:Name="BtnGiveMats"
|
|
||||||
Margin="8,0,0,0"
|
|
||||||
Padding="16,8"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
Content="Mats" />
|
|
||||||
<Button
|
|
||||||
x:Name="BtnGiveAvatars"
|
|
||||||
Margin="8,0,0,0"
|
|
||||||
Padding="16,8"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
Content="Avatars" />
|
|
||||||
</StackPanel>
|
|
||||||
</GroupBox>
|
</GroupBox>
|
||||||
|
|
||||||
|
<!-- 获取武器 -->
|
||||||
|
<GroupBox
|
||||||
|
Grid.Row="1"
|
||||||
|
Margin="0,4,0,0"
|
||||||
|
Padding="4"
|
||||||
|
Header="Weapon">
|
||||||
|
<DockPanel>
|
||||||
|
<!-- 获取所有武器 -->
|
||||||
|
<Button
|
||||||
|
Padding="8,4"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
VerticalAlignment="Center">
|
||||||
|
All Weapons
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<!-- 武器等级 -->
|
||||||
|
<Label Margin="8,0,0,0" VerticalAlignment="Center">Level:</Label>
|
||||||
|
<TextBox
|
||||||
|
Width="30"
|
||||||
|
Margin="4,0,0,0"
|
||||||
|
VerticalAlignment="Center">
|
||||||
|
90
|
||||||
|
</TextBox>
|
||||||
|
|
||||||
|
<!-- 精练等级 -->
|
||||||
|
<Label Margin="8,0,0,0" VerticalAlignment="Center">Refinement:</Label>
|
||||||
|
<TextBox
|
||||||
|
Width="30"
|
||||||
|
Margin="4,0,0,0"
|
||||||
|
VerticalAlignment="Center">
|
||||||
|
5
|
||||||
|
</TextBox>
|
||||||
|
|
||||||
|
<!-- 武器下拉框 -->
|
||||||
|
<ComboBox
|
||||||
|
x:Name="CmbWeapon"
|
||||||
|
Margin="8,0,0,0"
|
||||||
|
VerticalAlignment="Center" />
|
||||||
|
</DockPanel>
|
||||||
|
</GroupBox>
|
||||||
|
|
||||||
|
<!-- 获取材料物品 -->
|
||||||
|
<GroupBox
|
||||||
|
Grid.Row="2"
|
||||||
|
Margin="0,4,0,0"
|
||||||
|
Padding="4"
|
||||||
|
Header="Item">
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="auto" />
|
||||||
|
<RowDefinition />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<StackPanel
|
||||||
|
Grid.Row="0"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
Orientation="Horizontal">
|
||||||
|
<!-- 获取所有材料 -->
|
||||||
|
<Button
|
||||||
|
Padding="8,4"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
VerticalAlignment="Center">
|
||||||
|
All Mats
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<!-- 物品数量 -->
|
||||||
|
<Label Margin="8,0,0,0" VerticalAlignment="Center">Amount:</Label>
|
||||||
|
<TextBox
|
||||||
|
Width="50"
|
||||||
|
Margin="4,0,0,0"
|
||||||
|
VerticalAlignment="Center">
|
||||||
|
99
|
||||||
|
</TextBox>
|
||||||
|
|
||||||
|
<!-- 物品ID -->
|
||||||
|
<Label Margin="8,0,0,0" VerticalAlignment="Center">Id:</Label>
|
||||||
|
<TextBox
|
||||||
|
Width="50"
|
||||||
|
Margin="4,0,0,0"
|
||||||
|
VerticalAlignment="Center" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
<!-- 操作按钮 -->
|
||||||
|
<StackPanel
|
||||||
|
Grid.Row="0"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
Orientation="Horizontal">
|
||||||
|
<!-- 添加记录 -->
|
||||||
|
<Button
|
||||||
|
Padding="8,4"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
IsEnabled="False">
|
||||||
|
√ Record
|
||||||
|
</Button>
|
||||||
|
<!-- 删除记录 -->
|
||||||
|
<Button
|
||||||
|
Margin="4,0,0,0"
|
||||||
|
Padding="8,4"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
IsEnabled="False">
|
||||||
|
× Delete
|
||||||
|
</Button>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
|
||||||
|
<Label
|
||||||
|
Grid.Row="1"
|
||||||
|
Margin="4"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Top">
|
||||||
|
Records:
|
||||||
|
</Label>
|
||||||
|
<Label
|
||||||
|
Grid.Row="1"
|
||||||
|
Margin="4"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
VerticalAlignment="Bottom"
|
||||||
|
Cursor="Hand"
|
||||||
|
Foreground="OrangeRed">
|
||||||
|
× Clear
|
||||||
|
</Label>
|
||||||
|
</Grid>
|
||||||
|
</GroupBox>
|
||||||
|
</Grid>
|
||||||
</Page>
|
</Page>
|
||||||
|
@ -47,7 +47,7 @@ namespace GrasscutterTools.Pages
|
|||||||
|
|
||||||
public void OnListItemSelected(GameItem item)
|
public void OnListItemSelected(GameItem item)
|
||||||
{
|
{
|
||||||
LblTest.Content = item;
|
//LblTest.Content = item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user