Fix extraction of C# default property values when negative

This commit is contained in:
Paul Joannon
2025-04-13 17:57:20 +02:00
parent 215acd52e8
commit 88191b0b15
5 changed files with 11 additions and 4 deletions
@@ -9,7 +9,7 @@ public partial class ExportedFields : GodotObject
[Export] private SByte _fieldSByte = 10;
[Export] private Int16 _fieldInt16 = 10;
[Export] private Int32 _fieldInt32 = 10;
[Export] private Int64 _fieldInt64 = 10;
[Export] private Int64 _fieldInt64 = -10_000;
[Export] private Byte _fieldByte = 10;
[Export] private UInt16 _fieldUInt16 = 10;
[Export] private UInt32 _fieldUInt32 = 10;
@@ -97,7 +97,7 @@ public partial class ExportedProperties : GodotObject
[Export] private SByte PropertySByte { get; set; } = 10;
[Export] private Int16 PropertyInt16 { get; set; } = 10;
[Export] private Int32 PropertyInt32 { get; set; } = 10;
[Export] private Int64 PropertyInt64 { get; set; } = 10;
[Export] private Int64 PropertyInt64 { get; set; } = -10_000;
[Export] private Byte PropertyByte { get; set; } = 10;
[Export] private UInt16 PropertyUInt16 { get; set; } = 10;
[Export] private UInt32 PropertyUInt32 { get; set; } = 10;