Skip to content

fast immergancy fix : use GetExportedTypes() #24

@kianzarrin

Description

@kianzarrin

Use GetExportedTypes() instead of GetTypes()

Reasons:

  • The game does useGetExportedTypes() every time it loads an assembly so using GetExportedTypes() is harmless
  • calling GetTypes() makes NExt2 incompatible with mods that have direct references to other mods (not only harmony)
  • avoiding direct references in private types is hard because sometimes the compiler creates hidden private types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions