You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
C#: Set PropertyInfo.class_name for method parameters
This commit is contained in:
@@ -4,12 +4,17 @@ namespace Godot.SourceGenerators
|
||||
{
|
||||
public PropertyInfo(VariantType type, string name, PropertyHint hint,
|
||||
string? hintString, PropertyUsageFlags usage, bool exported)
|
||||
: this(type, name, hint, hintString, usage, className: null, exported) { }
|
||||
|
||||
public PropertyInfo(VariantType type, string name, PropertyHint hint,
|
||||
string? hintString, PropertyUsageFlags usage, string? className, bool exported)
|
||||
{
|
||||
Type = type;
|
||||
Name = name;
|
||||
Hint = hint;
|
||||
HintString = hintString;
|
||||
Usage = usage;
|
||||
ClassName = className;
|
||||
Exported = exported;
|
||||
}
|
||||
|
||||
@@ -18,6 +23,7 @@ namespace Godot.SourceGenerators
|
||||
public PropertyHint Hint { get; }
|
||||
public string? HintString { get; }
|
||||
public PropertyUsageFlags Usage { get; }
|
||||
public string? ClassName { get; }
|
||||
public bool Exported { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user