update forge
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 27s
Create tag and build when new code gets to main / Export (push) Successful in 7m25s

This commit is contained in:
2026-05-17 00:06:44 +02:00
parent 8b54f00814
commit e09714cf83
473 changed files with 13577 additions and 767 deletions

View File

@@ -0,0 +1,28 @@
// Copyright © Gamesmiths Guild.
#if TOOLS
using System;
using Gamesmiths.Forge.Godot.Editor.Statescript.Resolvers.Bases;
using Gamesmiths.Forge.Godot.Resources.Statescript.Resolvers;
using Godot;
using ForgeVariant128 = Gamesmiths.Forge.Statescript.Variant128;
namespace Gamesmiths.Forge.Godot.Editor.Statescript.Resolvers;
[Tool]
internal sealed partial class ModuloResolverEditor : BinaryNestedResolverEditorBase<ModuloResolverResource>
{
public override string DisplayName => "Modulo";
public override string ResolverTypeId => "Modulo";
protected override Type[] FactoryExpectedTypes => [typeof(int), typeof(float), typeof(double)];
protected override Type NestedExpectedType => typeof(ForgeVariant128);
public override bool IsCompatibleWith(Type expectedType)
{
return expectedType == typeof(ForgeVariant128) || ResolverEditorCompatibility.IsNumericType(expectedType);
}
}
#endif