the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 29 lines 666 B view raw
1#pragma once 2#include "CombatTracker.h" 3 4class DamageSource; 5 6class CombatEntry 7{ 8private: 9 DamageSource *source; 10 int time; 11 float damage; 12 float health; 13 CombatTracker::eLOCATION location; // 4J: Location is now an enum, not a string 14 float fallDistance; 15 16public: 17 CombatEntry(DamageSource *source, int time, float health, float damage, CombatTracker::eLOCATION nextLocation, float fallDistance); 18 ~CombatEntry(); 19 20 DamageSource *getSource(); 21 int getTime(); 22 float getDamage(); 23 float getHealthBeforeDamage(); 24 float getHealthAfterDamage(); 25 bool isCombatRelated(); 26 CombatTracker::eLOCATION getLocation(); 27 wstring getAttackerName(); 28 float getFallDistance(); 29};