Documentation ¶
Overview ¶
generated with go run gen/main.go
Index ¶
Constants ¶
View Source
const ( Major = 0 Minor = 5 Patch = 0 Quality = `a` BuildNo = 19 )
View Source
const ScmNo = 14
Variables ¶
View Source
var (
LogCfg c4hgol.LogConfig = log
)
View Source
var ScmDefs = []string{
approachsettlementSchema,
blackmarketSchema,
codexentrySchema,
commoditySchema,
fssallbodiesfoundSchema,
fssbodysignalsSchema,
fssdiscoveryscanSchema,
fsssignaldiscoveredSchema,
journalSchema,
navbeaconscanSchema,
navrouteSchema,
outfittingSchema,
scanbarycentreSchema,
shipyardSchema,
}
View Source
var ScmMap = map[string]ScmID{ "https://eddn.edcd.io/schemas/approachsettlement/1": Sapproachsettlement, "https://eddn.edcd.io/schemas/blackmarket/1": Sblackmarket, "https://eddn.edcd.io/schemas/codexentry/1": Scodexentry, "https://eddn.edcd.io/schemas/commodity/3": Scommodity, "https://eddn.edcd.io/schemas/fssallbodiesfound/1": Sfssallbodiesfound, "https://eddn.edcd.io/schemas/fssbodysignals/1": Sfssbodysignals, "https://eddn.edcd.io/schemas/fssdiscoveryscan/1": Sfssdiscoveryscan, "https://eddn.edcd.io/schemas/fsssignaldiscovered/1": Sfsssignaldiscovered, "https://eddn.edcd.io/schemas/journal/1": Sjournal, "https://eddn.edcd.io/schemas/navbeaconscan/1": Snavbeaconscan, "https://eddn.edcd.io/schemas/navroute/1": Snavroute, "https://eddn.edcd.io/schemas/outfitting/2": Soutfitting, "https://eddn.edcd.io/schemas/scanbarycentre/1": Sscanbarycentre, "https://eddn.edcd.io/schemas/shipyard/2": Sshipyard, }
View Source
var ScmURLs = []string{
"https://eddn.edcd.io/schemas/approachsettlement/1",
"https://eddn.edcd.io/schemas/blackmarket/1",
"https://eddn.edcd.io/schemas/codexentry/1",
"https://eddn.edcd.io/schemas/commodity/3",
"https://eddn.edcd.io/schemas/fssallbodiesfound/1",
"https://eddn.edcd.io/schemas/fssbodysignals/1",
"https://eddn.edcd.io/schemas/fssdiscoveryscan/1",
"https://eddn.edcd.io/schemas/fsssignaldiscovered/1",
"https://eddn.edcd.io/schemas/journal/1",
"https://eddn.edcd.io/schemas/navbeaconscan/1",
"https://eddn.edcd.io/schemas/navroute/1",
"https://eddn.edcd.io/schemas/outfitting/2",
"https://eddn.edcd.io/schemas/scanbarycentre/1",
"https://eddn.edcd.io/schemas/shipyard/2",
}
Functions ¶
This section is empty.
Types ¶
type CodexMsg ¶
type CodexMsg struct { EntryID int64 SystemAddress int64 StarPos [3]float32 Region int16 Name string Category string SubCategory string BodyID int16 BodyName string Latitude float32 Longitude float32 // contains filtered or unexported fields }
func (*CodexMsg) SystemName ¶
func (m *CodexMsg) SystemName() string
type CommodityMsg ¶
type FSSDiscoScanMsg ¶
type FSSDiscoScanMsg struct { SystemAddress int64 StarPos [3]float32 BodyCount int16 NonBodyCount int16 // contains filtered or unexported fields }
func (*FSSDiscoScanMsg) SystemName ¶
func (m *FSSDiscoScanMsg) SystemName() string
type Header ¶
type JournalMsg ¶
type JournalMsg struct { SystemAddr int64 StarPos [3]float64 Event string ggja.Obj // contains filtered or unexported fields }
func (*JournalMsg) SystemName ¶
func (m *JournalMsg) SystemName() string
type ScmID ¶
type ScmID int
const ( Sapproachsettlement ScmID = 0 Sblackmarket ScmID = 1 Scodexentry ScmID = 2 Scommodity ScmID = 3 Sfssallbodiesfound ScmID = 4 Sfssbodysignals ScmID = 5 Sfssdiscoveryscan ScmID = 6 Sfsssignaldiscovered ScmID = 7 Sjournal ScmID = 8 Soutfitting ScmID = 11 Sscanbarycentre ScmID = 12 Sshipyard ScmID = 13 )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.