Debian Codegraph @

modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/GeneratedSources/ExportedProperties2_ScriptPropertyDefVal.generated.cs

raw symbols SCIP
1 partial class ExportedProperties2
2 {
3 #pragma warning disable CS0109 // Disable warning about redundant 'new' keyword
4 #if TOOLS
5 /// <summary>
6 /// Get the default values for all properties declared in this class.
7 /// This method is used by Godot to determine the value that will be
8 /// used by the inspector when resetting properties.
9 /// Do not call this method.
10 /// </summary>
11 [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
12 internal new static global::System.Collections.Generic.Dictionary<global::Godot.StringName, global::Godot.Variant> GetGodotPropertyDefaultValues()
13 {
14 var values = new global::System.Collections.Generic.Dictionary<global::Godot.StringName, global::Godot.Variant>(3);
15 int __Health_default_value = default;
16 values.Add(PropertyName.@Health, global::Godot.Variant.From<int>(__Health_default_value));
17 global::Godot.Resource __SubResource_default_value = default;
18 values.Add(PropertyName.@SubResource, global::Godot.Variant.From<global::Godot.Resource>(__SubResource_default_value));
19 string[] __Strings_default_value = default;
20 values.Add(PropertyName.@Strings, global::Godot.Variant.From<string[]>(__Strings_default_value));
21 return values;
22 }
23 #endif // TOOLS
24 #pragma warning restore CS0109
25 }