Interface ShipTargeted

Written when the current player selects a new target.

The amount of data written depends on the extent to which the target ship has been scanned

interface ShipTargeted {
    Bounty?: number;
    Faction?: string;
    HullHealth?: number;
    LegalStatus?: string;
    PilotName?: string;
    PilotName_Localised?: string;
    PilotRank?: string;
    Power?: string;
    ScanStage?: number;
    ShieldHealth?: number;
    Ship?: string;
    Ship_Localised?: string;
    SquadronID?: string;
    Subsystem?: string;
    SubsystemHealth?: number;
    Subsystem_Localised?: string;
    TargetLocked: boolean;
    event: "ShipTargeted";
    timestamp: string;
}

Hierarchy (view full)

Properties

Bounty?: number
Faction?: string
HullHealth?: number
LegalStatus?: string
PilotName?: string
PilotName_Localised?: string
PilotRank?: string
Power?: string

The power a scanned player is aligned to. Only set when player is also aligned to a power.

ScanStage?: number
ShieldHealth?: number
Ship?: string
Ship_Localised?: string
SquadronID?: string
Subsystem?: string
SubsystemHealth?: number
Subsystem_Localised?: string
TargetLocked: boolean

False when losing target.

event: "ShipTargeted"

The type of event.

timestamp: string

The time in GMT, ISO 8601.