[Latency] Is multiplayer PVP Hitscan based or Latency based?

Hi, would like to know if the online PVP gameplay is Hitscan or Latency based?

Hitscan : On your screen if you hit the enemy, even if you are 999ms and opponent is 10ms, the opponent WILL take damage even if he has hid behind a wall on his screen. As on your screen the opponent has not hid behind the wall.

Latency: Standard online protocol. Low latency > high latency players. You(999ms) on your screen hits the opponent(10ms) but hits does not register as opponent is already behind a wall on his screen.