journal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproachBody added in v0.1.3

type ApproachBody struct {
	Body          string
	BodyID        float64
	StarSystem    string
	SystemAddress float64
	Event
}

type ApproachSettlement added in v0.1.3

type ApproachSettlement struct {
	Latitude  float64
	Longitude float64
	MarketID  float64
	Name      string
	Event
}

type AsteroidCracked added in v0.1.3

type AsteroidCracked struct {
	Body string
	Event
}

type BackPack added in v0.1.3

type BackPack struct {
	Event
}

type Backpack added in v0.1.3

type Backpack struct {
	Components  []interface{}
	Consumables []interface{}
	Data        []interface{}
	Items       []interface{}
	Event
}

type BackpackChange added in v0.1.3

type BackpackChange struct {
	Removed []struct {
		LocalizedValue
		OwnerID float64
		Type    string
	}
	Event
}

type BookTaxi added in v0.1.3

type BookTaxi struct {
	Cost                float64
	DestinationLocation string
	DestinationSystem   string
	Event
}

type Bounty added in v0.1.3

type Bounty struct {
	Rewards []struct {
		Faction string
		Reward  float64
	}
	Target        string
	TotalReward   float64
	VictimFaction string
	Event
}

type BuyAmmo added in v0.1.3

type BuyAmmo struct {
	Cost float64
	Event
}

type BuyDrones added in v0.1.3

type BuyDrones struct {
	BuyPrice  float64
	Count     float64
	TotalCost float64
	Type      string
	Event
}

type BuyMicroResources added in v0.1.3

type BuyMicroResources struct {
	Category string

	MarketID float64
	LocalizedValue
	Price float64
	Event
}

type BuySuit added in v0.1.3

type BuySuit struct {
	LocalizedValue
	Price  float64
	SuitID float64
	Event
}

type BuyWeapon added in v0.1.3

type BuyWeapon struct {
	LocalizedValue
	Price        float64
	SuitModuleID float64
	Event
}

type Cargo

type Cargo struct {
	Event
	Vessel    string      `json:"Vessel"`
	Count     int         `json:"Count"`
	Inventory []CargoItem `json:"Inventory"`
}

Cargo Cargo

type CargoDepot added in v0.1.3

type CargoDepot struct {
	CargoType           string
	CargoTypeLocalised  string `json:"CargoType_Localised,omitempty"`
	Count               float64
	EndMarketID         float64
	ItemsCollected      float64
	ItemsDelivered      float64
	MissionID           float64
	Progress            float64
	StartMarketID       float64
	TotalItemsToDeliver float64
	UpdateType          string
	Event
}

type CargoItem

type CargoItem struct {
	MissionID int `json:"MissionID,omitempty"`
	LocalizedValue
	Stolen int `json:"Stolen"`
}

CargoItem represents a type of Commodity in Cargo

type CarrierDepositFuel added in v0.1.3

type CarrierDepositFuel struct {
	Amount    float64
	CarrierID float64
	Total     float64
	Event
}

type CarrierJump added in v0.1.3

type CarrierJump struct {
	Body     string
	BodyID   float64
	BodyType string
	Docked   bool
	Factions []struct {
		Allegiance         string
		FactionState       string
		Government         string
		Happiness          string
		HappinessLocalised string `json:"Happiness_Localised,omitempty"`
		Influence          float64
		MyReputation       float64
		Name               string
	}
	MarketID         float64
	Multicrew        bool
	Population       float64
	PowerplayState   string
	Powers           []string
	StarPos          []float64
	StarSystem       string
	StationEconomies []struct {
		LocalizedValue
		Proportion float64
	}
	StationEconomy          string
	StationEconomyLocalised string `json:"StationEconomy_Localised,omitempty"`
	StationFaction          struct {
		Name string
	}
	StationGovernment          string
	StationGovernmentLocalised string `json:"StationGovernment_Localised,omitempty"`
	StationName                string
	StationServices            []string
	StationType                string
	SystemAddress              float64
	SystemAllegiance           string
	SystemEconomy              string
	SystemEconomyLocalised     string `json:"SystemEconomy_Localised,omitempty"`
	SystemFaction              struct {
		Name string
	}
	SystemGovernment             string
	SystemGovernmentLocalised    string `json:"SystemGovernment_Localised,omitempty"`
	SystemSecondEconomy          string
	SystemSecondEconomyLocalised string `json:"SystemSecondEconomy_Localised,omitempty"`
	SystemSecurity               string
	SystemSecurityLocalised      string `json:"SystemSecurity_Localised,omitempty"`
	Taxi                         bool
	Event
}

type ChangeCrewRole added in v0.1.3

type ChangeCrewRole struct {
	Role string
	Event
}

type ClearSavedGame

type ClearSavedGame struct {
	Event
	Name string `json:"Name"`
	FID  string `json:"FID"`
}

ClearSavedGame ClearSavedGame

type CodexEntry added in v0.1.3

type CodexEntry struct {
	Category          string
	CategoryLocalised string `json:"Category_Localised,omitempty"`
	EntryID           float64
	IsNewEntry        bool
	LocalizedValue
	Region               string
	RegionLocalised      string `json:"Region_Localised,omitempty"`
	SubCategory          string
	SubCategoryLocalised string `json:"SubCategory_Localised,omitempty"`
	System               string
	SystemAddress        float64
	Event
}

type CollectCargo added in v0.1.3

type CollectCargo struct {
	Stolen        bool
	Type          string
	TypeLocalised string `json:"Type_Localised,omitempty"`
	Event
}

type CollectItems added in v0.1.3

type CollectItems struct {
	LocalizedValue
	OwnerID float64
	Stolen  bool
	Type    string
	Event
}

type Commander

type Commander struct {
	Event
	FID  string `json:"FID"`
	Name string `json:"Name"`
}

Commander Commander

type CommitCrime added in v0.1.3

type CommitCrime struct {
	CrimeType string
	Faction   string
	Fine      float64
	Event
}

type Cost

type Cost float64

Cost represents a Price in credits

type CreateSuitLoadout added in v0.1.3

