Hi all,
I’ve noticed I run into a situation a lot of the time where I have C++ functions that I’d like to only ever run on authority, and I end up manually verifying that the code is running on authority. It happens often enough that I’m wondering if there’s a C++ equivalent to BlueprintAuthorityOnly that I can use for C++ functions, because all the checks make my code a little less readable, and I feel like there’s probably some amount of optimization that could be done when the compiler knows for certain that some functions will run exclusively on authority.
Just curious if anybody else has any ideas.