How to Get NetRole from a UActorComponent? C++

I want to write this code in C++

However it seems that the Role property is not declared in the UActorComponent class.

2

How do I get the Role in this case?

Thank you so much!!

Ok, sorry… I just found the solution

Thank you so much!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.