item

package
v0.0.0-...-4515e61 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config map[string]*ConfigEntry

Config of available virtual GTA5 items

func FromConfig

func FromConfig(filepath string) (Config, error)

FromConfig parses a config from a given file

type ConfigEntry

type ConfigEntry struct {
	Weight    float64 `json:"weight"`
	MaxSubset float64 `json:"max_subset"`
}

ConfigEntry is a config entry of a virtual GTA5 item

Jump to

Keyboard shortcuts

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