去掉没啥用的警告(

This commit is contained in:
ZouJin 2023-08-26 16:52:53 +10:00
parent e7be8541ec
commit f39b49cc56
5 changed files with 16 additions and 2 deletions

7
.editorconfig Normal file
View File

@ -0,0 +1,7 @@
[*.cs]
# CS1591: 缺少对公共可见类型或成员的 XML 注释
dotnet_diagnostic.CS1591.severity = suggestion
dotnet_diagnostic.CS1573.severity = suggestion
dotnet_diagnostic.CS1570.severity = suggestion

View File

@ -470,12 +470,12 @@ namespace VPet_Simulator.Core
else
Display(Type, animat, EndAction);
}
/// <summary>
/// 显示动画 (自动查找和匹配)
/// </summary>
/// <param name="Type">动画类型</param>
/// <param name="EndAction">动画结束后操作</param>
///// <param name="storernd">是否储存随机数字典</param>
/// <param name="animat">动画的动作 Start Loop End</param>
public void Display(GraphType Type, AnimatType animat, Action EndAction = null)
{

View File

@ -139,7 +139,6 @@ namespace VPet_Simulator.Core
/// <summary>
/// 查找动画列表
/// </summary>
/// <param name="type">动画类型</param>
/// <param name="mode">状态类型,找不到就找相同动画类型</param>
/// <param name="animat">动画的动作 Start Loop End</param>
public List<IGraph> FindGraphs(string GraphName, AnimatType animat, GameSave.ModeType mode)

View File

@ -19,6 +19,9 @@
<DebugSymbols>true</DebugSymbols>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<ItemGroup>
<None Include="..\.editorconfig" Link=".editorconfig" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="LinePutScript" Version="1.9.2" />
<PackageReference Include="LinePutScript.Localization.WPF" Version="1.0.6" />

View File

@ -11,6 +11,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VPet-Simulator.Windows", "V
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VPet-Simulator.Windows.Interface", "VPet-Simulator.Windows.Interface\VPet-Simulator.Windows.Interface.csproj", "{DCAD838A-1A02-4BDF-962C-FD47C6006D28}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{954E332A-9785-4B38-9C5E-C8262E83C30E}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU