diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..adcd2ed --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ +[*.cs] + +# CS1591: 缺少对公共可见类型或成员的 XML 注释 +dotnet_diagnostic.CS1591.severity = suggestion + +dotnet_diagnostic.CS1573.severity = suggestion +dotnet_diagnostic.CS1570.severity = suggestion diff --git a/VPet-Simulator.Core/Display/MainDisplay.cs b/VPet-Simulator.Core/Display/MainDisplay.cs index 6f03d94..1dec294 100644 --- a/VPet-Simulator.Core/Display/MainDisplay.cs +++ b/VPet-Simulator.Core/Display/MainDisplay.cs @@ -470,12 +470,12 @@ namespace VPet_Simulator.Core else Display(Type, animat, EndAction); } + /// /// 显示动画 (自动查找和匹配) /// /// 动画类型 /// 动画结束后操作 - ///// 是否储存随机数字典 /// 动画的动作 Start Loop End public void Display(GraphType Type, AnimatType animat, Action EndAction = null) { diff --git a/VPet-Simulator.Core/Graph/GraphCore.cs b/VPet-Simulator.Core/Graph/GraphCore.cs index 9749cad..23ca0e0 100644 --- a/VPet-Simulator.Core/Graph/GraphCore.cs +++ b/VPet-Simulator.Core/Graph/GraphCore.cs @@ -139,7 +139,6 @@ namespace VPet_Simulator.Core /// /// 查找动画列表 /// - /// 动画类型 /// 状态类型,找不到就找相同动画类型 /// 动画的动作 Start Loop End public List FindGraphs(string GraphName, AnimatType animat, GameSave.ModeType mode) diff --git a/VPet-Simulator.Core/VPet-Simulator.Core.csproj b/VPet-Simulator.Core/VPet-Simulator.Core.csproj index 5a42c40..48e1193 100644 --- a/VPet-Simulator.Core/VPet-Simulator.Core.csproj +++ b/VPet-Simulator.Core/VPet-Simulator.Core.csproj @@ -19,6 +19,9 @@ true CS1591 + + + diff --git a/VPet.sln b/VPet.sln index 93f00fb..582f504 100644 --- a/VPet.sln +++ b/VPet.sln @@ -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