initialworld

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILENAME = "initialworld.ini"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*iniload.IniLoader

	Groups    []*Group
	GroupsMap map[string]*Group
}

func Read

func Read(input_file *iniload.IniLoader) *Config

func (*Config) Write

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

type Group

type Group struct {
	semantic.Model

	Nickname *semantic.String
	IdsName  *semantic.Int
	IdsInfo  *semantic.Int

	IdsShortName  *semantic.Int
	Relationships []*Relationship
}

type Relationship added in v0.13.0

type Relationship struct {
	semantic.Model

	Rep            *semantic.Float
	TargetNickname *semantic.String
}

Jump to

Keyboard shortcuts

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