Hi. I’m not sure if it’s a general thing but there is no indication in the documentation as to whether a function is const or not.
Here’s an example:
Simply reading this, I assume that my function definition should be:
virtual bool IsNetRelevantFor(const AActor * RealViewer, const AActor * ViewTarget, const FVector & SrcLocation) override;
when it should be:
virtual bool IsNetRelevantFor(const AActor * RealViewer, const AActor * ViewTarget, const FVector & SrcLocation) const override;
Even in the list of class definitions (APlayerController | Unreal Engine Documentation), there are nice icons for static, virtual and public/protected functions. But nothing indicates, icon or word, that this is a **const **function.
No biggy. I have the source code so it took me a second to check it out. I guess it could be more of a issue for those using the binary build of the engine without debugging symbols.
Even clicking on Visual Studio’s error message: see declaration of ‘APlayerController::IsNetRelevantFor’ is no help as it pushes the editor towards the first forward declaration of APlayerController it sees in its scope.
Regards.