![]() |
libspades
Ace of Spades library
|
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. | |
| 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.