type CreateSuitLoadout struct {
	LoadoutID   float64
	LoadoutName string
	Modules     []struct {
		ModuleName          string
		ModuleNameLocalised string `json:"ModuleName_Localised,omitempty"`
		SlotName            string
		SuitModuleID        float64
	}
	SuitID            float64
	SuitName          string
	SuitNameLocalised string `json:"SuitName_Localised,omitempty"`
	Event
}

type CrewAssign added in v0.1.3

type CrewAssign struct {
	CrewID float64
	Name   string
	Role   string
	Event
}

type CrewFire added in v0.1.3

type CrewFire struct {
	CrewID float64
	Name   string
	Event
}

type CrewHire added in v0.1.3

type CrewHire struct {
	CombatRank float64
	Cost       float64
	CrewID     float64
	Faction    string
	Name       string
	Event
}

type CrewMemberJoins added in v0.1.3

type CrewMemberJoins struct {
	Crew string
	Event
}

type CrewMemberQuits added in v0.1.3

type CrewMemberQuits struct {
	Crew string
	Event
}

type CrewMemberRoleChange added in v0.1.3

type CrewMemberRoleChange struct {
	Crew string
	Role string
	Event
}

type CrimeVictim added in v0.1.3

type CrimeVictim struct {
	CrimeType string
	Fine      float64
	Offender  string
	Event
}

type DataScanned added in v0.1.3

type DataScanned struct {
	Type          string
	TypeLocalised string `json:"Type_Localised,omitempty"`
	Event
}

type DeleteSuitLoadout added in v0.1.3

type DeleteSuitLoadout struct {
	LoadoutID         float64
	LoadoutName       string
	SuitID            float64
	SuitName          string
	SuitNameLocalised string `json:"SuitName_Localised,omitempty"`
	Event
}

type Died added in v0.1.3

type Died struct {
	Event
}

type Disembark added in v0.1.3

type Disembark struct {
	Body          string
	BodyID        float64
	ID            float64
	Multicrew     bool
	OnPlanet      bool
	OnStation     bool
	SRV           bool
	StarSystem    string
	SystemAddress float64
	Taxi          bool
	Event
}

type DockFighter added in v0.1.3

type DockFighter struct {
	ID float64
	Event
}

type DockSRV added in v0.1.3

type DockSRV struct {
	ID float64
	Event
}

type Docked added in v0.1.3

type Docked struct {
	DistFromStarLS    float64
	MarketID          float64
	StarSystem        string
	StationAllegiance string
	StationEconomies  []struct {
		LocalizedValue
		Proportion float64
	}
	StationEconomy             string
	StationEconomyLocalised    string `json:"StationEconomy_Localised,omitempty"`
	StationFaction             string
	StationGovernment          string
	StationGovernmentLocalised string `json:"StationGovernment_Localised,omitempty"`
	StationName                string
	StationServices            []string
	StationType                string
	SystemAddress              float64
	Event
}

type DockingCancelled added in v0.1.3

type DockingCancelled struct {
	MarketID    float64
	StationName string
	StationType string
	Event
}

type DockingDenied added in v0.1.3

type DockingDenied struct {
	MarketID    float64
	Reason      string
	StationName string
	StationType string
	Event
}

type DockingGranted added in v0.1.3

type DockingGranted struct {
	LandingPad  float64
	MarketID    float64
	StationName string
	StationType string
	Event
}

type DockingRequested added in v0.1.3

type DockingRequested struct {
	MarketID    float64
	StationName string
	StationType string
	Event
}

type EjectCargo added in v0.1.3

type EjectCargo struct {
	Abandoned     bool
	Count         float64
	Type          string
	TypeLocalised string `json:"Type_Localised,omitempty"`
	Event
}

type Embark added in v0.1.3

type Embark struct {
	Body          string
	BodyID        float64
	ID            float64
	Multicrew     bool
	OnPlanet      bool
	OnStation     bool
	SRV           bool
	StarSystem    string
	SystemAddress float64
	Taxi          bool
	Event
}

type EndCrewSession added in v0.1.3

type EndCrewSession struct {
	OnCrime bool
	Event
}

type EngineerContribution added in v0.1.3

type EngineerContribution struct {
	Engineer      string
	EngineerID    float64
	Quantity      float64
	TotalQuantity float64
	Type          string
	Event
}

type EngineerCraft added in v0.1.3

type EngineerCraft struct {
	BlueprintID   float64
	BlueprintName string
	Engineer      string
	EngineerID    float64
	Ingredients   []LocalizedValue
	Level         float64
	Modifiers     []struct {
		Label         string
		LessIsGood    float64
		OriginalValue float64
		Value         float64
	}
	Module  string
	Quality float64
	Slot    string
	Event
}

type EngineerProgress added in v0.1.3

type EngineerProgress struct {
	Engineers []interface{}
	Event
}

type EscapeInterdiction added in v0.1.3

type EscapeInterdiction struct {
	Interdictor string
	IsPlayer    bool
	Event
}

type Event

type Event struct {
	Timestamp time.Time `json:"timestamp"`
	Event     string    `json:"event"`
}

Event contains the common fields present in all journal events

type FSDJump added in v0.1.3

type FSDJump struct {
	FactionState string
	Factions     []struct {
		ActiveStates []struct {
			State string
		}
		Allegiance         string
		FactionState       string
		Government         string
		Happiness          string
		HappinessLocalised string `json:"Happiness_Localised,omitempty"`
		Influence          float64
		MyReputation       float64
		Name               string
	}
	FuelLevel                    float64
	FuelUsed                     float64
	JumpDist                     float64
	Population                   float64
	StarPos                      []float64
	StarSystem                   string
	SystemAddress                float64
	SystemAllegiance             string
	SystemEconomy                string
	SystemEconomyLocalised       string `json:"SystemEconomy_Localised,omitempty"`
	SystemFaction                string
	SystemGovernment             string
	SystemGovernmentLocalised    string `json:"SystemGovernment_Localised,omitempty"`
	SystemSecondEconomy          string
	SystemSecondEconomyLocalised string `json:"SystemSecondEconomy_Localised,omitempty"`
	SystemSecurity               string
	SystemSecurityLocalised      string `json:"SystemSecurity_Localised,omitempty"`
	Event
}

