/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h
Get the EPhysicsReplicationMode from the owning actor. It's recommended to get the parameter directly from the Actor if possible.
EPhysicsReplicationMode GetPhysicsReplicationMode() const