summaryrefslogtreecommitdiff
path: root/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/PropertyInfo.cs
blob: b345f5f84d4853eeabecc467698e27425b277b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace Godot.SourceGenerators
{
    internal struct PropertyInfo
    {
        public PropertyInfo(VariantType type, string name, PropertyHint hint,
            string? hintString, PropertyUsageFlags usage, bool exported)
        {
            Type = type;
            Name = name;
            Hint = hint;
            HintString = hintString;
            Usage = usage;
            Exported = exported;
        }

        public VariantType Type { get; }
        public string Name { get; }
        public PropertyHint Hint { get; }
        public string? HintString { get; }
        public PropertyUsageFlags Usage { get; }
        public bool Exported { get; }
    }
}