Hey, I’m looking to migrate a bunch of variables to C++ instead of continuing to use Blueprints. I’m writing a framework plugin for Unreal Engine that I intend for my team to use for all upcoming projects, and since one of those includes a very large-scale open world title, having thousands of instances of Blueprints potentially running heavy code may not work out, so I’d like to write this all into C++ and be futureproofed now rather than later.
I’m trying to convert this:
The first is an array of ECollisionChannel enums, not sure how I’d put the syntax together for that one.
The next two are mappings of physical surfaces to sound bases, which I’m really struggling with. I’ve given it a couple of shots and as of now have basically just been hunting through the API and brute forcing different syntax in hopes of getting it to work, but so far, I’ve got nothing, so I’m coming to the forums to see if anyone might have an answer.
Thanks and have a good rest of your day, morning, afternoon, night, etc.