DotNet.Equipment.Record.PersonalWeapon - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Equipment / PersonalWeapon

Record: PersonalWeapon

Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/PersonalWeapon.cs:120

One personal weapon sold by Pioneer Supplies.

Constructors

new PersonalWeapon()

new PersonalWeapon(Symbol, Name, UpgradeGroup, EngineeringType, Class, Slot, DamageType, FireMode, RateOfFire, MagazineSize, ReserveAmmo, HeadshotMultiplier, EffectiveRange, ScopeMagnification, ReloadTime, Grades, Projectiles?, BurstRounds?, BurstRateOfFire?)

Parameters

Symbol

string

Frontier's item symbol, such as wpn_s_pistol_kinetic_sauto.

Name

string

The display name, such as Karma P-15.

UpgradeGroup

WeaponUpgradeGroup

The ladder the weapon climbs, which decides its upgrade cost.

EngineeringType

PersonalWeaponEngineeringType

The engineering menu the weapon is offered.

Class

PersonalWeaponClass

What kind of weapon it is.

Slot

PersonalWeaponSlot

Which suit mount it fits.

DamageType

PersonalDamageType

Which damage it deals.

FireMode

PersonalFireMode

How it fires while the trigger is held.

RateOfFire

double

Trigger pulls each second.

MagazineSize

double

Rounds in one magazine.

ReserveAmmo

double

Rounds carried beyond the loaded magazine.

HeadshotMultiplier

double

What a hit to the head multiplies the damage by.

EffectiveRange

double

The range in metres at which the weapon deals full damage.

ScopeMagnification

ScopeMagnification

The sight magnification, stock and modified.

ReloadTime

ReloadTime

The seconds a reload takes, stock and modified.

Grades

IReadOnlyDictionary<int, PersonalWeaponGrade>

The five grade records, keyed by grade.

Projectiles

double? = null

The projectiles one round releases, where a weapon releases more than one. It is absent on a weapon that fires a single projectile.

BurstRounds

double? = null

The rounds one burst fires, on a burst weapon.

BurstRateOfFire

double? = null

The rounds each second within one burst, on a burst weapon.

Properties

BurstRateOfFire

BurstRateOfFire: double?

The rounds each second within one burst, on a burst weapon.

BurstRounds

BurstRounds: double?

The rounds one burst fires, on a burst weapon.

Class

Class: PersonalWeaponClass

What kind of weapon it is.

DamageType

DamageType: PersonalDamageType

Which damage it deals.

EffectiveRange

EffectiveRange: double

The range in metres at which the weapon deals full damage.

EngineeringType

EngineeringType: PersonalWeaponEngineeringType

The engineering menu the weapon is offered.

FireMode

FireMode: PersonalFireMode

How it fires while the trigger is held.

Grades

Grades: IReadOnlyDictionary<int, PersonalWeaponGrade>

The five grade records, keyed by grade.

HeadshotMultiplier

HeadshotMultiplier: double

What a hit to the head multiplies the damage by.

MagazineSize

MagazineSize: double

Rounds in one magazine.

Name

Name: string

The display name, such as Karma P-15.

Projectiles

Projectiles: double?

The projectiles one round releases, where a weapon releases more than one. It is absent on a weapon that fires a single projectile.

RateOfFire

RateOfFire: double

Trigger pulls each second.

ReloadTime

ReloadTime: ReloadTime

The seconds a reload takes, stock and modified.

ReserveAmmo

ReserveAmmo: double

Rounds carried beyond the loaded magazine.

ScopeMagnification

ScopeMagnification: ScopeMagnification

The sight magnification, stock and modified.

Slot

Slot: PersonalWeaponSlot

Which suit mount it fits.

Symbol

Symbol: string

Frontier's item symbol, such as wpn_s_pistol_kinetic_sauto.

UpgradeGroup

UpgradeGroup: WeaponUpgradeGroup

The ladder the weapon climbs, which decides its upgrade cost.

⚠️ **GitHub.com Fallback** ⚠️