Documentation ¶
Overview ¶
Package vsn provides utilities for handling protocol versions, as well as Gophercraft software versions.
Index ¶
Constants ¶
View Source
const NewAuthSystem = V8_3_0
View Source
const NewCryptSystem = V8_3_0
Variables ¶
View Source
var ( CoreVersion = "0.4" ErrInvalidPath = fmt.Errorf("vsn: invalid game path") )
Functions ¶
func PrintBanner ¶
func PrintBanner()
Types ¶
type Build ¶
type Build uint32
func DetectGame ¶
func (Build) ClientVersion ¶
func (b Build) ClientVersion() *realmlist.ClientVersion
func (Build) VersionData ¶
(legacy auth protocol) Returns a 3-byte field describing the version data. For instance, version 3.3.5 would return []byte{ 3, 3, 5 }
type VolumeType ¶
type VolumeType uint8
const ( NotAVolume VolumeType = iota MPQ NGDP )
func DetectVolumeLocation ¶
func DetectVolumeLocation(folder string) (VolumeType, string, error)
Click to show internal directories.
Click to hide internal directories.