Killfeed should work now.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "Network/UDPClient.h"
|
||||
#include "Network/TCPClient.h"
|
||||
#include "Network/SnapshotDefinitions.h"
|
||||
#include "Network/EKillDeath.h"
|
||||
#include "Core/World.h"
|
||||
#include "Core/EntityFile.h"
|
||||
#include "Core/EventBroker.h"
|
||||
@@ -104,6 +105,7 @@ private:
|
||||
void parseDashEffect(Packet& packet);
|
||||
void parseAmmoPickup(Packet& packet);
|
||||
void parseRemoveWorld(Packet& packet);
|
||||
void parseKDEvent(Packet& packet);
|
||||
void InterpolateFields(Packet& packet, const ComponentInfo & componentInfo, const EntityID & entityID, const std::string & componentType);
|
||||
void parseSnapshot(Packet& packet);
|
||||
void identifyPacketLoss();
|
||||
|
||||
@@ -10,8 +10,19 @@ namespace Events
|
||||
|
||||
struct KillDeath : public Event
|
||||
{
|
||||
int CasualtyTeam;
|
||||
PlayerID Casualty = -1;
|
||||
std::string CasualtyName;
|
||||
|
||||
//1 = assault, 2 = defender, 3 = sniper
|
||||
int CasualtyClass;
|
||||
|
||||
int KillerTeam;
|
||||
PlayerID Killer = -1;
|
||||
std::string KillerName;
|
||||
|
||||
//1 = assault, 2 = defender, 3 = sniper
|
||||
int KillerClass;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ enum class MessageType
|
||||
ServerlistRequest,
|
||||
AmmoPickup,
|
||||
RemoveWorld,
|
||||
KD,
|
||||
Invalid
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user