reg

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package reg implements cross-platform registry utilities for Warcraft III.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented = errors.New("reg: Method not implemented for platform")
)

Errors

Functions

func Delete

func Delete(key string) error

Delete key from registry

func ReadInt32

func ReadInt32(key string) (uint32, error)

ReadInt32 reads integer value from registry

func ReadInt64

func ReadInt64(key string) (uint64, error)

ReadInt64 reads integer value from registry

func ReadString

func ReadString(key string) (string, error)

ReadString reads string value from registry

func ReadStrings

func ReadStrings(key string) ([]string, error)

ReadStrings reads string list from registry

func WriteInt32

func WriteInt32(key string, val uint32) error

WriteInt32 writes integer value to registry

func WriteInt64

func WriteInt64(key string, val uint64) error

WriteInt64 writes integer value to registry

func WriteString

func WriteString(key string, val string) error

WriteString writes string value to registry

func WriteStrings

func WriteStrings(key string, val []string) error

WriteStrings writes string list to registry

Types

This section is empty.

Jump to

Keyboard shortcuts

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