naev 0.12.6
PilotOutfitSlot Struct Reference

Stores an outfit the pilot has. More...

#include <pilot.h>

Collaboration diagram for PilotOutfitSlot:

Data Fields

int id
const Outfitoutfit
int flags
ShipOutfitSlotsslot
double heat_T
double heat_C
double heat_area
double heat_start
PilotOutfitState state
double stimer
double timer
double rtimer
double progress
int weapset
unsigned int inrange
union { 
   unsigned int   beamid 
   PilotOutfitAmmo   ammo 
u
int lua_mem
ShipStatListlua_stats

Detailed Description

Stores an outfit the pilot has.

Definition at line 145 of file pilot.h.

Field Documentation

◆ ammo

PilotOutfitAmmo PilotOutfitSlot::ammo

Ammo for launchers.

Definition at line 174 of file pilot.h.

◆ beamid

unsigned int PilotOutfitSlot::beamid

ID of the beam used in this outfit, only used for beams.

Definition at line 172 of file pilot.h.

◆ flags

int PilotOutfitSlot::flags

Slot flags.

Definition at line 150 of file pilot.h.

◆ heat_area

double PilotOutfitSlot::heat_area

Slot area of contact with ship hull. [m^2]

Definition at line 156 of file pilot.h.

◆ heat_C

double PilotOutfitSlot::heat_C

Slot heat capacity. [W/K]

Definition at line 155 of file pilot.h.

◆ heat_start

double PilotOutfitSlot::heat_start

Slot heat at the beginning of a cooldown period.

Definition at line 157 of file pilot.h.

◆ heat_T

double PilotOutfitSlot::heat_T

Slot temperature. [K]

Definition at line 154 of file pilot.h.

◆ id

int PilotOutfitSlot::id

Position in the global slot list.

Definition at line 146 of file pilot.h.

◆ inrange

unsigned int PilotOutfitSlot::inrange

Should the slot be shut down when not inrange? (only used for beams).

Definition at line 167 of file pilot.h.

◆ lua_mem

int PilotOutfitSlot::lua_mem

Lua reference to the memory table of the specific outfit.

Definition at line 179 of file pilot.h.

◆ lua_stats

ShipStatList* PilotOutfitSlot::lua_stats

Intrinsic ship stats for the outfit calculated on the fly. Used only by Lua outfits.

Definition at line 180 of file pilot.h.

◆ outfit

const Outfit* PilotOutfitSlot::outfit

Associated outfit.

Definition at line 149 of file pilot.h.

◆ progress

double PilotOutfitSlot::progress

Used to store state progress and used by Lua outfits.

Definition at line 165 of file pilot.h.

◆ rtimer

double PilotOutfitSlot::rtimer

Used to store when a reload can happen.

Definition at line 163 of file pilot.h.

◆ sslot

ShipOutfitSlot* PilotOutfitSlot::sslot

Ship outfit slot.

Definition at line 151 of file pilot.h.

◆ state

PilotOutfitState PilotOutfitSlot::state

State of the outfit.

Definition at line 160 of file pilot.h.

◆ stimer

double PilotOutfitSlot::stimer

State timer, tracking current state.

Definition at line 161 of file pilot.h.

◆ timer

double PilotOutfitSlot::timer

Used to store when it was last used.

Definition at line 162 of file pilot.h.

◆ weapset

int PilotOutfitSlot::weapset

First weapon set that uses the outfit (-1 is none).

Definition at line 166 of file pilot.h.


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