-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
68 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"sdk": { | ||
"version": "8.0.200", | ||
"version": "9.0.100", | ||
"rollForward": "latestFeature" | ||
}, | ||
"tools": { | ||
"dotnet": "8.0.200" | ||
"dotnet": "9.0.100" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Godot.BindingsGenerator.ApiDump/Godot.BindingsGenerator.ApiDump.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,32 @@ | ||
using Godot.BindingsGenerator.ApiDump.Serialization; | ||
|
||
namespace Godot.BindingsGenerator.ApiDump; | ||
|
||
/// <summary> | ||
/// Defines the type of an API. | ||
/// </summary> | ||
[JsonConverter(typeof(StringEnumConverter<GodotApiType>))] | ||
[JsonConverter(typeof(JsonStringEnumConverter<GodotApiType>))] | ||
public enum GodotApiType | ||
{ | ||
/// <summary> | ||
/// API defined in core types. | ||
/// </summary> | ||
[JsonPropertyName("core")] | ||
[JsonStringEnumMemberName("core")] | ||
Core = 1, | ||
|
||
/// <summary> | ||
/// API defined in editor types that aren't available in exported projects. | ||
/// </summary> | ||
[JsonPropertyName("editor")] | ||
[JsonStringEnumMemberName("editor")] | ||
Editor, | ||
|
||
/// <summary> | ||
/// API defined in extension types. | ||
/// </summary> | ||
[JsonPropertyName("extension")] | ||
[JsonStringEnumMemberName("extension")] | ||
Extension, | ||
|
||
/// <summary> | ||
/// API defined in extension editor types that aren't available in exported projects. | ||
/// </summary> | ||
[JsonPropertyName("editor_extension")] | ||
[JsonStringEnumMemberName("editor_extension")] | ||
EditorExtension, | ||
} |
11 changes: 5 additions & 6 deletions
11
src/Godot.BindingsGenerator.ApiDump/Models/GodotBuildConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,36 @@ | ||
using System.Diagnostics.CodeAnalysis; | ||
using Godot.BindingsGenerator.ApiDump.Serialization; | ||
|
||
namespace Godot.BindingsGenerator.ApiDump; | ||
|
||
/// <summary> | ||
/// The configuration used to build the Godot engine used to dump the extension API. | ||
/// </summary> | ||
[JsonConverter(typeof(StringEnumConverter<GodotBuildConfiguration>))] | ||
[JsonConverter(typeof(JsonStringEnumConverter<GodotBuildConfiguration>))] | ||
public enum GodotBuildConfiguration | ||
{ | ||
/// <summary> | ||
/// Godot was built for a 32-bits architecture, and with 32-bit floating-point precision. | ||
/// </summary> | ||
[SuppressMessage("Naming", "CA1720:Identifier contains type name", Justification = "The name of the enum value must match the string used by the API JSON dump.")] | ||
[JsonPropertyName("float_32")] | ||
[JsonStringEnumMemberName("float_32")] | ||
Float32 = 1, | ||
|
||
/// <summary> | ||
/// Godot was built for a 64-bits architecture, and with 32-bit floating-point precision. | ||
/// </summary> | ||
[SuppressMessage("Naming", "CA1720:Identifier contains type name", Justification = "The name of the enum value must match the string used by the API JSON dump.")] | ||
[JsonPropertyName("float_64")] | ||
[JsonStringEnumMemberName("float_64")] | ||
Float64, | ||
|
||
/// <summary> | ||
/// Godot was built for a 32-bits architecture, and with 64-bit floating-point precision. | ||
/// </summary> | ||
[JsonPropertyName("double_32")] | ||
[JsonStringEnumMemberName("double_32")] | ||
Double32, | ||
|
||
/// <summary> | ||
/// Godot was built for a 64-bits architecture, and with 64-bit floating-point precision. | ||
/// </summary> | ||
[JsonPropertyName("double_64")] | ||
[JsonStringEnumMemberName("double_64")] | ||
Double64, | ||
} |
59 changes: 0 additions & 59 deletions
59
src/Godot.BindingsGenerator.ApiDump/Serialization/StringEnumConverter.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.