Update SJKScripts
Some checks failed
Spellcheck / Spellcheck (push) Successful in 18s
Tests / Evaluate Tests on ubuntu-latest (push) Failing after 38s

This commit is contained in:
2026-08-07 13:40:27 -04:00
parent fa5bc913a4
commit c5d5a0da61
3 changed files with 7 additions and 5 deletions

View File

@@ -48,7 +48,7 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="GodotSharp" Version="4.6.2" />
<PackageReference Include="SjkScripts" Version="1.0.17" />
<PackageReference Include="SjkScripts" Version="1.0.19" />
<!-- [1.2.3,2.3.4] use range of versions -->
</ItemGroup>
</Project>

View File

@@ -3,7 +3,7 @@ namespace GodotHelpers;
using System;
using System.Linq;
using Godot;
using SJK.Functional;
public static class MyNodeExtensions
{
@@ -41,6 +41,7 @@ public static class MyNodeExtensions
var result = self.GetNodeAndResource(path);
return ((Node)(GodotObject)result[0], (Resource)(GodotObject)result[1], (NodePath)result[2]);
}
public static void QueueFreeChildren(this Node node) => node.GetChildren().ToList().ForEach(item => item.QueueFree());
public static void QueueFreeChildren(this Node node, Func<Node, bool> predicate) => node.GetChildren().Where(predicate).ToList().ForEach(item => item.QueueFree());
}

View File

@@ -2,12 +2,13 @@
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="gitea" value="http://192.168.1.4:3000/api/packages/Ronnie/nuget/index.json" allowInsecureConnections="True" />
<!-- <add key="coverlet" value="https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json" /> -->
<!-- <add key="gitea" value="http://gitea.superjrking.com/api/packages/Ronnie/nuget/index.json" allowInsecureConnections="True" /> -->
</packageSources>
<packageSourceCredentials>
<!-- <packageSourceCredentials>
<gitea>
<add key="Username" value="Ronnie" />
<add key="ClearTextPassword" value="e59e39d60f30b539ae594d8cfc7a9771883d2eb0" />
</gitea>
</packageSourceCredentials>
</packageSourceCredentials> -->
</configuration>