This commit is contained in:
SoulliesOfficial
2026-04-01 12:23:27 -04:00
parent aff7ac0e03
commit c3b1561375
933 changed files with 114333 additions and 119360 deletions

View File

@@ -31,6 +31,14 @@ namespace SLSFramework.General
action.Invoke(arg1, arg2);
}
}
public static void Invoke<T1, T2, T3>(this IDictionary<string, PrioritizedAction<T1, T2, T3>> dictionary, T1 arg1, T2 arg2, T3 arg3)
{
foreach (var action in dictionary.Values)
{
action.Invoke(arg1, arg2, arg3);
}
}
public static void ModifyOrAdd(this IDictionary<string, float> dictionary, string key, float delta)
{