Skip to content

Enhancement: Make a sandboxed resolveClass function for ReflectUtil.hx #6369

@MightyTheArmiddilo

Description

@MightyTheArmiddilo

Issue Checklist

  • I have read the Contributing Guide
  • I have checked the Issues/Discussions pages to see if my enhancement has already been suggested
  • I have properly titled my enhancement

What is your suggestion, and why should it be implemented?

Hear me out on this one-

There should be a resolveClass in ReflectUtil.hx that behaves like Type.resolveClass and either throws an error with blacklisted imports or replaces with import aliases.

I think this could be useful for some modders (like me for a very very specific reason) that want a resolveClass function in certain circumstances.

Please I want this. Either I get this or I make my own resolver that imports every single class to exist for FNF’s source code and make a resolver function (and that’d probably invert my sanity)

Though I understand if this is rejected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: pending pull requestDependent on a pull request that is currently awaiting review.topic: modsRelated to the creation or use of mods.type: enhancementInvolves an enhancement or new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions