systems_mapped

package
v0.51.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const (
	KEY_OBJECT   = "[Object]"
	KEY_NICKNAME = "nickname"
	KEY_BASE     = "base"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	semantic.Model
	Nickname *semantic.String
	Base     *semantic.String // base.nickname in universe.ini
	DockWith *semantic.String

	IDsInfo     *semantic.Int
	IdsName     *semantic.Int
	RepNickname *semantic.String
	Pos         *semantic.Vect
}

type Config

type Config struct {
	SystemsMap map[string]*System
	Systems    []*System
}

func Read added in v0.7.0

func Read(universe_config *universe_mapped.Config, filesystem *filefind.Filesystem) *Config

func (*Config) Write

func (frelconfig *Config) Write() []*file.File

type FileRead added in v0.17.0

type FileRead struct {
	// contains filtered or unexported fields
}

type System

type System struct {
	semantic.ConfigModel
	Nickname     string
	Bases        []*Base
	BasesByNick  map[string]*Base
	BasesByBases map[string][]*Base
}

Jump to

Keyboard shortcuts

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