PropertyInfo.cs 684 B

1234567891011121314151617181920212223
  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. {
  8. Type = type;
  9. Name = name;
  10. Hint = hint;
  11. HintString = hintString;
  12. Usage = usage;
  13. Exported = exported;
  14. }
  15. public VariantType Type { get; }
  16. public string Name { get; }
  17. public PropertyHint Hint { get; }
  18. public string? HintString { get; }
  19. public PropertyUsageFlags Usage { get; }
  20. public bool Exported { get; }
  21. }
  22. }