Debian Codegraph @

modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/PropertyInfo.cs

raw symbols SCIP
1 namespace Godot.SourceGenerators
2 {
3 internal readonly struct PropertyInfo
4 {
5 public PropertyInfo(VariantType type, string name, PropertyHint hint,
6 string? hintString, PropertyUsageFlags usage, bool exported)
7 : this(type, name, hint, hintString, usage, className: null, exported) { }
8
9 public PropertyInfo(VariantType type, string name, PropertyHint hint,
10 string? hintString, PropertyUsageFlags usage, string? className, bool exported)
11 {
12 Type = type;
13 Name = name;
14 Hint = hint;
15 HintString = hintString;
16 Usage = usage;
17 ClassName = className;
18 Exported = exported;
19 }
20
21 public VariantType Type { get; }
22 public string Name { get; }
23 public PropertyHint Hint { get; }
24 public string? HintString { get; }
25 public PropertyUsageFlags Usage { get; }
26 public string? ClassName { get; }
27 public bool Exported { get; }
28 }
29 }