dogma

package
v0.2.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package dogma evaluates EVE ship fits through a pool of native Rust workers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charge

type Charge struct {
	TypeID int64 `json:"type_id"`
}

type Drone

type Drone struct {
	TypeID int64  `json:"type_id"`
	State  string `json:"state"`
}

type Fit

type Fit struct {
	ShipTypeID int64    `json:"ship_type_id"`
	Modules    []Module `json:"modules"`
	Drones     []Drone  `json:"drones"`
}

type Module

type Module struct {
	TypeID int64   `json:"type_id"`
	Slot   Slot    `json:"slot"`
	State  string  `json:"state"`
	Charge *Charge `json:"charge,omitempty"`
}

type Slot

type Slot struct {
	Type  string `json:"type"`
	Index int    `json:"index"`
}

type Stats

type Stats struct {
	AlignTime              *float64 `json:"align_time"`
	MaxVelocity            *float64 `json:"max_velocity"`
	SignatureRadius        *float64 `json:"signature_radius"`
	Mass                   *float64 `json:"mass"`
	EHP                    *float64 `json:"ehp"`
	ShieldEHP              *float64 `json:"shield_ehp"`
	ArmorEHP               *float64 `json:"armor_ehp"`
	HullEHP                *float64 `json:"hull_ehp"`
	CapCapacity            *float64 `json:"cap_capacity"`
	CapDepletesIn          *float64 `json:"cap_depletes_in"`
	CapPeakDelta           *float64 `json:"cap_peak_delta"`
	DPSWithReload          *float64 `json:"dps_with_reload"`
	DPSWithoutReload       *float64 `json:"dps_without_reload"`
	Alpha                  *float64 `json:"alpha"`
	MaxTargetRange         *float64 `json:"max_target_range"`
	ScanResolution         *float64 `json:"scan_resolution"`
	MaxLockedTargets       *float64 `json:"max_locked_targets"`
	PGOutput               *float64 `json:"pg_output"`
	CPUOutput              *float64 `json:"cpu_output"`
	Calibration            *float64 `json:"calibration"`
	ShieldBoost            *float64 `json:"shield_boost"`
	ShieldEffectiveBoost   *float64 `json:"shield_effective_boost"`
	ArmorRepair            *float64 `json:"armor_repair"`
	ArmorEffectiveRepair   *float64 `json:"armor_effective_repair"`
	HullRepair             *float64 `json:"hull_repair"`
	HullEffectiveRepair    *float64 `json:"hull_effective_repair"`
	PassiveShield          *float64 `json:"passive_shield"`
	PassiveShieldEffective *float64 `json:"passive_shield_effective"`
	RemoteShield           *float64 `json:"remote_shield"`
	RemoteArmor            *float64 `json:"remote_armor"`
	RemoteHull             *float64 `json:"remote_hull"`
	RemoteCap              *float64 `json:"remote_cap"`
	Neut                   *float64 `json:"neut"`
	Nos                    *float64 `json:"nos"`
	ShieldHP               *float64 `json:"shield_hp"`
	ArmorHP                *float64 `json:"armor_hp"`
	HullHP                 *float64 `json:"hull_hp"`
	ShieldEMResist         *float64 `json:"shield_em_resist"`
	ShieldThermalResist    *float64 `json:"shield_thermal_resist"`
	ShieldKineticResist    *float64 `json:"shield_kinetic_resist"`
	ShieldExplosiveResist  *float64 `json:"shield_explosive_resist"`
	ArmorEMResist          *float64 `json:"armor_em_resist"`
	ArmorThermalResist     *float64 `json:"armor_thermal_resist"`
	ArmorKineticResist     *float64 `json:"armor_kinetic_resist"`
	ArmorExplosiveResist   *float64 `json:"armor_explosive_resist"`
	HullEMResist           *float64 `json:"hull_em_resist"`
	HullThermalResist      *float64 `json:"hull_thermal_resist"`
	HullKineticResist      *float64 `json:"hull_kinetic_resist"`
	HullExplosiveResist    *float64 `json:"hull_explosive_resist"`
}

func Evaluate

func Evaluate(ctx context.Context, fit Fit, skills *map[string]int64) (stats Stats, resultErr error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL