From d7f567ead2bad0723fa38657dad6ab642fd57b00 Mon Sep 17 00:00:00 2001 From: violet <1749246846@qq.com> Date: Sat, 21 Dec 2024 21:36:17 +0800 Subject: [PATCH 1/2] feat: --- .github/workflows/format.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 675780b..80d6160 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -16,7 +16,7 @@ jobs: clangFormatVersion: 14 exclude: './players' inplace: False - + dotnet-format-checking: runs-on: windows-latest steps: @@ -40,3 +40,7 @@ jobs: run: | dotnet restore "./playback/playback.sln" dotnet format "./playback/playback.sln" --severity error --no-restore --verify-no-changes + + - name: Check Interface + run: | + dotnet format whitespace "./interface/Unity/interface-live/Assets/Scripts/" --folder --verify-no-changes \ No newline at end of file From 24360a790ca70604fe73c593d99600544c7d399f Mon Sep 17 00:00:00 2001 From: violet <1749246846@qq.com> Date: Sat, 21 Dec 2024 21:55:15 +0800 Subject: [PATCH 2/2] fix: format fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除多余空格 --- logic/Gaming/CharacterManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/Gaming/CharacterManager.cs b/logic/Gaming/CharacterManager.cs index 91cb510..fff106e 100644 --- a/logic/Gaming/CharacterManager.cs +++ b/logic/Gaming/CharacterManager.cs @@ -136,7 +136,7 @@ public static bool SkillCasting(Character character, double theta = 0.0) break; case CharacterType.ShaWujing: { - break; + break; } } return true;