mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
huge commit for advanced stats feature.
broke data out into its own library. may be breaking changes with existing plugins
This commit is contained in:
27
Plugins/Stats/Client/Game/HitInfo.cs
Normal file
27
Plugins/Stats/Client/Game/HitInfo.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using Data.Models;
|
||||
using Stats.Client.Game;
|
||||
|
||||
namespace IW4MAdmin.Plugins.Stats.Client.Game
|
||||
{
|
||||
public enum HitType
|
||||
{
|
||||
Unknown,
|
||||
Kill,
|
||||
Damage,
|
||||
WasKilled,
|
||||
WasDamaged,
|
||||
Suicide
|
||||
}
|
||||
|
||||
public class HitInfo
|
||||
{
|
||||
public Reference.Game Game { get; set; }
|
||||
public int EntityId { get; set; }
|
||||
public bool IsVictim { get; set; }
|
||||
public HitType HitType { get; set; }
|
||||
public int Damage { get; set; }
|
||||
public string Location { get; set; }
|
||||
public string MeansOfDeath { get; set; }
|
||||
public WeaponInfo Weapon { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user