type FSDTarget added in v0.1.3

type FSDTarget struct {
	Name          string
	SystemAddress float64
	Event
}

type FSSAllBodiesFound added in v0.1.3

type FSSAllBodiesFound struct {
	Count         float64
	SystemAddress float64
	SystemName    string
	Event
}

type FSSDiscoveryScan added in v0.1.3

type FSSDiscoveryScan struct {
	BodyCount    float64
	NonBodyCount float64
	Progress     float64
	Event
}

type FSSSignalDiscovered added in v0.1.3

type FSSSignalDiscovered struct {
	SignalName    string
	SystemAddress float64
	Event
}

type FetchRemoteModule added in v0.1.3

type FetchRemoteModule struct {
	ServerId            float64
	Ship                string
	ShipID              float64
	StorageSlot         float64
	StoredItem          string
	StoredItemLocalised string `json:"StoredItem_Localised,omitempty"`
	TransferCost        float64
	TransferTime        float64
	Event
}

type FighterDestroyed added in v0.1.3

type FighterDestroyed struct {
	ID float64
	Event
}

type FighterRebuilt added in v0.1.3

type FighterRebuilt struct {
	ID      float64
	Loadout string
	Event
}

type FileHeader

type FileHeader struct {
	Event
	Part        int    `json:"part"`
	Language    string `json:"language"`
	GameVersion string `json:"gameversion"`
	Build       string `json:"build"`
	Odyssey     bool   `json:"Odyssey,omitempty"`
}

FileHeader fileheader

type Fileheader added in v0.1.3

type Fileheader struct {
	Build       string  `json:"build,omitempty"`
	Event       string  `json:"event,omitempty"`
	GameVersion string  `json:"gameversion,omitempty"`
	Language    string  `json:"language,omitempty"`
	Part        float64 `json:"part,omitempty"`
	Timestamp   string  `json:"timestamp,omitempty"`
}

type Friends added in v0.1.3

type Friends struct {
	Name   string
	Status string
	Event
}

type FuelScoop added in v0.1.3

type FuelScoop struct {
	Scooped float64
	Total   float64
	Event
}

type GenericEvent

type GenericEvent struct {
	Event
	KeyValue map[string]interface{}
}

GenericEvent is a generic event for all unimplemented Events

func (*GenericEvent) UnmarshalJSON

func (e *GenericEvent) UnmarshalJSON(bs []byte) (err error)

UnmarshalJSON unmarshalls a journal event into a GenericEvent, putting Event-specific fields into KeyValue

type HeatDamage added in v0.1.3

type HeatDamage struct {
	Event
}

type HeatWarning added in v0.1.3

type HeatWarning struct {
	Event
}

type HullDamage added in v0.1.3

type HullDamage struct {
	Fighter     bool
	Health      float64
	PlayerPilot bool
	Event
}

type Interdicted added in v0.1.3

type Interdicted struct {
	Faction     string
	Interdictor string
	IsPlayer    bool
	Submitted   bool
	Event
}

type Interdiction added in v0.1.3

type Interdiction struct {
	Faction  string
	IsPlayer bool
	Success  bool
	Event
}

type JoinACrew added in v0.1.3

type JoinACrew struct {
	Captain string
	Event
}

type JoinedSquadron added in v0.1.3

type JoinedSquadron struct {
	SquadronName string
	Event
}

type KickCrewMember added in v0.1.3

type KickCrewMember struct {
	Crew    string
	OnCrime bool
	Event
}

type LaunchDrone added in v0.1.3

type LaunchDrone struct {
	Type string
	Event
}

type LaunchFighter added in v0.1.3

type LaunchFighter struct {
	ID               float64
	Loadout          string
	PlayerControlled bool
	Event
}

type LaunchSRV added in v0.1.3

type LaunchSRV struct {
	ID               float64
	Loadout          string
	PlayerControlled bool
	Event
}

type LeaveBody added in v0.1.3

type LeaveBody struct {
	Body          string
	BodyID        float64
	StarSystem    string
	SystemAddress float64
	Event
}

type Liftoff added in v0.1.3

type Liftoff struct {
	Latitude         float64
	Longitude        float64
	PlayerControlled bool
	Event
}

type LoadGame

type LoadGame struct {
	Event
	FID           string  `json:"FID"`
	Commander     string  `json:"Commander"`
	Horizons      bool    `json:"Horizons"`
	Ship          string  `json:"Ship,omitempty"`
	ShipLocalised string  `json:"Ship_Localised,omitempty"`
	ShipID        int     `json:"ShipID,omitempty"`
	ShipName      string  `json:"ShipName,omitempty"`
	ShipIdent     string  `json:"ShipIdent,omitempty"`
	FuelLevel     float64 `json:"FuelLevel,omitempty"`
	FuelCapacity  float64 `json:"FuelCapacity,omitempty"`
	GameMode      string  `json:"GameMode"`
	Group         string  `json:"Group"`
	Credits       Cost    `json:"Credits"`
	Loan          Cost    `json:"Loan"`
}

LoadGame LoadGame

type Loadout

