naev 0.12.5
PilotWeaponSet Struct Reference

A weapon set represents a set of weapons that have an action. More...

#include <pilot.h>

Collaboration diagram for PilotWeaponSet:

Data Fields

WeaponSetType type
int active
PilotWeaponSetOutfitslots
int inrange
int manual
int volley
double range_min
double range
double speed

Detailed Description

A weapon set represents a set of weapons that have an action.

By default a weapon set indicates what weapons are enabled at a given time. However they can also be used to launch weapons.

Definition at line 207 of file pilot.h.

Field Documentation

◆ active

int PilotWeaponSet::active

Whether or not it's currently firing.

Definition at line 209 of file pilot.h.

◆ inrange

int PilotWeaponSet::inrange

Whether or not to fire only if the target is inrange.

Definition at line 212 of file pilot.h.

◆ manual

int PilotWeaponSet::manual

Whether or not is manually aiming.

Definition at line 213 of file pilot.h.

◆ range

double PilotWeaponSet::range

Average range of the weapon set.

Definition at line 216 of file pilot.h.

◆ range_min

double PilotWeaponSet::range_min

Minimum range fo the weapon set.

Definition at line 215 of file pilot.h.

◆ slots

PilotWeaponSetOutfit* PilotWeaponSet::slots

Slots involved with the weapon set.

Definition at line 210 of file pilot.h.

◆ speed

double PilotWeaponSet::speed

Average speed of the weapon set.

Definition at line 217 of file pilot.h.

◆ type

WeaponSetType PilotWeaponSet::type

Type of the weaponset.

Definition at line 208 of file pilot.h.

◆ volley

int PilotWeaponSet::volley

Whether or not the weapon set is firing in volleys.

Definition at line 214 of file pilot.h.


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