mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
更新 LPSv1.10
This commit is contained in:
parent
1b8f99ce85
commit
0bf3f7e4f8
@ -5,3 +5,5 @@ dotnet_diagnostic.CS1591.severity = suggestion
|
||||
|
||||
dotnet_diagnostic.CS1573.severity = suggestion
|
||||
dotnet_diagnostic.CS1570.severity = suggestion
|
||||
# CS8632: 只能在 "#nullable" 注释上下文内的代码中使用可为 null 的引用类型的注释。
|
||||
dotnet_diagnostic.CS8632.severity = suggestion
|
||||
|
@ -23,10 +23,10 @@
|
||||
<None Include="..\.editorconfig" Link=".editorconfig" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="LinePutScript" Version="1.9.2" />
|
||||
<PackageReference Include="LinePutScript" Version="1.10.2" />
|
||||
<PackageReference Include="LinePutScript.Localization.WPF" Version="1.0.6" />
|
||||
<PackageReference Include="Panuon.WPF" Version="1.0.2" />
|
||||
<PackageReference Include="Panuon.WPF.UI" Version="1.1.15.8" />
|
||||
<PackageReference Include="Panuon.WPF" Version="1.0.3" />
|
||||
<PackageReference Include="Panuon.WPF.UI" Version="1.1.16.8" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
|
@ -87,7 +87,7 @@ namespace VPet_Simulator.Windows.Interface
|
||||
/// </summary>
|
||||
public double VoiceVolume
|
||||
{
|
||||
get => GetFloat("voicevolume", 0.5);
|
||||
get => (double)GetFloat("voicevolume", 0.5);
|
||||
set => SetFloat("voicevolume", value);
|
||||
}
|
||||
/// <summary>
|
||||
@ -275,7 +275,7 @@ namespace VPet_Simulator.Windows.Interface
|
||||
/// </summary>
|
||||
public double PetHelpLeft
|
||||
{
|
||||
get => this["pethelp"].GetFloat("left", 0);
|
||||
get => (double)this["pethelp"].GetFloat("left", 0);
|
||||
set => this["pethelp"].SetFloat("left", value);
|
||||
}
|
||||
/// <summary>
|
||||
@ -283,7 +283,7 @@ namespace VPet_Simulator.Windows.Interface
|
||||
/// </summary>
|
||||
public double PetHelpTop
|
||||
{
|
||||
get => this["pethelp"].GetFloat("top", 0);
|
||||
get => (double)this["pethelp"].GetFloat("top", 0);
|
||||
set => this["pethelp"].SetFloat("top", value);
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ namespace VPet_Simulator.Windows.Interface
|
||||
get => GetDateTime((string)subName);
|
||||
set => SetDateTime((string)subName, value);
|
||||
}
|
||||
public double this[gflt subName]
|
||||
public FInt64 this[gflt subName]
|
||||
{
|
||||
get => GetFloat((string)subName);
|
||||
set => SetFloat((string)subName, value);
|
||||
@ -113,9 +113,9 @@ namespace VPet_Simulator.Windows.Interface
|
||||
|
||||
public void SetInt64(string subName, long value) => Set(subName, value);
|
||||
|
||||
public double GetFloat(string subName, double defaultvalue = 0) => Find(subName)?.GetFloat() ?? defaultvalue;
|
||||
public FInt64 GetFloat(string subName, FInt64 defaultvalue = default) => Find(subName)?.GetFloat() ?? defaultvalue;
|
||||
|
||||
public void SetFloat(string subName, double value) => Set(subName, value);
|
||||
public void SetFloat(string subName, FInt64 value) => Set(subName, new SetObject(value));
|
||||
|
||||
public DateTime GetDateTime(string subName, DateTime defaultvalue = default) => Find(subName)?.GetDateTime() ?? defaultvalue;
|
||||
|
||||
|
@ -16,9 +16,9 @@
|
||||
<ProjectReference Include="..\VPet-Simulator.Core\VPet-Simulator.Core.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="LinePutScript" Version="1.9.2" />
|
||||
<PackageReference Include="LinePutScript" Version="1.10.2" />
|
||||
<PackageReference Include="LinePutScript.Localization.WPF" Version="1.0.6" />
|
||||
<PackageReference Include="Panuon.WPF" Version="1.0.2" />
|
||||
<PackageReference Include="Panuon.WPF.UI" Version="1.1.15.8" />
|
||||
<PackageReference Include="Panuon.WPF" Version="1.0.3" />
|
||||
<PackageReference Include="Panuon.WPF.UI" Version="1.1.16.8" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -185,6 +185,9 @@
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\.editorconfig" Link=".editorconfig" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Res\img\rbgt.png" />
|
||||
<Resource Include="Res\img\r_autobuy_1.png" />
|
||||
@ -234,10 +237,10 @@
|
||||
<PackageReference Include="CSCore" Version="1.2.1.2" />
|
||||
<PackageReference Include="Facepunch.Steamworks" Condition="'$(Platform)' == 'x64'" Version="2.3.3" />
|
||||
<PackageReference Include="Facepunch.Steamworks.win32" Condition="'$(Platform)' == 'x86'" Version="2.3.3" />
|
||||
<PackageReference Include="LinePutScript" Version="1.9.2" />
|
||||
<PackageReference Include="LinePutScript" Version="1.10.2" />
|
||||
<PackageReference Include="LinePutScript.Localization.WPF" Version="1.0.6" />
|
||||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
||||
<PackageReference Include="Panuon.WPF" Version="1.0.2" />
|
||||
<PackageReference Include="Panuon.WPF.UI" Version="1.1.15.8" />
|
||||
<PackageReference Include="Panuon.WPF" Version="1.0.3" />
|
||||
<PackageReference Include="Panuon.WPF.UI" Version="1.1.16.8" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -50,7 +50,7 @@ namespace VPet_Simulator.Windows
|
||||
}
|
||||
}
|
||||
|
||||
private void Statistics_StatisticChanged(Interface.Statistics sender, string name, LinePutScript.SetObject value)
|
||||
private void Statistics_StatisticChanged(Interface.Statistics sender, string name, SetObject value)
|
||||
{
|
||||
Dispatcher.Invoke(() =>
|
||||
{
|
||||
|
@ -1,2 +1,3 @@
|
||||
由于操作系统的设计,通过我们软件启动的程序可能会在任务管理器中归类为我们软件的子进程,这可能导致CPU/内存占用显示较高#Due to the design of the operating system, programs launched by our software may be categorized as sub-processes of our software in the task manager, which may result in higher displayed CPU/memory usage.:|
|
||||
关于CPU/内存占用显示较高的一次性提示#One-time Notice Regarding Higher Displayed CPU/Memory Usage:|
|
||||
尝试加载动画和生成缓存\n该步骤可能会耗时比较长\n请耐心等待#Attempting to load animations and generate cache\nThis step may take a while\nPlease be patient:|
|
@ -1,2 +1,3 @@
|
||||
由于操作系统的设计,通过我们软件启动的程序可能会在任务管理器中归类为我们软件的子进程,这可能导致CPU/内存占用显示较高#由于操作系统的设计,通过我们软件启动的程序可能会在任务管理器中归类为我们软件的子进程,这可能导致CPU/内存占用显示较高:|
|
||||
关于CPU/内存占用显示较高的一次性提示#关于CPU/内存占用显示较高的一次性提示:|
|
||||
尝试加载动画和生成缓存\n该步骤可能会耗时比较长\n请耐心等待#尝试加载动画和生成缓存\n该步骤可能会耗时比较长\n请耐心等待:|
|
@ -1,2 +1,3 @@
|
||||
由于操作系统的设计,通过我们软件启动的程序可能会在任务管理器中归类为我们软件的子进程,这可能导致CPU/内存占用显示较高#由於操作系統的設計,透過我們軟體啟動的程序可能會在任務管理器中歸類為我們軟體的子進程,這可能導致CPU/內存占用顯示較高:|
|
||||
关于CPU/内存占用显示较高的一次性提示#關於CPU/內存占用顯示較高的一次性提示:|
|
||||
尝试加载动画和生成缓存\n该步骤可能会耗时比较长\n请耐心等待#嘗試加載動畫和生成緩存\n該步驟可能會耗時比較長\n請耐心等待:|
|
@ -40,11 +40,10 @@
|
||||
<HintPath>..\packages\FastMember.1.5.0\lib\net461\FastMember.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="LinePutScript, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\LinePutScript.1.9.2\lib\net462\LinePutScript.dll</HintPath>
|
||||
<HintPath>..\packages\LinePutScript.1.10.2\lib\net462\LinePutScript.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="LinePutScript.Localization.WPF, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>
|
||||
..\packages\LinePutScript.Localization.WPF.1.0.6\lib\net462\LinePutScript.Localization.WPF.dll</HintPath>
|
||||
<HintPath>..\packages\LinePutScript.Localization.WPF.1.0.6\lib\net462\LinePutScript.Localization.WPF.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Panuon.WPF, Version=1.0.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Panuon.WPF.1.0.3\lib\net462\Panuon.WPF.dll</HintPath>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="FastMember" version="1.5.0" targetFramework="net462" />
|
||||
<package id="LinePutScript" version="1.9.2" targetFramework="net462" />
|
||||
<package id="LinePutScript" version="1.10.2" targetFramework="net462" />
|
||||
<package id="LinePutScript.Localization.WPF" version="1.0.6" targetFramework="net462" />
|
||||
<package id="Panuon.WPF" version="1.0.3" targetFramework="net462" />
|
||||
<package id="Panuon.WPF.UI" version="1.1.16.5" targetFramework="net462" />
|
||||
<package id="Panuon.WPF.UI" version="1.1.16.8" targetFramework="net462" />
|
||||
</packages>
|
Loading…
Reference in New Issue
Block a user