type Loadout struct {
	Event
	Ship          string  `json:"Ship"`
	ShipID        int     `json:"ShipID"`
	ShipName      string  `json:"ShipName"`
	ShipIdent     string  `json:"ShipIdent"`
	HullValue     Cost    `json:"HullValue"`
	ModulesValue  Cost    `json:"ModulesValue"`
	HullHealth    float64 `json:"HullHealth"`
	UnladenMass   float64 `json:"UnladenMass"`
	CargoCapacity int     `json:"CargoCapacity"`
	MaxJumpRange  float64 `json:"MaxJumpRange"`
	FuelCapacity  struct {
		Main    float64 `json:"Main"`
		Reserve float64 `json:"Reserve"`
	} `json:"FuelCapacity"`
	Rebuy   Cost `json:"Rebuy"`
	Modules []struct {
		Slot         string  `json:"Slot"`
		Item         string  `json:"Item"`
		On           bool    `json:"On"`
		Priority     int     `json:"Priority"`
		Health       float64 `json:"Health"`
		Value        Cost    `json:"Value,omitempty"`
		AmmoInClip   int     `json:"AmmoInClip,omitempty"`
		AmmoInHopper int     `json:"AmmoInHopper,omitempty"`
		Engineering  struct {
			BlueprintName      string  `json:"BlueprintName"`
			Level              int     `json:"Level"`
			Quality            float64 `json:"Quality"`
			EngineerID         int     `json:"EngineerID"`
			BlueprintID        int     `json:"blueprintID"`
			Engineer           string  `json:"Engineer"`
			ExperimentalEffect string  `json:"ExperimentalEffect,omitempty"`
			Modifiers          []struct {
				Label         string  `json:"Label"`
				Value         float64 `json:"Value,omitempty"`
				OriginalValue float64 `json:"OriginalValue"`
				LessIsGood    int     `json:"LessIsGood,omitempty"`
			} `json:"Modifiers"`
		} `json:"Engineering,omitempty"`
	} `json:"Modules"`
}

Loadout Loadout

type LoadoutEquipModule added in v0.1.3

type LoadoutEquipModule struct {
	LoadoutID           float64
	LoadoutName         string
	ModuleName          string
	ModuleNameLocalised string `json:"ModuleName_Localised,omitempty"`
	SlotName            string
	SuitID              float64
	SuitModuleID        float64
	SuitName            string
	SuitNameLocalised   string `json:"SuitName_Localised,omitempty"`
	Event
}

type LocalizedValue

type LocalizedValue struct {
	Name          string `json:"Name"`
	NameLocalised string `json:"Name_Localised,omitempty"`
	Count         int    `json:"Count"`
}

LocalizedValue represents a Value with Localization in a Journal Event

type Location added in v0.1.3

type Location struct {
	Body     string
	BodyID   float64
	BodyType string
	Docked   bool
	Factions []struct {
		Allegiance         string
		FactionState       string
		Government         string
		Happiness          string
		HappinessLocalised string `json:"Happiness_Localised,omitempty"`
		Influence          float64
		MyReputation       float64
		Name               string
	}
	MarketID                     float64
	Population                   float64
	StarPos                      []float64
	StarSystem                   string
	StationName                  string
	StationType                  string
	SystemAddress                float64
	SystemAllegiance             string
	SystemEconomy                string
	SystemEconomyLocalised       string `json:"SystemEconomy_Localised,omitempty"`
	SystemFaction                string
	SystemGovernment             string
	SystemGovernmentLocalised    string `json:"SystemGovernment_Localised,omitempty"`
	SystemSecondEconomy          string
	SystemSecondEconomyLocalised string `json:"SystemSecondEconomy_Localised,omitempty"`
	SystemSecurity               string
	SystemSecurityLocalised      string `json:"SystemSecurity_Localised,omitempty"`
	Event
}

type Market added in v0.1.3

type Market struct {
	MarketID    float64
	StarSystem  string
	StationName string
	Event
}

type MarketBuy added in v0.1.3

type MarketBuy struct {
	BuyPrice      float64
	Count         float64
	MarketID      float64
	TotalCost     float64
	Type          string
	TypeLocalised string `json:"Type_Localised,omitempty"`
	Event
}

type MarketSell added in v0.1.3

type MarketSell struct {
	AvgPricePaid float64
	Count        float64
	MarketID     float64
	SellPrice    float64
	TotalSale    float64
	Type         string
	Event
}

type MassModuleStore added in v0.1.3

type MassModuleStore struct {
	Items []struct {
		Hot bool
		LocalizedValue
		Slot string
	}
	MarketID float64
	Ship     string
	ShipID   float64
	Event
}

type MaterialCollected added in v0.1.3

type MaterialCollected struct {
	Category string
	LocalizedValue
	Event
}

type MaterialDiscovered added in v0.1.3

type MaterialDiscovered struct {
	Category        string
	DiscoveryNumber float64
	LocalizedValue
	Event
}

type Materials

type Materials struct {
	Event
	Raw          []LocalizedValue `json:"Raw"`
	Manufactured []LocalizedValue `json:"Manufactured"`
	Encoded      []LocalizedValue `json:"Encoded"`
}

Materials Materials

type MiningRefined added in v0.1.3

type MiningRefined struct {
	Type          string
	TypeLocalised string `json:"Type_Localised,omitempty"`
	Event
}

type MissionAbandoned added in v0.1.3

type MissionAbandoned struct {
	MissionID float64
	Name      string
	Event
}

type MissionAccepted added in v0.1.3

type MissionAccepted struct {
	DestinationStation  string
	DestinationSystem   string
	Expiry              string
	Faction             string
	Influence           string
	LocalisedName       string
	MissionID           float64
	Name                string
	Reputation          string
	Reward              float64
	Target              string
	TargetFaction       string
	TargetType          string
	TargetTypeLocalised string `json:"TargetType_Localised,omitempty"`
	Wing                bool
	Event
}

type MissionCompleted added in v0.1.3

type MissionCompleted struct {
	DestinationStation string
	DestinationSystem  string
	Faction            string
	FactionEffects     []struct {
		Effects []struct {
			Effect          string
			EffectLocalised string `json:"Effect_Localised,omitempty"`
			Trend           string
		}
		Faction   string
		Influence []struct {
			Influence     string
			SystemAddress float64
			Trend         string
		}
		Reputation      string
		ReputationTrend string
	}
	MissionID             float64
	Name                  string
	NewDestinationStation string
	NewDestinationSystem  string
	Reward                float64
	Target                string
	TargetFaction         string
	TargetType            string
	TargetTypeLocalised   string `json:"TargetType_Localised,omitempty"`
	Event
}

type MissionData

type MissionData struct {
	MissionID        int    `json:"MissionID"`
	Name             string `json:"Name"`
	PassengerMission bool   `json:"PassengerMission"`
	Expires          int    `json:"Expires"`
}

MissionData is the Data of a Mission in a Journal Event

type MissionFailed added in v0.1.3

type MissionFailed struct {
	MissionID float64
	Name      string
	Event
}

type MissionRedirected added in v0.1.3

type MissionRedirected struct {
	MissionID             float64
	Name                  string
	NewDestinationStation string
	NewDestinationSystem  string
	OldDestinationStation string
	OldDestinationSystem  string
	Event
}

type Missions

type Missions struct {
	Event
	Active   []MissionData `json:"Active"`
	Failed   []MissionData `json:"Failed"`
	Complete []MissionData `json:"Complete"`
}

Missions Missions

type ModuleBuy added in v0.1.3

type ModuleBuy struct {
	BuyItem          string
	BuyItemLocalised string `json:"BuyItem_Localised,omitempty"`
	BuyPrice         float64
	MarketID         float64
	Ship             string
	ShipID           float64
	Slot             string
	Event
}

type ModuleInfo added in v0.1.3

type ModuleInfo struct {
	Event
}

type ModuleRetrieve added in v0.1.3

type ModuleRetrieve struct {
	Hot                    bool
	MarketID               float64
	RetrievedItem          string
	RetrievedItemLocalised string `json:"RetrievedItem_Localised,omitempty"`
	Ship                   string
	ShipID                 float64
	Slot                   string
	Event
}

type ModuleSell added in v0.1.3

type ModuleSell struct {
	MarketID          float64
	SellItem          string
	SellItemLocalised string `json:"SellItem_Localised,omitempty"`
	SellPrice         float64
	Ship              string
	ShipID            float64
	Slot              string
	Event
}

type ModuleSellRemote added in v0.1.3

type ModuleSellRemote struct {
	SellItem          string
	SellItemLocalised string `json:"SellItem_Localised,omitempty"`
	SellPrice         float64
	ServerId          float64
	Ship              string
	ShipID            float64
	StorageSlot       float64
	Event
}

type ModuleStore added in v0.1.3

type ModuleStore struct {
	Hot                 bool
	MarketID            float64
	Ship                string
	ShipID              float64
	Slot                string
	StoredItem          string
	StoredItemLocalised string `json:"StoredItem_Localised,omitempty"`
	Event
}

type ModuleSwap added in v0.1.3

type ModuleSwap struct {
	FromItem          string
	FromItemLocalised string `json:"FromItem_Localised,omitempty"`
	FromSlot          string
	MarketID          float64
	Ship              string
	ShipID            float64
	ToItem            string
	ToSlot            string
	Event
}

type MultiSellExplorationData added in v0.1.3

type MultiSellExplorationData struct {
	BaseValue  float64
	Bonus      float64
	Discovered []struct {
		NumBodies  float64
		SystemName string
	}
	TotalEarnings float64
	Event
}

type Music added in v0.1.3

type Music struct {
	MusicTrack string
	Event
}
type NavBeaconScan struct {
	NumBodies     float64
	SystemAddress float64
	Event
}
type NavRoute struct {
	Event
}

type NewCommander

type NewCommander struct {
	Event
	Name    string `json:"Name"`
	FID     string `json:"FID"`
	Package string `json:"Package"`
}

NewCommander NewCommander

type NpcCrewPaidWage added in v0.1.3

type NpcCrewPaidWage struct {
	Amount      float64
	NpcCrewId   float64
	NpcCrewName string
	Event
}

type NpcCrewRank added in v0.1.3

type NpcCrewRank struct {
	NpcCrewId   float64
	NpcCrewName string
	RankCombat  float64
	Event
}

type Outfitting added in v0.1.3

type Outfitting struct {
	MarketID    float64
	StarSystem  string
	StationName string
	Event
}

type OwnedItem added in v0.1.3

type OwnedItem struct {
	LocalizedValue
	OwnerID int
}

type Passengers added in v0.1.3

type Passengers struct {
	Manifest []struct {
		Count     float64
		MissionID float64
		Type      string
		VIP       bool
		Wanted    bool
	}
	Event
}

type PayBounties added in v0.1.3

type PayBounties struct {
	Amount           float64
	BrokerPercentage float64
	Faction          string
	FactionLocalised string `json:"Faction_Localised,omitempty"`
	ShipID           float64
	Event
}

type PayFines added in v0.1.3

type PayFines struct {
	AllFines bool
	Amount   float64
	ShipID   float64
	Event
}

type Powerplay added in v0.1.3

type Powerplay struct {
	Merits      float64
	Power       string
	Rank        float64
	TimePledged float64
	Votes       float64
	Event
}

type PowerplayCollect added in v0.1.3

type PowerplayCollect struct {
	Count         float64
	Power         string
	Type          string
	TypeLocalised string `json:"Type_Localised,omitempty"`
	Event
}

type PowerplayDeliver added in v0.1.3

type PowerplayDeliver struct {
	Count         float64
	Power         string
	Type          string
	TypeLocalised string `json:"Type_Localised,omitempty"`
	Event
}

type PowerplayJoin added in v0.1.3

type PowerplayJoin struct {
	Power string
	Event
}

type PowerplaySalary added in v0.1.3

type PowerplaySalary struct {
	Amount float64
	Power  string
	Event
}

type Progress added in v0.1.3

type Progress struct {
	CQC        float64
	Combat     float64
	Empire     float64
	Explore    float64
	Federation float64
	Trade      float64
	Event
}

type Promotion added in v0.1.3

type Promotion struct {
	Trade float64
	Event
}

type ProspectedAsteroid added in v0.1.3

type ProspectedAsteroid struct {
	Content          string
	ContentLocalised string `json:"Content_Localised,omitempty"`
	Materials        []struct {
		LocalizedValue
		Proportion float64
	}
	Remaining float64
	Event
}

type QuitACrew added in v0.1.3

type QuitACrew struct {
	Captain string
	Event
}

type Rank added in v0.1.3

type Rank struct {
	CQC        float64
	Combat     float64
	Empire     float64
	Explore    float64
	Federation float64
	Trade      float64
	Event
}

