naev 0.12.6
PlayerShip_t Struct Reference

Player ship. More...

#include <player.h>

Collaboration diagram for PlayerShip_t:

Data Fields

Pilotp
PilotWeaponSet weapon_sets [PILOT_WEAPON_SETS]
int autoweap
int favourite
int deployed
double time_played
char * acquired
ntime_t acquired_date
double dmg_done_shield
double dmg_done_armour
double dmg_taken_shield
double dmg_taken_armour
unsigned int ships_destroyed [SHIP_CLASS_TOTAL]
unsigned int jumped_times
unsigned int landed_times
unsigned int death_counter

Detailed Description

Player ship.

Definition at line 72 of file player.h.

Field Documentation

◆ acquired

char* PlayerShip_t::acquired

How it got acquired.

Definition at line 84 of file player.h.

◆ acquired_date

ntime_t PlayerShip_t::acquired_date

When the player was created.

Definition at line 85 of file player.h.

◆ autoweap

int PlayerShip_t::autoweap

Automatically update weapon sets.

Definition at line 76 of file player.h.

◆ death_counter

unsigned int PlayerShip_t::death_counter

Times the player got annihilated.

Definition at line 94 of file player.h.

◆ deployed

int PlayerShip_t::deployed

Whether or not the ship is deployed.

Definition at line 80 of file player.h.

◆ dmg_done_armour

double PlayerShip_t::dmg_done_armour

Total damage done to armour.

Definition at line 87 of file player.h.

◆ dmg_done_shield

double PlayerShip_t::dmg_done_shield

Total damage done to shields.

Definition at line 86 of file player.h.

◆ dmg_taken_armour

double PlayerShip_t::dmg_taken_armour

Total damage taken to armour.

Definition at line 89 of file player.h.

◆ dmg_taken_shield

double PlayerShip_t::dmg_taken_shield

Total damage taken to shields.

Definition at line 88 of file player.h.

◆ favourite

int PlayerShip_t::favourite

Whether or not it is favourited.

Definition at line 77 of file player.h.

◆ jumped_times

unsigned int PlayerShip_t::jumped_times

Times the player jumped.

Definition at line 92 of file player.h.

◆ landed_times

unsigned int PlayerShip_t::landed_times

Times the player landed.

Definition at line 93 of file player.h.

◆ p

Pilot* PlayerShip_t::p

Pilot.

Definition at line 73 of file player.h.

◆ ships_destroyed

unsigned int PlayerShip_t::ships_destroyed[SHIP_CLASS_TOTAL]

Total number of ships destroyed.

Definition at line 90 of file player.h.

◆ time_played

double PlayerShip_t::time_played

Total time the player has used ship.

Definition at line 83 of file player.h.

◆ weapon_sets

PilotWeaponSet PlayerShip_t::weapon_sets[PILOT_WEAPON_SETS]

All the weapon sets the pilot has.

Definition at line 75 of file player.h.


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