How do I organize my code inside AActors & UComponents?

Hi. So basically what I wanted to do originally was just create a class, namespace or struct “Input” to hold a bunch of variables/methods for player input - I also want it to be able to access methods like GetWorld() that are inherited from things like UInputComponent. I also want this class to get instanciated sort of as a part of another class.

Might get a little confusing at this point. But basically I want to do something like this:

where I can create a scope within my class UMultiCharacterComponentVoxelGame thats dedicated exclusively for stuff related to player input. Note line 41, how would I be able to organize my code whilst still having access to methods like this?

This time I will just fall back to prefixing my member names with “Input”. But this feels somewhat suboptimal