type ReceiveText added in v0.1.3

type ReceiveText struct {
	Channel          string
	From             string
	Message          string
	MessageLocalised string `json:"Message_Localised,omitempty"`
	Event
}

type RedeemVoucher added in v0.1.3

type RedeemVoucher struct {
	Amount   float64
	Factions []struct {
		Amount  float64
		Faction string
	}
	Type string
	Event
}

type RefuelAll added in v0.1.3

type RefuelAll struct {
	Amount float64
	Cost   float64
	Event
}

type RenameSuitLoadout added in v0.1.3

type RenameSuitLoadout struct {
	LoadoutID         float64
	LoadoutName       string
	SuitID            float64
	SuitName          string
	SuitNameLocalised string `json:"SuitName_Localised,omitempty"`
	Event
}

type Repair added in v0.1.3

type Repair struct {
	Cost float64
	Item string
	Event
}

type RepairAll added in v0.1.3

type RepairAll struct {
	Cost float64
	Event
}

type RepairDrone added in v0.1.3

type RepairDrone struct {
	CockpitRepaired float64
	HullRepaired    float64
	Event
}

type Reputation added in v0.1.3

type Reputation struct {
	Event
}

type ReservoirReplenished added in v0.1.3

type ReservoirReplenished struct {
	FuelMain      float64
	FuelReservoir float64
	Event
}

type RestockVehicle added in v0.1.3

type RestockVehicle struct {
	Cost    float64
	Count   float64
	Loadout string
	Type    string
	Event
}

type Resurrect added in v0.1.3

type Resurrect struct {
	Bankrupt bool
	Cost     float64
	Option   string
	Event
}

type SAAScanComplete added in v0.1.3

type SAAScanComplete struct {
	BodyID           float64
	BodyName         string
	EfficiencyTarget float64
	ProbesUsed       float64
	Event
}

type SAASignalsFound added in v0.1.3

type SAASignalsFound struct {
	BodyID   float64
	BodyName string
	Signals  []struct {
		Count float64
		Type  string
	}
	SystemAddress float64
	Event
}

type Scan added in v0.1.3

type Scan struct {
	BodyID                float64
	BodyName              string
	DistanceFromArrivalLS float64
	Parents               []struct {
		Ring float64
	}
	ScanType string
	Event
}

type Scanned added in v0.1.3

type Scanned struct {
	ScanType string
	Event
}

type SelfDestruct added in v0.1.3

type SelfDestruct struct {
	Event
}

type SellDrones added in v0.1.3

type SellDrones struct {
	Count     float64
	SellPrice float64
	TotalSale float64
	Type      string
	Event
}

type SellExplorationData added in v0.1.3

type SellExplorationData struct {
	BaseValue     float64
	Bonus         float64
	Discovered    []interface{}
	Systems       []string
	TotalEarnings float64
	Event
}

type SellSuit added in v0.1.3

type SellSuit struct {
	LocalizedValue
	Price    float64
	SuitID   float64
	SuitMods []interface{}
	Event
}

type SellWeapon added in v0.1.3

type SellWeapon struct {
	Class float64
	LocalizedValue
	Price        float64
	SuitModuleID float64
	WeaponMods   []interface{}
	Event
}

type SendText added in v0.1.3

type SendText struct {
	Message string
	To      string
	Event
}

type SetUserShipName added in v0.1.3

type SetUserShipName struct {
	Ship         string
	ShipID       float64
	UserShipId   string
	UserShipName string
	Event
}

type SharedBookmarkToSquadron added in v0.1.3

type SharedBookmarkToSquadron struct {
	SquadronName string
	Event
}

type ShieldState added in v0.1.3

type ShieldState struct {
	ShieldsUp bool
	Event
}

type ShipLocker added in v0.1.3

type ShipLocker struct {
	Components  []OwnedItem
	Consumables []OwnedItem
	Data        []interface{}
	Items       []OwnedItem
	Event
}

type ShipLockerMaterials added in v0.1.3

type ShipLockerMaterials struct {
	Components  []interface{}
	Consumables []interface{}
	Data        []interface{}
	Items       []interface{}
	Event
}

type ShipTargeted added in v0.1.3

type ShipTargeted struct {
	Bounty             float64
	Faction            string
	HullHealth         float64
	LegalStatus        string
	PilotName          string
	PilotNameLocalised string `json:"PilotName_Localised,omitempty"`
	PilotRank          string
	ScanStage          float64
	ShieldHealth       float64
	Ship               string
	ShipLocalised      string `json:"Ship_Localised,omitempty"`
	TargetLocked       bool
	Event
}

type Shipyard added in v0.1.3

type Shipyard struct {
	MarketID    float64
	StarSystem  string
	StationName string
	Event
}

type ShipyardBuy added in v0.1.3

type ShipyardBuy struct {
	MarketID     float64
	ShipPrice    float64
	ShipType     string
	StoreOldShip string
	StoreShipID  float64
	Event
}

type ShipyardNew added in v0.1.3

type ShipyardNew struct {
	NewShipID float64
	ShipType  string
	Event
}

type ShipyardSell added in v0.1.3

type ShipyardSell struct {
	MarketID     float64
	SellShipID   float64
	ShipMarketID float64
	ShipPrice    float64
	ShipType     string
	System       string
	Event
}

type ShipyardSwap added in v0.1.3

type ShipyardSwap struct {
	MarketID     float64
	ShipID       float64
	ShipType     string
	StoreOldShip string
	StoreShipID  float64
	Event
}

type ShipyardTransfer added in v0.1.3

type ShipyardTransfer struct {
	Distance      float64
	MarketID      float64
	ShipID        float64
	ShipMarketID  float64
	ShipType      string
	System        string
	TransferPrice float64
	TransferTime  float64
	Event
}

type Shutdown added in v0.1.3

type Shutdown struct {
	Event
}

type SquadronCreated added in v0.1.3

type SquadronCreated struct {
	SquadronName string
	Event
}

type SquadronStartup added in v0.1.3

