WIP - Expose API to retrive all type definitions & AssetStudio backend hacks#8
Draft
mos9527 wants to merge 6 commits intoUnityPy-Org:mainfrom
Draft
WIP - Expose API to retrive all type definitions & AssetStudio backend hacks#8mos9527 wants to merge 6 commits intoUnityPy-Org:mainfrom
mos9527 wants to merge 6 commits intoUnityPy-Org:mainfrom
Conversation
…ptableObject based types AssetStudio - Add recusion checks to kill recursive types AssetStudio - Use UnityCsReference sources directly w/o submodule AssetStudio - Releax UnityCsReference checks to include errornously omitted fields CLI - Add `--output` , `-o` option to produce JSON like the orignial TypetreeGenerator
Collaborator
|
I was thinking about simply making an option to add the MonoBehaviour nodes on demand. |
Collaborator
|
I'm not really a fan of converting the GetMonoBehaviourDefinitions to GetClassDefinitions. |
Collaborator
|
Is there some way to hack around the direct inclusion of the cs reference code? |
Collaborator
|
Anyway, thanks a lot for the PR and work, I will look through it for good in the coming week. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking -
TypeTreeGenerator_getClassDefinitionsreplacesTypeTreeGenerator_getMonoBehaviorDefinitions.This PR allows all class typedefs besides
MonoBehaviourbased ones to be also consumed from the API, includingScriptableObjectand co as disscussed in #1 (comment).Furthermore, some (unfortunate) hacks have been applied to the AssetStudio backend to make its output conformant to the old one i.e. https://github.com/K0lb3/TypeTreeGenerator. 29cc677 should contain more details.
As the title suggests the PR is heavily a work-in-progress. Please do let me know if there's any change required - I'll leave this as a draft for now. Again, thanks a lot for your work in this repo!