Skip to content

A library for reading the Old School Runescape cache.

License

Notifications You must be signed in to change notification settings

joeychilson/osrscache

Repository files navigation

osrscache

A Go library for reading the Old School Runescape cache.

Note: This library is still under development.

Usage

package main

import (
	"fmt"

	"github.com/joeychilson/osrscache"
)

func main() {
	cache, err := osrscache.NewCache("path/to/osrs/cache")
	if err != nil {
		panic(err)
	}
	defer cache.Close()

	items, err := cache.ItemDefinitions()
	if err != nil {
		panic(err)
	}

	item, err := items.Get(4151)
	if err != nil {
		panic(err)
	}

	fmt.Println(item)
}

Acknowledgements

About

A library for reading the Old School Runescape cache.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages