Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinates ¶
type Coordinates struct {
X, Y, Z int
System string // suffix for multi-star system, A...Z
Orbit int
Ring int // orbital ring 0..127 (0 means on surface)
}
func (Coordinates) MarshalJSON ¶
func (c Coordinates) MarshalJSON() ([]byte, error)
MarshalJSON implements the Marshaler interface.
func (Coordinates) String ¶
func (c Coordinates) String() string
func (*Coordinates) UnmarshalJSON ¶
func (c *Coordinates) UnmarshalJSON(b []byte) error
UnmarshalJSON implements the Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.