shared

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadDataTo added in v0.1.1

func ReadDataTo(path string, p PlayerData) error

Types

type ExperienceTable

type ExperienceTable []experienceTable

func BuildExperienceTable

func BuildExperienceTable() *ExperienceTable

func (*ExperienceTable) Level

func (E *ExperienceTable) Level(xp uint64) int

type MetaResources

type MetaResources struct {
	MetaRow string `json:"MetaRow"`
	Count   int    `json:"Count"`
}

type Metadata added in v0.1.1

type Metadata struct {
	FileName string `json:"-"`
	Path     string `json:"-"`
}

type PlayerData added in v0.1.1

type PlayerData interface {
	Read() error
	ReadF(io.Reader) error
	Write() error
	WriteF(io.Writer) error
}

type Talents

type Talents struct {
	RowName string `json:"RowName"`
	Rank    int    `json:"Rank"`
}

Jump to

Keyboard shortcuts

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