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

@@ -172,6 +172,26 @@ internal abstract partial class CustomNodeEditor : RefCounted
return _graphNode!.GetFoldStateInternal(key);
}
/// <summary>
/// Gets the persisted fold state for a given key, with a custom default when unset.
/// </summary>
/// <param name="key">The key used to persist the fold state.</param>
/// <param name="defaultValue">The default fold state when no persisted value exists.</param>
protected bool GetFoldState(string key, bool defaultValue)
{
return _graphNode!.GetFoldStateInternal(key, defaultValue);
}
/// <summary>
/// Persists a fold state change with undo support.
/// </summary>
/// <param name="key">The key used to persist the fold state.</param>
/// <param name="folded">The new folded state.</param>
protected void SetFoldStateWithUndo(string key, bool folded)
{
_graphNode!.SetFoldStateWithUndoInternal(key, folded);
}
/// <summary>
/// Finds an existing property binding by direction and index.
/// </summary>
@@ -245,6 +265,14 @@ internal abstract partial class CustomNodeEditor : RefCounted
_graphNode!.ResetSize();
}
/// <summary>
/// Refreshes standard input-property foldable summaries.
/// </summary>
protected void RefreshInputPropertyFoldableTitles()
{
_graphNode!.UpdateInputPropertyFoldableTitlesInternal();
}
/// <summary>
/// Raises the <see cref="StatescriptGraphNode.PropertyBindingChanged"/> event.
/// </summary>