account

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type BugReport

type BugReport struct {
	Suggestion bool
}

type Cache

type Cache uint32
const (
	GlobalConfigCache Cache = 1 << iota
	CharacterConfigCache
	GlobalBindingsCache
	CharacterBindingsCache
	GlobalMacrosCache
	CharacterMacrosCache
	CharacterLayoutCache
	CharacterChatCache
)

type CacheHash

type CacheHash [16]byte

An MD5 hash for a wdb cache

type ClientUpdateData

type ClientUpdateData struct {
	UpdateData
}

func (*ClientUpdateData) Decode

func (clupd8 *ClientUpdateData) Decode(build vsn.Build, in *packet.WorldPacket) error

type DataTimes

type DataTimes struct {
	Time        time.Time
	Activated   bool
	Mask        Cache
	CacheHashes []CacheHash
	Times       [32]uint32
}

DataTimes seems to govern what the hashes are for a client's WDB cache This is necessary to get logged in correctly + and begin recording cache data

func (*DataTimes) Decode

func (d *DataTimes) Decode(build vsn.Build, in *packet.WorldPacket) error

func (*DataTimes) Encode

func (d *DataTimes) Encode(build vsn.Build, out *packet.WorldPacket) error

type GMTicket

type GMTicket struct {
}

type PlayedTime

type PlayedTime struct {
	TotalTime time.Duration
	LevelTime time.Duration
}

func (*PlayedTime) Encode

func (pt *PlayedTime) Encode(build vsn.Build, out *packet.WorldPacket) error

type PlayedTimeRequest

type PlayedTimeRequest struct {
}

func (*PlayedTimeRequest) Decode

func (ptr *PlayedTimeRequest) Decode(build vsn.Build, in *packet.WorldPacket) error

type TutorialFlags

type TutorialFlags struct {
	Mask [8]uint32
}

func (*TutorialFlags) Encode

func (tf *TutorialFlags) Encode(build vsn.Build, out *packet.WorldPacket) error

func (*TutorialFlags) SetAll

func (tf *TutorialFlags) SetAll()

func (*TutorialFlags) SetBit

func (tf *TutorialFlags) SetBit(index int, val bool)

type UpdateData

type UpdateData struct {
	AccountDataType int32
	Time            uint32
}

func (*UpdateData) Decode

func (upd8 *UpdateData) Decode(build vsn.Build, in *packet.WorldPacket) error

Jump to

Keyboard shortcuts

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