libspades
Ace of Spades library
Grenade Struct Reference

Data Fields

Vector3Float position
 
Vector3Float velocity
 
uint64_t detonateTime
 The time at which the grenade should detonate.
 
uint8_t player
 The player who threw the grenade.
 
uint8_t team
 Used to prevent screwing people over with team-changing, really.
 

Field Documentation

◆ player

uint8_t Grenade::player

The player who threw the grenade.

Used to determine who killed who, and to ensure the player doesn't switch out teams and make the kill appear as a team-kill. At least for the server portion, anyway.


The documentation for this struct was generated from the following file: