We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38621e5 commit adac840Copy full SHA for adac840
ArgumentSystem/ProvidedArguments.cs
@@ -1,6 +1,7 @@
1
using LabApi.Features.Wrappers;
2
using SER.ArgumentSystem.Arguments;
3
using SER.ArgumentSystem.Structures;
4
+using SER.FileSystem.Structures;
5
using SER.Helpers;
6
using SER.Helpers.Exceptions;
7
using SER.Helpers.Extensions;
@@ -20,6 +21,11 @@ public class ProvidedArguments(Method method)
20
21
{
22
private Dictionary<(string name, Type type), List<DynamicTryGet>> Arguments { get; } = [];
23
24
+ public Database GetDatabase(string argName)
25
+ {
26
+ return GetValue<Database, DatabaseArgument>(argName);
27
+ }
28
+
29
public Script GetCreatedScript(string argName)
30
31
return GetValue<Script, CreatedScriptArgument>(argName);
0 commit comments