Looks like it's easy after all. All these engine developers must be idiots, not thinking of such easy solutions
But seriously, it's not that simple as you make it out to be. You can't just raytrace your way into a reliable visibility check. Especially server side. and then also compensate for network lag
Doesn't matter which genre you want to apply it to