-
Notifications
You must be signed in to change notification settings - Fork 0
CategoryInput
Imported from @elite-dangerous-almanac/galaxy-map.
What a host passes to addCategories. The type states the contract and the reader
holds it: every field is still checked at run time, because the data comes from a
file or a network call the compiler does not see.
The index signature lets a record carry fields the reader drops, so a caller does not have to strip a dump record first.
[
field:string]:unknown
A field the reader drops.
readonlycolor: readonly [number,number,number]
Red, green and blue, each from 0 to 255.
readonlyoptionaldescription?:string
What the HUD shows about the category.
readonlyoptionalmarkerStyle?:MarkerStyle
The shape the markers of the category draw in. The default is glow.
readonlyoptionalmaxDrawRange?:number
How far the camera comes from a system before its marker stops, in light years.
readonlyname:string
The identity of the category.
Examples
Interfaces
- AddReport
- Category
- CategoryInput
- CategoryReject
- CategoryReport
- DatasetContent
- DatasetEntry
- DatasetInfo
- DatasetLoadResult
- FlyToOptions
- FlyToTarget
- FragmentWriter
- FragmentWriterOptions
- GalaxyMap
- GalaxyMapOptions
- HudAction
- HudHandle
- HudInfoFields
- HudOptions
- InteractionSwitches
- Line
- LineInput
- MapView
- NebulaSource
- RealSystem
- Reject
- ResolvedIcon
- ShapeInfo
- ShapeReject
- ShapeReport
- Sphere
- SphereInput
- StartView
- SystemDetailValue
- SystemDetails
- SystemImage
- SystemRecordInput