summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2023-02-02 00:54:16 +0100
committerRaul Santos <raulsntos@gmail.com>2023-05-29 19:04:02 +0200
commita1f454fee353fadbdb6f7032b6458f92be46560c (patch)
treeb5dd332d65aeee6745845cbffb7feabc1c59ed35 /modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs
parent2eec9a67d564b11326f44c5ef8b6b6f9aec251b9 (diff)
downloadredot-engine-a1f454fee353fadbdb6f7032b6458f92be46560c.tar.gz
C#: Add global class support
Co-authored-by: willnationsdev <willnationsdev@gmail.com>
Diffstat (limited to 'modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs')
-rw-r--r--modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs
index b60148b34f..e80837dbe0 100644
--- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs
+++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs
@@ -11,6 +11,7 @@ namespace Godot.SourceGenerators
public const string SignalAttr = "Godot.SignalAttribute";
public const string MustBeVariantAttr = "Godot.MustBeVariantAttribute";
public const string GodotClassNameAttr = "Godot.GodotClassNameAttribute";
+ public const string GlobalClassAttr = "Godot.GlobalClassAttribute";
public const string SystemFlagsAttr = "System.FlagsAttribute";
}
}