This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UNR-2003] Create CookAndGenerateSchemaCommandlet (#1342)
* Initial commit of CookAndGenerateSchemaCommandlet, generating correct schema but appears to be missing Data-Only Blueprints * Wrap generate call in an async task to avoid blocking. * New Implementation using UObjectArray callback instead, catches a lot of things missed. Also filtering UObjects to replicate based on IsSupportedForNetworking * Avoid adding classes twice during generate. Tidy up * Only generate schema for explicit spatial types (AActor & UActorComponent are explicit by default). Also use objectiterator with FObjectListener directly. * Check for explicit Spatial flag, also double check parent class if no explicit flag is present as a workaround for stale blueprints * Downgrade logs to verbose. Add Schema Gen Timer * Cleanup * More Cleanup * Add back in merge error * Update UnrealEngine Version for CI * Remove Newline * Fix merge issues * PR Comments * Use ClassIterator directly in commandlet to gather supported c++ & in-memory classes before cook * Update unreal-engine.version * PR Comments * Remove recursive argument to VisitAllObjects * Remove newline * Remove redundant method FilterClasses * Put Schema Gen API inside SpatialGDKEditor::Schema namespace * Use GetAllSupportedClasses in Cook Commandlet * Make ObjectListener interface cleaner. Sort Set directly * Only return 0 since CookCommandlet can only return 0 * Update Engine Version in CI * PR Comments * Remove recursive check now that blueprint class flags are fixed in the KismetCompiler * Update checks for NotSpatialType to include checks for ExplicitSpatialType now that semantics have changed * Only check for the absence of SPATIALCLASS_ExplicitSpatialType since it's mutually exclusive to SPATIALCLASS_NotSpatialType * rename SPATIALCLASS_ExplicitSpatialType SPATIALCLASS_SpatialType, remove redundant check for NotSpatialType * Add CHANGELOG * Increment RequiresSetup * Better error when no generated schema for class * Update engine-version * Update SpatialGDK/Source/SpatialGDKEditorCommandlet/Private/Commandlets/CookAndGenerateSchemaCommandlet.cpp Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> * remove newline from engine version * Actually remove the newline this time
- Loading branch information
1 parent
059e9ad
commit e3e8469
Showing
18 changed files
with
351 additions
and
82 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,4 +1,4 @@ | ||
Increment the below number whenever it is required to run Setup.bat as part of a new commit. | ||
Our git hooks will detect this file has been updated and automatically run Setup.bat on pull. | ||
|
||
32 | ||
33 |
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
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
Oops, something went wrong.