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

ECS component: information about the entity that killed this player. More...

#include <DeathInfo.hpp>

Collaboration diagram for DeathInfo:
[legend]

Public Attributes

ClientId killerId
 Client ID of the killer.
Health killerHealth
 Killer's health snapshot at time of the kill.

Detailed Description

ECS component: information about the entity that killed this player.

Attached on death, removed on respawn. Used by the client to display the killer's health bar in the death screen.

Member Data Documentation

◆ killerHealth

Health DeathInfo::killerHealth

Killer's health snapshot at time of the kill.

◆ killerId

ClientId DeathInfo::killerId

Client ID of the killer.


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