type SquadronStartup struct {
	CurrentRank  float64
	SquadronName string
	Event
}

type StartJump added in v0.1.3

type StartJump struct {
	JumpType      string
	StarClass     string
	StarSystem    string
	SystemAddress float64
	Event
}

type Statistics

type Statistics struct {
	Event
	BankAccount struct {
		CurrentWealth          Cost `json:"Current_Wealth,omitempty"`
		SpentOnShips           Cost `json:"Spent_On_Ships,omitempty"`
		SpentOnOutfitting      Cost `json:"Spent_On_Outfitting,omitempty"`
		SpentOnRepairs         Cost `json:"Spent_On_Repairs,omitempty"`
		SpentOnFuel            Cost `json:"Spent_On_Fuel,omitempty"`
		SpentOnAmmoConsumables Cost `json:"Spent_On_Ammo_Consumables,omitempty"`
		InsuranceClaims        int  `json:"Insurance_Claims,omitempty"`
		SpentOnInsurance       Cost `json:"Spent_On_Insurance,omitempty"`
		OwnedShipCount         int  `json:"Owned_Ship_Count,omitempty"`
	} `json:"Bank_Account,omitempty"`
	Combat struct {
		BountiesClaimed      int `json:"Bounties_Claimed,omitempty"`
		BountyHuntingProfit  int `json:"Bounty_Hunting_Profit,omitempty"`
		CombatBonds          int `json:"Combat_Bonds,omitempty"`
		CombatBondProfits    int `json:"Combat_Bond_Profits,omitempty"`
		Assassinations       int `json:"Assassinations,omitempty"`
		AssassinationProfits int `json:"Assassination_Profits,omitempty"`
		HighestSingleReward  int `json:"Highest_Single_Reward,omitempty"`
		SkimmersKilled       int `json:"Skimmers_Killed,omitempty"`
	} `json:"Combat,omitempty"`
	Crime struct {
		Notoriety        int  `json:"Notoriety,omitempty"`
		Fines            int  `json:"Fines,omitempty"`
		TotalFines       Cost `json:"Total_Fines,omitempty"`
		BountiesReceived int  `json:"Bounties_Received,omitempty"`
		TotalBounties    Cost `json:"Total_Bounties,omitempty"`
		HighestBounty    Cost `json:"Highest_Bounty,omitempty"`
	} `json:"Crime,omitempty"`
	Smuggling struct {
		BlackMarketsTradedWith   int  `json:"Black_Markets_Traded_With,omitempty"`
		BlackMarketsProfits      Cost `json:"Black_Markets_Profits,omitempty"`
		ResourcesSmuggled        int  `json:"Resources_Smuggled,omitempty"`
		AverageProfit            Cost `json:"Average_Profit,omitempty"`
		HighestSingleTransaction Cost `json:"Highest_Single_Transaction,omitempty"`
	} `json:"Smuggling,omitempty"`
	Trading struct {
		MarketsTradedWith        int  `json:"Markets_Traded_With,omitempty"`
		MarketProfits            Cost `json:"Market_Profits,omitempty"`
		ResourcesTraded          int  `json:"Resources_Traded,omitempty"`
		AverageProfit            Cost `json:"Average_Profit,omitempty"`
		HighestSingleTransaction Cost `json:"Highest_Single_Transaction,omitempty"`
	} `json:"Trading,omitempty"`
	Mining struct {
		MiningProfits      Cost `json:"Mining_Profits,omitempty"`
		QuantityMined      int  `json:"Quantity_Mined,omitempty"`
		MaterialsCollected int  `json:"Materials_Collected,omitempty"`
	} `json:"Mining,omitempty"`
	Exploration struct {
		SystemsVisited            int     `json:"Systems_Visited,omitempty"`
		ExplorationProfits        Cost    `json:"Exploration_Profits,omitempty"`
		PlanetsScannedToLevel2    int     `json:"Planets_Scanned_To_Level_2,omitempty"`
		PlanetsScannedToLevel3    int     `json:"Planets_Scanned_To_Level_3,omitempty"`
		EfficientScans            int     `json:"Efficient_Scans,omitempty"`
		HighestPayout             Cost    `json:"Highest_Payout,omitempty"`
		TotalHyperspaceDistance   int     `json:"Total_Hyperspace_Distance,omitempty"`
		TotalHyperspaceJumps      int     `json:"Total_Hyperspace_Jumps,omitempty"`
		GreatestDistanceFromStart float64 `json:"Greatest_Distance_From_Start,omitempty"`
		TimePlayed                int     `json:"Time_Played,omitempty"`
	} `json:"Exploration,omitempty"`
	Passengers struct {
		PassengersMissionsAccepted    int `json:"Passengers_Missions_Accepted,omitempty"`
		PassengersMissionsDisgruntled int `json:"Passengers_Missions_Disgruntled,omitempty"`
		PassengersMissionsBulk        int `json:"Passengers_Missions_Bulk,omitempty"`
		PassengersMissionsVIP         int `json:"Passengers_Missions_VIP,omitempty"`
		PassengersMissionsDelivered   int `json:"Passengers_Missions_Delivered,omitempty"`
		PassengersMissionsEjected     int `json:"Passengers_Missions_Ejected,omitempty"`
	} `json:"Passengers,omitempty"`
	SearchAndRescue struct {
		SearchRescueTraded int  `json:"SearchRescue_Traded,omitempty"`
		SearchRescueProfit Cost `json:"SearchRescue_Profit,omitempty"`
		SearchRescueCount  int  `json:"SearchRescue_Count,omitempty"`
	} `json:"Search_And_Rescue,omitempty"`
	Crafting struct {
		CountOfUsedEngineers                      int  `json:"Count_Of_Used_Engineers,omitempty"`
		RecipesGenerated                          int  `json:"Recipes_Generated,omitempty"`
		RecipesGeneratedRank1                     int  `json:"Recipes_Generated_Rank_1,omitempty"`
		RecipesGeneratedRank2                     int  `json:"Recipes_Generated_Rank_2,omitempty"`
		RecipesGeneratedRank3                     int  `json:"Recipes_Generated_Rank_3,omitempty"`
		RecipesGeneratedRank4                     int  `json:"Recipes_Generated_Rank_4,omitempty"`
		RecipesGeneratedRank5                     int  `json:"Recipes_Generated_Rank_5,omitempty"`
		RecipesApplied                            int  `json:"Recipes_Applied,omitempty"`
		RecipesAppliedRank1                       int  `json:"Recipes_Applied_Rank_1,omitempty"`
		RecipesAppliedRank2                       int  `json:"Recipes_Applied_Rank_2,omitempty"`
		RecipesAppliedRank3                       int  `json:"Recipes_Applied_Rank_3,omitempty"`
		RecipesAppliedRank4                       int  `json:"Recipes_Applied_Rank_4,omitempty"`
		RecipesAppliedRank5                       int  `json:"Recipes_Applied_Rank_5,omitempty"`
		SpentOnCrafting                           Cost `json:"Spent_On_Crafting,omitempty"`
		RecipesAppliedOnPreviouslyModifiedModules int  `json:"Recipes_Applied_On_Previously_Modified_Modules,omitempty"`
	} `json:"Crafting,omitempty"`
	Crew struct {
		NpcCrewTotalWages Cost `json:"NpcCrew_TotalWages,omitempty"`
		NpcCrewHired      int  `json:"NpcCrew_Hired,omitempty"`
		NpcCrewFired      int  `json:"NpcCrew_Fired,omitempty"`
		NpcCrewDied       int  `json:"NpcCrew_Died,omitempty"`
	} `json:"Crew,omitempty"`
	Multicrew struct {
		MulticrewTimeTotal        int  `json:"Multicrew_Time_Total,omitempty"`
		MulticrewGunnerTimeTotal  int  `json:"Multicrew_Gunner_Time_Total,omitempty"`
		MulticrewFighterTimeTotal int  `json:"Multicrew_Fighter_Time_Total,omitempty"`
		MulticrewCreditsTotal     Cost `json:"Multicrew_Credits_Total,omitempty"`
		MulticrewFinesTotal       Cost `json:"Multicrew_Fines_Total,omitempty"`
	} `json:"Multicrew,omitempty"`
	MaterialTraderStats struct {
		TradesCompleted int `json:"Trades_Completed,omitempty"`
		MaterialsTraded int `json:"Materials_Traded,omitempty"`
	} `json:"Material_Trader_Stats,omitempty"`
	CQC struct {
		CQCCreditsEarned Cost    `json:"CQC_Credits_Earned,omitempty"`
		CQCTimePlayed    int     `json:"CQC_Time_Played,omitempty"`
		CQCKD            float64 `json:"CQC_KD,omitempty"`
		CQCKills         int     `json:"CQC_Kills,omitempty"`
		CQCWL            float64 `json:"CQC_WL,omitempty"`
	} `json:"CQC,omitempty"`
}

