summaryrefslogtreecommitdiff
path: root/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-03-07 01:04:47 +0100
committerGitHub <noreply@github.com>2021-03-07 01:04:47 +0100
commit15bd2bf03f25c7c6217cb625572c6785b9cfbf6b (patch)
treee82e39c86c2e852a13e801ade75b718ed392d7fa /modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs
parentdea8105a38fb535c4f5e5da7eb4e81d2e11b6cb2 (diff)
parente2afe700f62aaa503daed0519ff88b0aa1a559c1 (diff)
Merge pull request #46713 from neikeq/csharp-source-generators-init
Add C# source generator for ScriptPathAttribute
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.cs9
1 files changed, 9 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
new file mode 100644
index 0000000000..29e41d155a
--- /dev/null
+++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs
@@ -0,0 +1,9 @@
+namespace Godot.SourceGenerators
+{
+ public static class GodotClasses
+ {
+ public const string Object = "Godot.Object";
+ public const string DisableGodotGeneratorsAttr = "Godot.DisableGodotGeneratorsAttribute";
+ public const string AssemblyHasScriptsAttr = "Godot.AssemblyHasScriptsAttribute";
+ }
+}