Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulletFired ¶
type BulletFired struct { TimeFired time.Duration Hit bool HitGroup events.HitGroup WeaponType common.EquipmentType Weapon string DistanceEnemy float64 AttackerVelocity float64 VictimVelocity float64 }
BulletFired data about a bullet fired
type Player ¶
type Player struct { Player *common.Player SteamID uint64 Username string Kills []*Kill BulletsFired []*BulletFired WeaponsStats map[common.EquipmentType]*WeaponStats }
Player struct of a player and its kills, assits, flashes...
type WeaponStats ¶
type WeaponStats struct { FirstBulletAccuracy float64 FirstBulletHS float64 BulletAccuracy float64 HSPercentage float64 NbrBulletFired int NbrBulletHit int NbrBulletHS int NbrFirstBulletFired int NbrFirstBulletHit int NbrFirstBulletHS int CumulativeVelocityAttacker float64 AverageVelocityAttacker float64 }
WeaponStats stats of weapons
Click to show internal directories.
Click to hide internal directories.