Statistics Statistics

type StoredModules added in v0.1.3

type StoredModules struct {
	Items       []interface{}
	MarketID    float64
	StarSystem  string
	StationName string
	Event
}

type StoredShips added in v0.1.3

type StoredShips struct {
	MarketID    float64
	ShipsHere   []interface{}
	ShipsRemote []interface{}
	StarSystem  string
	StationName string
	Event
}

type SuitLoadout added in v0.1.3

type SuitLoadout struct {
	LoadoutID   float64
	LoadoutName string
	Modules     []struct {
		ModuleName          string
		ModuleNameLocalised string `json:"ModuleName_Localised,omitempty"`
		SlotName            string
		SuitModuleID        float64
	}
	SuitID            float64
	SuitName          string
	SuitNameLocalised string `json:"SuitName_Localised,omitempty"`
	Event
}

type SupercruiseEntry added in v0.1.3

type SupercruiseEntry struct {
	StarSystem    string
	SystemAddress float64
	Event
}

type SupercruiseExit added in v0.1.3

type SupercruiseExit struct {
	Body          string
	BodyID        float64
	BodyType      string
	StarSystem    string
	SystemAddress float64
	Event
}

type SwitchSuitLoadout added in v0.1.3

type SwitchSuitLoadout struct {
	LoadoutID   float64
	LoadoutName string
	Modules     []struct {
		ModuleName          string
		ModuleNameLocalised string `json:"ModuleName_Localised,omitempty"`
		SlotName            string
		SuitModuleID        float64
	}
	SuitID            float64
	SuitName          string
	SuitNameLocalised string `json:"SuitName_Localised,omitempty"`
	Event
}

type Synthesis added in v0.1.3

type Synthesis struct {
	Materials []LocalizedValue
	Name      string
	Event
}

type Touchdown added in v0.1.3

type Touchdown struct {
	Latitude         float64
	Longitude        float64
	PlayerControlled bool
	Event
}

type TransferMicroResources added in v0.1.3

type TransferMicroResources struct {
	Transfers []struct {
		Category string
		LocalizedValue
		Direction string
	}
	Event
}

type USSDrop added in v0.1.3

type USSDrop struct {
	USSThreat        float64
	USSType          string
	USSTypeLocalised string `json:"USSType_Localised,omitempty"`
	Event
}

type UnderAttack added in v0.1.3

type UnderAttack struct {
	Target string
	Event
}

type Undocked added in v0.1.3

type Undocked struct {
	MarketID    float64
	StationName string
	StationType string
	Event
}

type UseConsumable added in v0.1.3

type UseConsumable struct {
	LocalizedValue
	Type string
	Event
}

type VehicleSwitch added in v0.1.3

type VehicleSwitch struct {
	To string
	Event
}

type WingAdd added in v0.1.3

type WingAdd struct {
	Name string
	Event
}

type WingInvite added in v0.1.3

type WingInvite struct {
	Name string
	Event
}

type WingJoin added in v0.1.3

type WingJoin struct {
	Others []interface{}
	Event
}

type WingLeave added in v0.1.3

type WingLeave struct {
	Event
}

Jump to

Keyboard shortcuts

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