Skip to content

fix: NetworkBehaviourILPP to iterate over all types in an AsmDef #803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 5, 2021

Conversation

0xFA11
Copy link
Contributor

@0xFA11 0xFA11 commented May 5, 2021

Previously, NetworkBehaviourILPP was considering top-level types in an asmdef's main module and was trying to iterate over nested NetworkBehaviour derived types.
However, that approach was leaving further nested NetworkBehaviour types in the type hierarchy.
Switching from ModuleDefinition.Types to ModuleDefinition.GetTypes() API, NetworkBehaviourILPP now iterates over ALL types and filters for NetworkBehaviour derived types and leaving no one outside from ILPP.

Copy link
Contributor

@TwoTenPvP TwoTenPvP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌🏻

@0xFA11 0xFA11 enabled auto-merge (squash) May 5, 2021 13:13
@0xFA11 0xFA11 merged commit a8f16aa into develop May 5, 2021
@0xFA11 0xFA11 deleted the fix/ilpp-any-netbhv branch May 5, 2021 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants