group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
NetKillEvent Struct Reference

Event representing a player kill, sent from server to client for kill feed updates. More...

#include <NetKillEvent.hpp>

Collaboration diagram for NetKillEvent:
[legend]

Public Attributes

ClientId killerId
ClientId victimId
Health killerHealth
BodyRegion hitRegion = BodyRegion::UpperTorso
bool isHeadshot = false

Detailed Description

Event representing a player kill, sent from server to client for kill feed updates.

Member Data Documentation

◆ hitRegion

BodyRegion NetKillEvent::hitRegion = BodyRegion::UpperTorso

◆ isHeadshot

bool NetKillEvent::isHeadshot = false

◆ killerHealth

Health NetKillEvent::killerHealth

◆ killerId

ClientId NetKillEvent::killerId

◆ victimId

ClientId NetKillEvent::victimId

The documentation for this struct was generated from the following file: