MSVC Print All Predefined #Defines

Sometimes you really need to know what defines your compiler has on by default. I had no idea how to do this with Visual Studio so I dug in. Here is how to do it.

Open up a VS command prompt, pick the appropriate prompt x86, x64 etc.

enter the …

Unreal: Am I On The Server

I’ve been working on an Unreal game for the past few months. One of the things that the whole team has found very frustrating is knowing if the code we are writing is running on the server or the client.

Lots of code only needs to run on one …