2022-07-28 15:41:47 +00:00
|
|
|
namespace Godot.SourceGenerators
|
|
|
|
{
|
2022-07-07 15:58:13 +00:00
|
|
|
internal readonly struct PropertyInfo
|
2022-07-28 15:41:47 +00:00
|
|
|
{
|
|
|
|
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; }
|
|
|
|
}
|
|
|
|
}
|