Since in C#, unlike Lua, there is a preprocessor that we can utilize, wouldn’t it make sense to define symbols CLIENT and SERVER for respective realms to be able to wrap code into #ifs?
Or can we already do that?
P. S. Checking the realm the gmod way via some global variable could be still left in, it’s useful sometimes to be used in boolean expressions, so you could give the developers both options.