group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
KillFeedEvent.hpp
Go to the documentation of this file.
1
3#pragma once
4
6
8{
9 ClientId killerId; // ID of the player who made the kill
10 ClientId victimId; // ID of the player killed
11 float displayTimer = 5.0f; // Timer for how long to display the kill feed entry
12 bool sentToHud = false; // Set true after first HUD pass to prevent duplicates
13};
Network client identifier component for multiplayer entities.
Associates an entity with a connected network client.
Definition ClientId.hpp:10
Definition KillFeedEvent.hpp:8
ClientId victimId
Definition KillFeedEvent.hpp:10
bool sentToHud
Definition KillFeedEvent.hpp:12
ClientId killerId
Definition KillFeedEvent.hpp:9
float displayTimer
Definition KillFeedEvent.hpp:11