journal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ApproachBodyEvent = approachbodyT("ApproachBody")
View Source
const ApproachSettlementEvent = approachsettlementT("ApproachSettlement")
View Source
const CommanderEvent = commanderT("Commander")
View Source
const DockedEvent = dockedT("Docked")
View Source
const FSDJumpEvent = fsdjumpT("FSDJump")
View Source
const FileheaderEvent = fileheaderT("Fileheader")
View Source
const LeaveBodyEvent = leavebodyT("LeaveBody")
View Source
const LoadoutEvent = loadoutT("Loadout")
View Source
const LocationEvent = locationT("Location")
View Source
const MaterialsEvent = materialsT("Materials")
View Source
const ProgressEvent = progressT("Progress")
View Source
const RankEvent = rankT("Rank")
View Source
const ReputationEvent = reputationT("Reputation")
View Source
const ScanEvent = scanT("Scan")
View Source
const SellShipOnRebuyEvent = sellshiponrebuyT("SellShipOnRebuy")
View Source
const SetUserShipNameEvent = setusershipnameT("SetUserShipName")
View Source
const ShipTargetedEvent = shiptargetedT("ShipTargeted")
View Source
const ShipyardBuyEvent = shipyardbuyT("ShipyardBuy")
View Source
const ShipyardNewEvent = shipyardnewT("ShipyardNew")
View Source
const ShipyardSellEvent = shipyardsellT("ShipyardSell")
View Source
const ShipyardSwapEvent = shipyardswapT("ShipyardSwap")
View Source
const ShutdownEvent = shutdownT("Shutdown")
View Source
const UndockedEvent = undockedT("Undocked")

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproachBody

type ApproachBody struct {
	events.Common
	StarSystem    string
	SystemAddress uint64
	Body          string
	BodyID        int
}

type ApproachSettlement

type ApproachSettlement struct {
	events.Common
	SystemAddress uint64
	Body          string
	BodyID        int
	Name          string
	Latitude      float32
	Longitude     float32
}

type Commander

type Commander struct {
	events.Common
	FID  string
	Name string
}

type Docked

type Docked struct {
	events.Common
	SystemAddress  uint64
	StarSystem     string
	StationName    string
	StationType    string
	DistFromStarLS float64
}

type FSDJump

type FSDJump struct {
	events.Common
	SystemAddress          uint64
	StarSystem             string
	StarPos                [3]float32
	JumpDist               float32
	Population             int64
	Body                   string
	BodyID                 int
	SystemEconomy          string
	SystemEconomyL7d       string `json:"SystemEconomy_Localised"`
	SystemSecondEconomy    string
	SystemSecondEconomyL7d string `json:"SystemSecondEconomy_Localised"`
	SystemSecurity         string
	SystemSecurityL7d      string `json:"SystemSecurity_Localised"`
}

type Fileheader

type Fileheader struct {
	events.Common
	GameVersion string `json:"gameversion"`
	Language    string `json:"language"`
}

type LeaveBody

type LeaveBody struct {
	events.Common
	StarSystem    string
	SystemAddress uint64
	Body          string
	BodyID        int
}

type Loadout

type Loadout struct {
	events.Common
	Ship          string
	ShipID        int
	ShipName      string
	ShipIdent     string
	MaxJumpRange  float32
	CargoCapacity int
}

type Location

type Location struct {
	events.Common
	StarSystem    string
	SystemAddress uint64
	StarPos       [3]float32
	Docked        bool
	StationName   string
	StationType   string
}

type Material

type Material struct {
	Name    string
	NameL7d string `json:"Name_Localised,omitempty"`
	Count   int
}

type Materials

type Materials struct {
	events.Common
	Raw          []Material
	Manufactured []Material
	Encoded      []Material
}

type Progress

type Progress struct {
	events.Common
	Combat     int
	Trade      int
	Explore    int
	CQC        int
	Federation int
	Empire     int
}

type Rank

type Rank struct {
	events.Common
	Combat     int
	Trade      int
	Explore    int
	CQC        int
	Federation int
	Empire     int
}

type Reputation

type Reputation struct {
	events.Common
	Alliance    int
	Empire      int
	Federation  int
	Independent int
}

type Scan added in v0.2.0

type Scan struct {
	events.Common
	SystemAddress         uint64
	StarSystem            string
	ScanType              string
	BodyID                int
	BodyName              string
	Parents               []ggja.GenObj
	DistanceFromArrivalLS float64
	Landable              bool
	Materials             []ScanMaterial
	ReserveLevel          string
	WasDiscovered         bool
	WasMapped             bool
}

type ScanMaterial added in v0.2.0

type ScanMaterial struct {
	Name    string
	Percent float32
}

type SellShipOnRebuy

type SellShipOnRebuy struct {
	events.Common
	SellShipID int
	ShipPrice  int64
}

type SetUserShipName

type SetUserShipName struct {
	events.Common
	Ship         string
	ShipID       int
	UserShipId   string
	UserShipName string
}

type ShipTargeted

type ShipTargeted struct {
	events.Common
	Ship    string
	ShipL7d string `json:"Ship_Localised"`
}

type ShipyardBuy

type ShipyardBuy struct {
	events.Common
	ShipPrice   int64
	StoreShipID int
	SellShipID  int
}

type ShipyardNew

type ShipyardNew struct {
	events.Common
	NewShipID int
	ShipType  string
}

type ShipyardSell

type ShipyardSell struct {
	events.Common
	SellShipID int
	ShipPrice  int64
}

type ShipyardSwap

type ShipyardSwap struct {
	events.Common
	ShipID      int
	StoreShipID int
}

type Shutdown

type Shutdown struct{ events.Common }

type Undocked

type Undocked struct {
	events.Common
	StationName string
	StationType string
}

Jump to

Keyboard shortcuts

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