Documentation ¶
Index ¶
- Constants
- type ApproachBody
- type ApproachSettlement
- type Cargo
- type CargoItem
- type CarrierJump
- type CarrierJumpCancelled
- type CarrierJumpRequest
- type Commander
- type Docked
- type FSDJump
- type FSSDiscoveryScan
- type Faction
- type Fileheader
- type LeaveBody
- type LoadGame
- type Loadout
- type Location
- type Material
- type MaterialCollected
- type Materials
- type Progress
- type Rank
- type Reputation
- type SLMaterial
- type SSysInfo
- type Scan
- type ScanMaterial
- type ScanRing
- type SellShipOnRebuy
- type SetUserShipName
- type ShipLockerMaterials
- type ShipModule
- type ShipTargeted
- type ShipyardBuy
- type ShipyardNew
- type ShipyardSell
- type ShipyardSwap
- type Shutdown
- type SupercruiseEntry
- type SupercruiseExit
- type Undocked
Constants ¶
View Source
const ApproachBodyEvent = approachbodyT("ApproachBody")
View Source
const ApproachSettlementEvent = approachsettlementT("ApproachSettlement")
View Source
const CargoEvent = cargoT("Cargo")
View Source
const CarrierJumpCancelledEvent = carrierjumpcancelledT("CarrierJumpCancelled")
View Source
const CarrierJumpEvent = carrierjumpT("CarrierJump")
View Source
const CarrierJumpRequestEvent = carrierjumprequestT("CarrierJumpRequest")
View Source
const CommanderEvent = commanderT("Commander")
View Source
const DockedEvent = dockedT("Docked")
View Source
const FSDJumpEvent = fsdjumpT("FSDJump")
View Source
const FSSDiscoveryScanEvent = fssdiscoveryscanT("FSSDiscoveryScan")
View Source
const FileheaderEvent = fileheaderT("Fileheader")
View Source
const LeaveBodyEvent = leavebodyT("LeaveBody")
View Source
const LoadGameEvent = loadgameT("LoadGame")
View Source
const LoadoutEvent = loadoutT("Loadout")
View Source
const LocationEvent = locationT("Location")
View Source
const MaterialCollectedEvent = materialcollectedT("MaterialCollected")
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 ShipLockerMaterialsEvent = shiplockermaterialsT("ShipLockerMaterials")
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 SupercruiseEntryEvent = supercruiseentryT("SupercruiseEntry")
View Source
const SupercruiseExitEvent = supercruiseexitT("SupercruiseExit")
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 }
func (*ApproachBody) EventType ¶
func (_ *ApproachBody) EventType() events.Type
type ApproachSettlement ¶
type ApproachSettlement struct { events.Common SystemAddress uint64 Body string BodyID int Name string Latitude float32 Longitude float32 }
func (*ApproachSettlement) EventType ¶
func (_ *ApproachSettlement) EventType() events.Type
type CarrierJump ¶
type CarrierJump struct { events.Common StationName string MarketID int64 // Same as CarrierID StarSystem string SystemAddress uint64 StarPos [3]float32 Body string BodyID int BodyType string }
func (*CarrierJump) EventType ¶
func (_ *CarrierJump) EventType() events.Type
type CarrierJumpCancelled ¶
func (*CarrierJumpCancelled) EventType ¶
func (_ *CarrierJumpCancelled) EventType() events.Type
type CarrierJumpRequest ¶
type CarrierJumpRequest struct { events.Common CarrierID int64 SystemName string SystemAddress uint64 Body string BodyID int }
func (*CarrierJumpRequest) EventType ¶
func (_ *CarrierJumpRequest) EventType() events.Type
type Docked ¶
type FSSDiscoveryScan ¶
type FSSDiscoveryScan struct { events.Common SystemAddress uint64 SystemName string BodyCount int NonBodyCount int }
func (*FSSDiscoveryScan) EventType ¶
func (_ *FSSDiscoveryScan) EventType() events.Type
type Fileheader ¶
type Fileheader struct { events.Common GameVersion string `json:"gameversion"` Odyssey bool Language string `json:"language"` }
func (*Fileheader) EventType ¶
func (_ *Fileheader) EventType() events.Type
type LeaveBody ¶
type LoadGame ¶
type Loadout ¶
type Loadout struct { events.Common Ship string ShipID int ShipName string ShipIdent string MaxJumpRange float32 CargoCapacity int Modules []ShipModule }
func (*Loadout) Slot ¶
func (l *Loadout) Slot(named string) *ShipModule
type Location ¶
type MaterialCollected ¶ added in v0.2.0
func (*MaterialCollected) EventType ¶ added in v0.2.0
func (_ *MaterialCollected) EventType() events.Type
type Progress ¶
type Rank ¶
type Reputation ¶
type Reputation struct { events.Common Alliance float32 Empire float32 Federation float32 Independent float32 }
func (*Reputation) EventType ¶
func (_ *Reputation) EventType() events.Type
type SLMaterial ¶
type SSysInfo ¶
type SSysInfo struct { SystemAddress uint64 StarSystem string StarPos [3]float32 SystemAllegiance string SystemEconomy1 string `json:"SystemEconomy"` SystemEconomy1L7d string `json:"SystemEconomy_Localised"` SystemEconomy2 string `json:"SystemSecondEconomy"` SystemEconomy2L7d string `json:"SystemSecondEconomy_Localised"` SystemGovernment string SystemGovernmentL7d string `json:"SystemGovernment_Localised"` SystemSecurity string SystemSecurityL7d string `json:"SystemSecurity_Localised"` Population int64 }
type Scan ¶
type Scan struct { events.Common SystemAddress uint64 StarSystem string ScanType string StarType string PlanetClass string BodyID int BodyName string Parents []ggja.BareObj DistanceFromArrivalLS float64 Landable bool Materials []ScanMaterial ReserveLevel string Rings []ScanRing WasDiscovered bool WasMapped bool }
type ScanMaterial ¶
type SellShipOnRebuy ¶
func (*SellShipOnRebuy) EventType ¶
func (_ *SellShipOnRebuy) EventType() events.Type
type SetUserShipName ¶
type SetUserShipName struct { events.Common Ship string ShipID int UserShipId string UserShipName string }
func (*SetUserShipName) EventType ¶
func (_ *SetUserShipName) EventType() events.Type
type ShipLockerMaterials ¶
type ShipLockerMaterials struct { events.Common Items []SLMaterial Components []SLMaterial Consumables []SLMaterial Data []SLMaterial }
func (*ShipLockerMaterials) EventType ¶
func (_ *ShipLockerMaterials) EventType() events.Type
type ShipModule ¶
func (*ShipModule) UnmarshalJSON ¶
func (m *ShipModule) UnmarshalJSON(data []byte) (err error)
type ShipTargeted ¶
func (*ShipTargeted) EventType ¶
func (_ *ShipTargeted) EventType() events.Type
type ShipyardBuy ¶
type ShipyardBuy struct { events.Common ShipType string ShipPrice int64 StoreShipID int SellShipID int }
func (*ShipyardBuy) EventType ¶
func (_ *ShipyardBuy) EventType() events.Type
type ShipyardNew ¶
type ShipyardNew struct { events.Common ShipType string ShipTypeL7d string `json:"ShipType_Localised"` NewShipID int }
func (*ShipyardNew) EventType ¶
func (_ *ShipyardNew) EventType() events.Type
type ShipyardSell ¶
func (*ShipyardSell) EventType ¶
func (_ *ShipyardSell) EventType() events.Type
type ShipyardSwap ¶
type ShipyardSwap struct { events.Common MarketID int64 ShipType string ShipTypeL7d string `json:"ShipType_Localised"` ShipID int StoreShipID int }
func (*ShipyardSwap) EventType ¶
func (_ *ShipyardSwap) EventType() events.Type
type SupercruiseEntry ¶
func (*SupercruiseEntry) EventType ¶
func (_ *SupercruiseEntry) EventType() events.Type
Source Files ¶
- approachbody.go
- approachsettlement.go
- cargo.go
- carrierjump.go
- carrierjumpcancelled.go
- carrierjumprequest.go
- commander.go
- docked.go
- fileheader.go
- fsdjump.go
- fssdiscoveryscan.go
- leavebody.go
- loadgame.go
- loadout.go
- location.go
- materialcollected.go
- materials.go
- progress.go
- rank.go
- reputation.go
- scan.go
- sellshiponrebuy.go
- setusershipname.go
- shiplockermaterials.go
- shiptargeted.go
- shipyardbuy.go
- shipyardnew.go
- shipyardsell.go
- shipyardswap.go
- shutdown.go
- supercruiseentry.go
- supercruiseexit.go
- undocked.go
Click to show internal directories.
Click to hide internal directories.