systems_mapped

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: GPL-3.0 Imports: 8 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
}

type Config

type Config struct {
	SystemsMap *lower_map.KeyLoweredMap[string, *System]
	Systems    []*System
}

func (*Config) Read

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

func (*Config) Write

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

type System

type System struct {
	semantic.ConfigModel
	Nickname    string
	Bases       []*Base
	BasesByNick *lower_map.KeyLoweredMap[string, *Base]
	BasesByBase *lower_map.KeyLoweredMap[string, *Base]
}

Jump to

Keyboard shortcuts

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